Three-country DSGE model with an exogenous rest of the world

Increase maxit:

steady(maxit=1000);
More generally for your model, see my reply at [An infinite element was encountered)