You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I hope I am posting this in the correct place, if not, please advise me accordingly.
I am in the process of coupling GenOpt with OpenModelica in Windows. I believe I am close to achieve it, yet not successful.
After launching this in Windows Powershell: java -classpath genopt.jar genopt.GenOpt .\initialisation.ini
The folder tmp-genopt-run-1 is created, and then a bat file is executed, which firsts copies a test_JacA.bin file (generated when previously compiled/build the modelica case) in the folder and then it executes : .\test.bat -override c1_input=%c1%,c2_input=%c2%,stopTime=43200,stepSize=30
The simulation apparently finishes successfully since the result.txt file is generated correctly with the expected value. e.g.
Objective function value
f(x) = 9133302.9028263390064240
However, the genopt crashes providing the following message: (while the logfile does not contain any additional information)
GenOpt terminated with error.
See logfile for further information.
So, I am puzzled as to why genopt crashes, if the simulation is successfully producing the required output file. Any help would be highly appreciated. Thanks!
The text was updated successfully, but these errors were encountered:
Hello, I hope I am posting this in the correct place, if not, please advise me accordingly.
I am in the process of coupling GenOpt with OpenModelica in Windows. I believe I am close to achieve it, yet not successful.
After launching this in Windows Powershell:
java -classpath genopt.jar genopt.GenOpt .\initialisation.ini
The folder tmp-genopt-run-1 is created, and then a bat file is executed, which firsts copies a test_JacA.bin file (generated when previously compiled/build the modelica case) in the folder and then it executes :
.\test.bat -override c1_input=%c1%,c2_input=%c2%,stopTime=43200,stepSize=30
The simulation apparently finishes successfully since the result.txt file is generated correctly with the expected value. e.g.
However, the genopt crashes providing the following message: (while the logfile does not contain any additional information)
So, I am puzzled as to why genopt crashes, if the simulation is successfully producing the required output file. Any help would be highly appreciated. Thanks!
The text was updated successfully, but these errors were encountered: