Small open economy model

Hello,
I'm trying to run the attached code. It's a small open economy model with 2 frictions: capital adjustment costs and government reversal expenditure. I closed the model by specifying a foreign debt elastic interest rate.
When running the code, I get this error message: "numerical initial values incompatible with the following equations 22". It weird since I don't see why the initial values (calculated by hands) should be incompatible.
Could anyone please help me?
Many thanks!
RT
I'm trying to run the attached code. It's a small open economy model with 2 frictions: capital adjustment costs and government reversal expenditure. I closed the model by specifying a foreign debt elastic interest rate.
When running the code, I get this error message: "numerical initial values incompatible with the following equations 22". It weird since I don't see why the initial values (calculated by hands) should be incompatible.
Could anyone please help me?
Many thanks!
RT