I solve a model and write code but when run receive following error:

heck whether your model in truly linear

Residuals of the static equations:

Equation number 1 : 0

Equation number 2 : 0

Equation number 3 : 0

Equation number 4 : NaN

Equation number 5 : 0

Equation number 6 : NaN

Equation number 7 : NaN

Equation number 8 : NaN

Equation number 9 : NaN

Equation number 10 : NaN

Equation number 11 : 0

Equation number 12 : NaN

Equation number 13 : 0

Equation number 14 : 0

please help

thanks`!`

stock.mod (2 KB)