Nan in steady state

Attached is a mod file. I am not sure why I am getting Nan’s after solving. Can someone point out the reason I am getting Nan’s here.
slov_postPres_trials_homeInv_rigidity.mod (12.9 KB)

Your initival is missing


Otherwise you are dividing by 0.

Where am I dividing by 0? I do not find any variable where I have assigned 0 value.

You did not assign a value to y_bar in steady state via initval. So it is zero by default.