error message below :
The generalized Schur (QZ) decomposition failed. For more information, see the documentation for
Lapack function dgges: info=30, n=31. You can also run model_diagnostics to get more information on
what may cause this problem.
however result from model_diagnostics(M_,options_,oo_) command tells :
No obvious problems with this mod-file were detected.
total code attached
ver1.mod (6.9 KB)