Hi Luis,
Well first of all you can check the simulation log file to retrieve some information regarding the Warnings that might have come before this error, which might help you understand the situation better.
In my case, I was able to solve this same error by increasing the number of cells in my mesh, (the same as decreasing the max area of the elements when creating the mesh). Also removing and simplifying some small tributaries in my river model, that had very small angles in the cells, that can cause some model instabilities.
You can check these possibly problematic cells by clicking the "analyze mesh" in the Mesh Generator.
Hope I've helped,
Cheers