Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09998/0.09998, allocations: 12.59 MB / 28.22 MB, free: 0.7695 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 119.3 kB / 31.83 MB, free: 3.902 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.1 MB / 240.4 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 184.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.424/0.424, allocations: 78.51 MB / 419.3 MB, free: 11.26 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002635/0.002635, allocations: 143 kB / 0.5554 GB, free: 28.63 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.109, allocations: 68.13 MB / 0.6219 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.008131/0.1172, allocations: 8.094 MB / 0.6298 GB, free: 7.777 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004854/0.1221, allocations: 2.478 MB / 0.6322 GB, free: 5.289 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006835/0.1228, allocations: 19.94 kB / 0.6323 GB, free: 5.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007668/0.1236, allocations: 309.4 kB / 0.6326 GB, free: 4.965 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002695/0.1263, allocations: 1.25 MB / 0.6338 GB, free: 3.715 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.1277, allocations: 0.6627 MB / 0.6344 GB, free: 3.059 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002325/0.13, allocations: 2.279 MB / 0.6367 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005267/0.1305, allocations: 401.9 kB / 0.637 GB, free: 364 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000952/0.1315, allocations: 0.8678 MB / 0.6379 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.1326, allocations: 1.105 MB / 0.639 GB, free: 14.37 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002213/0.1328, allocations: 183.9 kB / 0.6391 GB, free: 14.19 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000612/0.1334, allocations: 403.6 kB / 0.6395 GB, free: 13.8 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003611/0.1338, allocations: 450.2 kB / 0.64 GB, free: 13.36 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006899/0.1345, allocations: 0.878 MB / 0.6408 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.1366, allocations: 2.237 MB / 0.643 GB, free: 10.23 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1366, allocations: 0 / 0.643 GB, free: 10.23 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1366, allocations: 0 / 0.643 GB, free: 10.23 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.815e-05/0.1367, allocations: 4 kB / 0.643 GB, free: 10.23 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.01354/0.1502, allocations: 3.776 MB / 0.6467 GB, free: 6.391 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.1503, allocations: 11.98 kB / 0.6467 GB, free: 6.379 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001826/0.1504, allocations: 151.8 kB / 0.6468 GB, free: 6.223 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004617/0.1551, allocations: 0.756 MB / 0.6476 GB, free: 5.465 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.1569, allocations: 1.105 MB / 0.6487 GB, free: 4.309 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004105/0.1574, allocations: 428.7 kB / 0.6491 GB, free: 3.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/0.1576, allocations: 103.9 kB / 0.6492 GB, free: 3.719 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00275/0.1603, allocations: 1.389 MB / 0.6505 GB, free: 2.312 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.1604, allocations: 0 / 0.6505 GB, free: 2.312 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.1605, allocations: 40 kB / 0.6506 GB, free: 2.273 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.1605, allocations: 24 kB / 0.6506 GB, free: 2.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002852/0.1634, allocations: 1.312 MB / 0.6519 GB, free: 0.9375 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.008144/0.1715, allocations: 4.806 MB / 0.6566 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008318/0.1799, allocations: 2.853 MB / 0.6593 GB, free: 8.918 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001838/0.1817, allocations: 0.8996 MB / 0.6602 GB, free: 8.012 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.1818, allocations: 28.92 kB / 0.6603 GB, free: 7.984 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002129/0.184, allocations: 1.034 MB / 0.6613 GB, free: 6.93 MB / 478.1 MB Notification: Performance of pre-optimization done (n=122): time 2.855e-06/0.184, allocations: 0 / 0.6613 GB, free: 6.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=122): time 0.04133/0.2253, allocations: 9.68 MB / 0.6707 GB, free: 13.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.183e-05/0.2255, allocations: 119.9 kB / 0.6708 GB, free: 13.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002729/0.2282, allocations: 1.394 MB / 0.6722 GB, free: 11.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003285/0.2286, allocations: 53.7 kB / 0.6722 GB, free: 11.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000509/0.2291, allocations: 0.589 MB / 0.6728 GB, free: 11.01 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006475/0.2298, allocations: 460.1 kB / 0.6733 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006883/0.2305, allocations: 327.5 kB / 0.6736 GB, free: 10.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.505e-05/0.2306, allocations: 313.1 kB / 0.6739 GB, free: 9.922 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002156/0.2327, allocations: 0.9526 MB / 0.6748 GB, free: 8.969 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002265/0.235, allocations: 1.166 MB / 0.6759 GB, free: 7.754 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004227/0.2392, allocations: 2.05 MB / 0.6779 GB, free: 5.664 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.2393, allocations: 4 kB / 0.6779 GB, free: 5.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01757/0.2568, allocations: 5.403 MB / 0.6832 GB, free: 248 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.2569, allocations: 8 kB / 0.6832 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.2569, allocations: 4 kB / 0.6832 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009837/0.2668, allocations: 2.876 MB / 0.686 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.2682, allocations: 283.6 kB / 0.6863 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006737/0.2749, allocations: 2.861 MB / 0.6891 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/0.2772, allocations: 250.8 kB / 0.6893 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.2773, allocations: 67.97 kB / 0.6894 GB, free: 9.871 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 166 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(33,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0005581/0.2779, allocations: 285.6 kB / 0.6897 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000277/0.2782, allocations: 162.9 kB / 0.6898 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01597/0.2941, allocations: 4.733 MB / 0.6945 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.2942, allocations: 12 kB / 0.6945 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.2942, allocations: 4 kB / 0.6945 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-05/0.2943, allocations: 7.969 kB / 0.6945 GB, free: 4.641 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.01919/0.3134, allocations: 6.796 MB / 0.7011 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.3135, allocations: 0 / 0.7011 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009095/0.3144, allocations: 135.8 kB / 0.7012 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007962/0.3224, allocations: 2.142 MB / 0.7033 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000223/0.3226, allocations: 27.98 kB / 0.7034 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02647/0.3491, allocations: 10.09 MB / 0.7132 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.3491, allocations: 0 / 0.7132 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2539/0.603, allocations: 5.872 MB / 0.719 GB, free: 84.55 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005702/0.6036, allocations: 276.7 kB / 0.7192 GB, free: 84.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003193/0.6039, allocations: 28.27 kB / 0.7192 GB, free: 84.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/0.6056, allocations: 135 kB / 0.7194 GB, free: 84.45 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008078/0.6065, allocations: 257.8 kB / 0.7196 GB, free: 84.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.6066, allocations: 33.09 kB / 0.7197 GB, free: 84.45 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001601/0.6082, allocations: 0.9405 MB / 0.7206 GB, free: 84.33 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.382e-06/0.6082, allocations: 0 / 0.7206 GB, free: 84.33 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001545/0.6098, allocations: 0.525 MB / 0.7211 GB, free: 84.28 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1]) * 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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02012/0.6299, allocations: 6.475 MB / 0.7274 GB, free: 82.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009425/0.6394, allocations: 2.844 MB / 0.7302 GB, free: 81.44 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.6394, allocations: 1.094 kB / 0.7302 GB, free: 81.44 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006222/0.6456, allocations: 1.911 MB / 0.7321 GB, free: 80.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.6469, allocations: 134.7 kB / 0.7322 GB, free: 80.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03922/0.6861, allocations: 18.68 MB / 0.7504 GB, free: 68.87 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/0.6867, allocations: 1.215 MB / 0.7516 GB, free: 67.62 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005454/0.6873, allocations: 137.7 kB / 0.7517 GB, free: 67.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006688/0.6879, allocations: 0.593 MB / 0.7523 GB, free: 66.89 MB / 0.5137 GB Notification: Performance of SimCode: time 9.32e-07/0.6879, allocations: 0 / 0.7523 GB, free: 66.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06965/0.7576, allocations: 43.1 MB / 0.7944 GB, free: 23.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.6, allocations: 18.61 kB / 0.7944 GB, free: 23.84 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)