There must be one redundant and one missing equation:

[quote] the Jacobian of the static model is singular
there is 2 colinear relationships between the variables and the equations
Relation 1
Colinear variables:
rer2_1
tot2_1
totw_1
rer2_2
tot2_2
totw_2
rer1
rw
piw
Relation 2
Colinear variables:
rer2_1
tot2_1
totw_1
rer2_2
tot2_2
totw_2
rer1
rw
piw
Relation 1
Colinear equations
1 24 26 49