+4 votes
424 views
in TyphoonSim by Zhi Li (19 points)
edited by Zhi Li

Model file: https://typhoon-hil.com/forum/?qa=blob&qa_blobid=10083761402219716609

When I run the simulation, there came an error saying "TyphoonSim.exe has stopped working" and there was no simulation executed, but the main window didn't close. 

2 Answers

+3 votes
by Milos Miletic (99 points)
selected by Dimitrije Jelić
 
Best answer
Hi Zhi,

As you can see in the console there is message that says "Simulation completed successfully". This message is sent just before simulation process end (TyphoonSim.exe). Hence, simulation actually completed. After this message, simulation process cleans up some memory locations that were used for the simulation. I just noticed that we have small issue in this piece of code.

Somehow, we didn't notice this issue in any PC (our dev PCs + customer PCs) because in our cases it seems that windows just successfully completed process and that is it. But in your case, Windows raises flag for this and hence you get that window.

We already fixed issue and it will be in the next software release. Anyways, you can ignore it - you can just click on "Close the program" and continue working. As I said, simulation itself is not affected. I know it will be a bit annoying to close this window after every simulation. Sorry for that inconvenience. I will also search over the internet to try to understand why your PC is reporting this while on our side it is not the case. If I find something that can help you overcome this issue, I will let you know.

Also, as soon as new release is out, please download it to avoid this annoying issue.

Best regards.
+2 votes
by Era Bajpai (282 points)
Dear Zhi Li,

Are you using the TyphoonSim(Beta version) software or Typhoon HIL Control Center 2024.4?
This will help to understand which software is creating the issue. This can happen due to unexpected function being executed in the software.
Try to restart the software and run the simulation again. If the issue persists, kindly attach the error message snapshot.

Best Regards.
by Zhi Li (19 points)
+1
Dear Dimitrije Jelić,

thank you for your swift reply. I'm using TyphoonSim V2024.4 sp1.

I have tried to restart and the error still appears.

The output console shows everything well. Only a separate window shows "TyphoonSim.exe has stopped working. A problem has caused the program to stop working correctly. Please close the program. " I will upload a screenshot.

Best regards.
by Era Bajpai (282 points)
+1
Dear Zhi Li,

I tried to reproduce the similar model at my end using 2024.4 SP1 but unable to get any error or pop-up. I can further recommend you to try and re-install the software once and then run the model again.

Regards.
by Zhi Li (19 points)
+1
Dear Era Bajpai,

Thank you for your answer! I tried to re-install the software but it didn't help either.

BR
by Dimitrije Jelić (400 points)
+1
Hi Zhi,

Are you using an example model or the model you have created yourself? If this is a custom model (even example one that you slightly modified), could you please share it with us here?

Thanks
by Zhi Li (19 points)
+1
Hello Dimitrije,

I'm using my model. But I also tried the example model. This one can be simulated for some time but an error came out at the 99% of the simulation. You will see that in the second screenshot.

BR
...