Generalized Schur (QZ) decomposition failed with no obvious problems

HI!

error message below :

Blockquote
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 :

Blockquote
No obvious problems with this mod-file were detected.

total code attached
ver1.mod (6.9 KB)

plz help!

I can only give you the generic advice. Try starting with a simpler model. The error message suggests a fundamental singularity or a numerical issue in your model. It may have to do with your heavy use of the steady_state() -operator, which is rather unusual and may obscure deeper issues.