evaluate_steady_state.m: fix bug with block when static and dynamic models differ.

(partial cherry-pick of 7400c2c1431c1c4e24df638f3811605cdd1a715f)