That is true I have a subroutine but this error does happen rarely and I have simulated my other models with this subroutine without any problems. Interesting part is that If I rerun the model most probably I do not get the error (my experience for the same error). I have rerun this specific model, to see whether simulation stops at 35% again or not.
In fact rerunning this model is not a good approach as reaching by 35% takes one week.
The bin-file is the Adams database, which contains the model.
This model can be exported to an adm-file which you can run in the external solver - outside the Adams interface.
If you are running in the internal solver (within the Adams interface), the solution time will be longer. Especially if you have graphic update activated.
Nice. I did not know that. I always run my simulation within the Adams interface but graphic update is deactivated (still long running time, maybe one month). However I was not familiar with running outside the Adams interface. Would you please refer me to some sources, articles, where I can learn how to run in the external solver. That would be a great help to reduce simulations' running time.
Model can be exported by using "File - Export - Adams Solver Dataset"
And then you need to use the Windows Command Prompt to run the solver.
All this is covered in chapter 20 of the "Adams Basic Training" material.
Some further notes on the original issue:
If your model takes 3 weeks to run a simulation, then you may need to have a look at why this is so.
A general Adams model runs in minutes to hours, and a large Adams model with more than 400 parts and around 950 contacts may take a couple of days to run.
And maybe the long solver time is related to the possible error in the user subroutine, which gives you the occasional crash.