@@ -37,7 +37,7 @@ getErrorString();
3737
3838setCommandLineOptions("+maxSizeSolveLinearSystem=0");
3939getErrorString();
40- optimize(testFinalCon5_, numberOfIntervals=700 , tolerance = 1e-08, stopTime = 5, simflags="-lv LOG_IPOPT_ERROR -optimizerNP 1");
40+ optimize(testFinalCon5_, numberOfIntervals=20 , tolerance = 1e-08, stopTime = 5, simflags="-optimizerNP 1");
4141getErrorString();
4242
4343res := OpenModelica.Scripting.compareSimulationResults("testFinalCon5__res.mat","ReferenceFiles/testFinalCon5_ref.mat","testFinalCon_diff.csv",0.01,0.0001); // Files not equal!!! Testing other convergence with solveLinearSystem
@@ -59,7 +59,7 @@ getErrorString();
5959// ""
6060// record SimulationResult
6161// resultFile = "testFinalCon5__res.mat",
62- // simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 700 , tolerance = 1e-08, method = 'optimization', fileNamePrefix = 'testFinalCon5_', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 1'",
62+ // simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 20 , tolerance = 1e-08, method = 'optimization', fileNamePrefix = 'testFinalCon5_', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerNP 1'",
6363// messages = "
6464// Optimizer Variables
6565// ========================================================
@@ -76,48 +76,6 @@ getErrorString();
7676// For more information visit http://projects.coin-or.org/Ipopt
7777// ******************************************************************************
7878//
79- // LOG_IPOPT_ERROR | info | max violation is 26.2917 for the final constraint $OMC$finalConstarintTerm2(time = 5)
80- // LOG_IPOPT_ERROR | info | max error is 0.642963 for the approximation of the state x1(time = 5)
81- // LOG_IPOPT_ERROR | info | max error is 3.49876 for the approximation of the state x2(time = 5)
82- // LOG_IPOPT_ERROR | info | max violation is 13.1459 for the final constraint $OMC$finalConstarintTerm2(time = 5)
83- // LOG_IPOPT_ERROR | info | max error is 2.53665 for the approximation of the state x2(time = 4.97143)
84- // LOG_IPOPT_ERROR | info | max error is 2.24696e+06 for the approximation of the state x2(time = 4.97143)
85- // LOG_IPOPT_ERROR | info | max violation is 6.57293 for the final constraint $OMC$finalConstarintTerm2(time = 5)
86- // LOG_IPOPT_ERROR | info | max violation is 9.8594 for the final constraint $OMC$finalConstarintTerm2(time = 5)
87- // LOG_IPOPT_ERROR | info | max error is 15.0807 for the approximation of the state x2(time = 4.68571)
88- // LOG_IPOPT_ERROR | info | max error is 2.32314e+34 for the approximation of the state x2(time = 4.70714)
89- // LOG_IPOPT_ERROR | info | max error is 1.31762e+18 for the approximation of the state x2(time = 4.68571)
90- // LOG_IPOPT_ERROR | info | max violation is 7.39455 for the final constraint $OMC$finalConstarintTerm2(time = 5)
91- // LOG_IPOPT_ERROR | info | max violation is 8.62697 for the final constraint $OMC$finalConstarintTerm2(time = 5)
92- // LOG_IPOPT_ERROR | info | max error is 380886 for the approximation of the state x2(time = 1.37143)
93- // LOG_IPOPT_ERROR | info | max error is inf for the approximation of the state x2(time = 3.05714)
94- // LOG_IPOPT_ERROR | info | max error is 50.94 for the approximation of the state x2(time = 1.36429)
95- // LOG_IPOPT_ERROR | info | max violation is 6.47023 for the final constraint $OMC$finalConstarintTerm2(time = 5)
96- // LOG_IPOPT_ERROR | info | max violation is 7.5486 for the final constraint $OMC$finalConstarintTerm2(time = 5)
97- // LOG_IPOPT_ERROR | info | max violation is 8.08779 for the final constraint $OMC$finalConstarintTerm2(time = 5)
98- // LOG_IPOPT_ERROR | info | max violation is 8.35738 for the final constraint $OMC$finalConstarintTerm2(time = 5)
99- // LOG_IPOPT_ERROR | info | max violation is 8.49218 for the final constraint $OMC$finalConstarintTerm2(time = 5)
100- // LOG_IPOPT_ERROR | info | max violation is 8.55957 for the final constraint $OMC$finalConstarintTerm2(time = 5)
101- // LOG_IPOPT_ERROR | info | max violation is 8.59327 for the final constraint $OMC$finalConstarintTerm2(time = 5)
102- // LOG_IPOPT_ERROR | info | max violation is 8.61012 for the final constraint $OMC$finalConstarintTerm2(time = 5)
103- // LOG_IPOPT_ERROR | info | max violation is 8.61855 for the final constraint $OMC$finalConstarintTerm2(time = 5)
104- // LOG_IPOPT_ERROR | info | max violation is 8.62276 for the final constraint $OMC$finalConstarintTerm2(time = 5)
105- // LOG_IPOPT_ERROR | info | max violation is 8.62487 for the final constraint $OMC$finalConstarintTerm2(time = 5)
106- // LOG_IPOPT_ERROR | info | max violation is 8.62592 for the final constraint $OMC$finalConstarintTerm2(time = 5)
107- // LOG_IPOPT_ERROR | info | max violation is 8.62645 for the final constraint $OMC$finalConstarintTerm2(time = 5)
108- // LOG_IPOPT_ERROR | info | max violation is 8.62671 for the final constraint $OMC$finalConstarintTerm2(time = 5)
109- // LOG_IPOPT_ERROR | info | max violation is 8.62684 for the final constraint $OMC$finalConstarintTerm2(time = 5)
110- // LOG_IPOPT_ERROR | info | max violation is 8.62691 for the final constraint $OMC$finalConstarintTerm2(time = 5)
111- // LOG_IPOPT_ERROR | info | max violation is 8.62694 for the final constraint $OMC$finalConstarintTerm2(time = 5)
112- // LOG_IPOPT_ERROR | info | max violation is 8.62696 for the final constraint $OMC$finalConstarintTerm2(time = 5)
113- // LOG_IPOPT_ERROR | info | max violation is 8.62696 for the final constraint $OMC$finalConstarintTerm2(time = 5)
114- // LOG_IPOPT_ERROR | info | max error is 380886 for the approximation of the state x2(time = 1.37143)
115- // LOG_IPOPT_ERROR | info | max error is 380886 for the approximation of the state x2(time = 1.37143)
116- // LOG_IPOPT_ERROR | info | max error is 380886 for the approximation of the state x2(time = 1.37143)
117- // LOG_IPOPT_ERROR | info | max violation is 8.62697 for the final constraint $OMC$finalConstarintTerm2(time = 5)
118- // Sorry, things failed ?!?!
119- // Exception of type: Eval_Error in file \"IpOrigIpoptNLP.cpp\" at line 568:
120- // Exception message: Error evaluating the equality constraints
12179// stdout | warning | No optimal solution found!
12280// | | | | Use -lv=LOG_IPOPT for more information.
12381// "
0 commit comments