Error using print_info. The generalized schur (QZ) decomposition failed

Hi,
I am working on my model which produces the following error.
"
Error using print_info
The generalized Schur (QZ) decomposition failed. For more information, see the documentation for Lapack function dgges: info=30, n=10. You can also run model_diagnostics to get more information on
what may cause this problem.
Error in stoch_simul (line 120)
print_info(info, options_.noprint, options_);
Error in NK_com_endogenous2.driver (line 412)
[info, oo_, options_, M_] = stoch_simul(M_, options_, oo_, var_list_);
Error in dynare (line 281)
evalin(‘base’,[fname ‘.driver’]);
"
The mod file is attached.
I would be appreciated if someone could help me.
Thanks in advance !

my_model.mod (6.7 KB)

After you get the error you can run the model diagnostics command: model_diagnostics(M_,options_,oo_)

For your file, it says:

model_diagnostics(M_,options_,oo_)
MODEL_DIAGNOSTICS: The Jacobian of the static model is singular
MODEL_DIAGNOSTICS: there is 1 colinear relationships between the variables and the equations
Colinear variables:
C
N_M
N_C
Y
w_M
w_C
PI
Q
O
X1
X2
PISHARP
MC
YF
GAP
R
R_LN
Q_LN
PI_LN
Colinear equations
5 11 14 15

MODEL_DIAGNOSTICS: The presence of a singularity problem typically indicates that there is one
MODEL_DIAGNOSTICS: redundant equation entered in the model block, while another non-redundant equation
MODEL_DIAGNOSTICS: is missing. The problem often derives from Walras Law.