Generalized Schur (QZ) decomposition failed info = 30 n= 32

Hello everyone, I’m new to the forum.

I’m trying to replicate a working paper on the shadow economy, however I encountered such a problem when running it:

The generalized Schur (QZ) decomposition failed. For more information, see the documentation for Lapack
function dgges: info=30, n=32. You can also run model_diagnostics to get more information on what may cause
this problem.

this is the dynare code i am working on

Colombo.mod (5.8 KB)

I can only give you the generic advice: check the model for timing errors and other mistakes. Dynare’s \LaTeX capabilities can aid the comparison to printed papers.

Dear professor, please help me

I cannot help you. Your model is simply too big. You need to simplify and proceed step by step to find out what the problem is.

Dear professor, I can run the model without exp, but not after adding exp ,What might be the problem.
nk.mod (12.4 KB)

Why are you even doing the exp()-substitution. It’s pretty much always unnecessary and overly complicated.