Perhaps, you need to be more specific on what changes you made and for how long the model did run. If the model has successfully run for a while and stops at some point, the error could be not related to the model and the approach that you used. Rather the error may come from your input data: boundary data. Double check on that and I hope you will find the solution.