MJDGGES returns the following error code

Hello,
Anyone knows where I can find interpretation of the “MJDGGES returns the following error code: ‘number’” error messages?

Thanks!

Kyriacos

The only way to find out why you’re getting a certain error code is to actually look in the code itself. Please post your mod file and I’ll try to do this for you.

Its long and complicated… but I appreciate any help. Thanks!

Kyriacos
jrT_NT_fixCapacity2.mod (25.2 KB)

The error is that the Jacobian matrix evaluated at the steady state contains elements that are not real or are infinite.

I have been working a bit on it, I erased all parameters that I did not use in the model since these parameters were entered as “NaN” in the “M_.params” matrices. Now, when I execute the file I get the message that there are 8 eigenvalues for 6 fwd looking variables. I run modelmodel_diagnostics(M_,options_,oo_) and it gives me the following:

model_diagnostic: the Jacobian of the static model is singular
there is 1 colinear relationships between the variables and the equations
Colinear variables:
c1
n1
k1
y1
i1
a1
b1
mi1
lamda1
phi1
cT1
cN1
yT1
yT_I1
yN1
kT1
kN1
nT1
nN1
ksi1
pi1
zita1
tau1
sigma1
c2
n2
k2
y2
i2
a2
b2
mi2
lamda2
phi2
cT2
cN2
yT2
yT_I2
yN2
kT2
kN2
nT2
nN2
ksi2
pi2
zita2
tau2
sigma2
Colinear equations
Columns 1 through 11

 1     2     3     4     5     6     7     8     9    10    11

Columns 12 through 22

12    13    14    15    16    17    18    19    20    21    22

Columns 23 through 33

23    24    25    26    27    28    29    30    33    34    37

Column 34

38

Any hints? thanks!

Kyriacos