Give explicit error when models have different numbers of atoms.