Sanity check to prevent crash in Model::simulate.