Exit if the solver does not converge.
Read tol & maxits from simulationParametrs.yaml.