An element of the Jacobian is not finite or NaN

I am working on Econ thesis about the subsidy for the consumption. There are some problem with initial-block as the steady point ,but it always makes Jacobian contain inf or NAN. 
I have attached the code below. I am uncertain how to move forward following the error codes I am getting. Any help would be greatly appreciated.
Thank you!

I have attached the code below. I am uncertain how to move forward following the error codes I am getting. Any help would be greatly appreciated.
Thank you!