No Irfs & Moments for some endogenous variables

Dear everyone,

I’m working on a two sector DSGE model with labor market frictions and price rigidities . Since my model is log-linearized, the steady state values enter as parameters which I solve for in a corresponding steady state file (*twosecexonew_steadystate.m"). Within the steady state file, I employ Matlab’s fsolve to obtain the steady state values/parameters (see “ss_fun.m”).

However, Dynare doesn’t produce IRFs of some endogenous variables and also doesn’t compute the theoretical moments for those endogenous variables. If you have a look at the oo_.-structure, “oo_.irfs” as well as “oo_.var” contain NaNs. Does anyone know how to deal with this issue? I’m a bit puzzled since I have never seen such a problem before. I really appreciate any help you can provide.
ss_fun.m (3.02 KB)
twosecexonew_steadystate.m (2.6 KB)
twosecexonew.mod (5.95 KB)

Most importantly, model_diagnostics says

MODEL_DIAGNOSTICS: The following endogenous variables aren't present at the current period in the model: m

Thanks for your remark, Johannes. This helped me to trace my error.