Singular Jacobian in multicountry RBC

Using model_diagnostics, I get:

[quote]MODEL_DIAGNOSTICS: The Jacobian of the static model is singular
MODEL_DIAGNOSTICS: there is 1 colinear relationships between the variables and the equations
Colinear variables:
y_R
c_R
k_R
l_R
Debt_R
y_N
c_N
k_N
l_N
Debt_N
d
f
g
m
Colinear equations
18 19

MODEL_DIAGNOSTICS: The presence of a singularity problem typically indicates that there is one
MODEL_DIAGNOSTICS: redundant equation entered in the model block, while another non-redundant equation
MODEL_DIAGNOSTICS: is missing. The problem often derives from Walras Law.[/quote]

This may be related: [The rank condition ISN'T verified_1 colinear relationship)