Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009008/0.009008, allocations: 97.23 kB / 15.73 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 239.4 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 192.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4972/0.4972, allocations: 78.54 MB / 418.4 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 75.88 kB / 0.5532 GB, free: 1.457 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3235, allocations: 68.17 MB / 0.6197 GB, free: 9.332 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2): time 0.006693/0.3302, allocations: 8.606 MB / 0.6281 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004608/0.3348, allocations: 2.7 MB / 0.6308 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009216/0.3358, allocations: 16 kB / 0.6308 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007583/0.3366, allocations: 317.2 kB / 0.6311 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002814/0.3394, allocations: 1.263 MB / 0.6323 GB, free: 13.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.3409, allocations: 0.764 MB / 0.6331 GB, free: 12.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002373/0.3433, allocations: 2.384 MB / 0.6354 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006487/0.344, allocations: 489.6 kB / 0.6359 GB, free: 9.559 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009964/0.345, allocations: 0.9104 MB / 0.6368 GB, free: 8.645 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.3462, allocations: 1.155 MB / 0.6379 GB, free: 7.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003169/0.3465, allocations: 192 kB / 0.6381 GB, free: 7.293 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007914/0.3473, allocations: 463.7 kB / 0.6385 GB, free: 6.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003853/0.3477, allocations: 486.1 kB / 0.639 GB, free: 6.363 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000806/0.3486, allocations: 0.9556 MB / 0.6399 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002499/0.3511, allocations: 2.479 MB / 0.6423 GB, free: 2.918 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.3511, allocations: 0 / 0.6423 GB, free: 2.918 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3511, allocations: 0 / 0.6423 GB, free: 2.918 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.208e-05/0.3511, allocations: 0 / 0.6423 GB, free: 2.918 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.01348/0.3646, allocations: 3.986 MB / 0.6462 GB, free: 14.87 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.3647, allocations: 16.03 kB / 0.6462 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002135/0.3649, allocations: 160.4 kB / 0.6464 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004467/0.3694, allocations: 0.7754 MB / 0.6472 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/0.3713, allocations: 1.134 MB / 0.6483 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004407/0.3717, allocations: 462.3 kB / 0.6487 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.372, allocations: 123.9 kB / 0.6488 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002837/0.3748, allocations: 1.464 MB / 0.6503 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.3748, allocations: 0 / 0.6503 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.375, allocations: 43.98 kB / 0.6503 GB, free: 10.53 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.375, allocations: 24 kB / 0.6503 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002861/0.3779, allocations: 1.359 MB / 0.6516 GB, free: 9.145 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008591/0.3865, allocations: 5.222 MB / 0.6567 GB, free: 3.695 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008248/0.3947, allocations: 2.939 MB / 0.6596 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0019/0.3967, allocations: 0.9277 MB / 0.6605 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000649/0.3973, allocations: 0.7375 MB / 0.6612 GB, free: 14.78 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0024/0.3997, allocations: 1.071 MB / 0.6623 GB, free: 13.69 MB / 478.1 MB Notification: Performance of pre-optimization done (n=131): time 6.793e-06/0.3997, allocations: 0 / 0.6623 GB, free: 13.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=131): time 0.04241/0.4422, allocations: 9.868 MB / 0.6719 GB, free: 3.754 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.4423, allocations: 124 kB / 0.672 GB, free: 3.609 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00331/0.4457, allocations: 1.434 MB / 0.6734 GB, free: 2.164 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005296/0.4462, allocations: 53.77 kB / 0.6735 GB, free: 2.105 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007194/0.4469, allocations: 0.6403 MB / 0.6741 GB, free: 1.461 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008548/0.4478, allocations: 0.4919 MB / 0.6746 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001321/0.4491, allocations: 375.4 kB / 0.675 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4493, allocations: 301.1 kB / 0.6752 GB, free: 300 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00259/0.4519, allocations: 1.003 MB / 0.6762 GB, free: 15.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003028/0.4549, allocations: 1.227 MB / 0.6774 GB, free: 14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005635/0.4606, allocations: 2.153 MB / 0.6795 GB, free: 11.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/0.4606, allocations: 0 / 0.6795 GB, free: 11.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.0193/0.4799, allocations: 5.521 MB / 0.6849 GB, free: 6.246 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/0.48, allocations: 8 kB / 0.6849 GB, free: 6.238 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.348e-05/0.48, allocations: 4 kB / 0.6849 GB, free: 6.234 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01018/0.4902, allocations: 2.671 MB / 0.6875 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/0.4922, allocations: 343.5 kB / 0.6879 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007734/0.5, allocations: 2.692 MB / 0.6905 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002877/0.5029, allocations: 254.7 kB / 0.6907 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004239/0.5033, allocations: 71.97 kB / 0.6908 GB, free: 188 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,iEEET2.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0009979/0.5043, allocations: 313.5 kB / 0.6911 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005974/0.5049, allocations: 174.8 kB / 0.6913 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.017/0.522, allocations: 4.942 MB / 0.6961 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/0.522, allocations: 12 kB / 0.6961 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.522, allocations: 4 kB / 0.6961 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.378e-05/0.5221, allocations: 3.984 kB / 0.6961 GB, free: 10.71 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02154/0.5436, allocations: 7.092 MB / 0.703 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.889e-05/0.5437, allocations: 0 / 0.703 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.5447, allocations: 143.8 kB / 0.7032 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008011/0.5528, allocations: 2.205 MB / 0.7053 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003008/0.5531, allocations: 31.98 kB / 0.7054 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03089/0.584, allocations: 11.81 MB / 0.7169 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.5841, allocations: 4 kB / 0.7169 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01956/0.6036, allocations: 6.094 MB / 0.7228 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000655/0.6043, allocations: 291.5 kB / 0.7231 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005574/0.6049, allocations: 28 kB / 0.7232 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/0.6067, allocations: 119.9 kB / 0.7233 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009497/0.6077, allocations: 273.3 kB / 0.7235 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002149/0.6079, allocations: 40 kB / 0.7236 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001676/0.6096, allocations: 0.9444 MB / 0.7245 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6096, allocations: 0 / 0.7245 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00195/0.6116, allocations: 0.5659 MB / 0.725 GB, free: 12.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,iEEET2.simpleLag.state,iEEET2.derivativeLag.x,iEEET2.simpleLagLim.state,iEEET2.rotatingExciter.sISO.y,iEEET2.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01993/0.6315, allocations: 6.72 MB / 0.7316 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009473/0.6411, allocations: 2.951 MB / 0.7345 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.6411, allocations: 0 / 0.7345 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00652/0.6476, allocations: 2.082 MB / 0.7365 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.6493, allocations: 157 kB / 0.7367 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04755/0.6969, allocations: 19.37 MB / 0.7556 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009066/0.6979, allocations: 1.243 MB / 0.7568 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006924/0.6986, allocations: 142.5 kB / 0.7569 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/0.6996, allocations: 0.6438 MB / 0.7576 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/0.6996, allocations: 0 / 0.7576 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.958/2.658, allocations: 45.62 MB / 0.8021 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/17.06, allocations: 8.094 kB / 0.8021 GB, free: 115.8 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe 2>&1)