Hello Tom,
I had the same problem and there was no straightforward solution.
The FAQ on qucsstudio.de states what to do: “[…] start winecfg. In the Library tab add msvcp100 and msvcr100 and set them to native.” But that did not help on my PC, and some other users said so as well. After trying lots of things I found a solution: Directly (!) after adding msvcp100.dll and msvcr100.dll to winecfg I set them to “Native, Buitlin” and not “Native” as stated in the FAQ. Then uSimmics works flawlessly on my PC. The weird thing is that after setting the DLLs to anything else than “Native, Buitlin” it resulted on my machine in the sinh/cosh-error which persisted even after setting back to “Native, Buitlin”! The only solution then was to remove both DLLs from winecfg and add them again with the setting “Native, Buitlin”.
I can reproduce this strange behaviour of Wine on my PC (Wine 9.0/Linux Mint 22) with uSimmics 5.8 and 5.9. Since I found the solution I worked a lot with uSimmics under Linux. I can highly recommend it to anyone in RF.