Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008841/0.0008841, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8706/0.8706, allocations: 177.1 MB / 199.4 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 160.2 kB / 256 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2688/0.2688, allocations: 80.35 MB / 392.7 MB, free: 3.535 MB / 362.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.555 GB, free: 224 kB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.496e-05/1.633e-05, allocations: 2.281 kB / 0.555 GB, free: 220 kB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.005233/0.005249, allocations: 7.115 MB / 0.5619 GB, free: 9.078 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003748/0.008997, allocations: 2.45 MB / 0.5643 GB, free: 6.621 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007407/0.009738, allocations: 12 kB / 0.5643 GB, free: 6.609 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006728/0.01041, allocations: 313.3 kB / 0.5646 GB, free: 6.301 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.01225, allocations: 1.161 MB / 0.5658 GB, free: 5.133 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.0133, allocations: 0.6851 MB / 0.5664 GB, free: 4.453 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001935/0.01524, allocations: 2.138 MB / 0.5685 GB, free: 2.309 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004241/0.01566, allocations: 270.5 kB / 0.5688 GB, free: 2.027 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.0174, allocations: 1.204 MB / 0.57 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000762/0.01816, allocations: 0.8802 MB / 0.5708 GB, free: 15.94 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.01832, allocations: 176 kB / 0.571 GB, free: 15.77 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004964/0.01882, allocations: 367.6 kB / 0.5713 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002521/0.01907, allocations: 454.1 kB / 0.5718 GB, free: 14.96 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004345/0.0195, allocations: 0.5997 MB / 0.5724 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.02153, allocations: 2.293 MB / 0.5746 GB, free: 12.06 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.02154, allocations: 0 / 0.5746 GB, free: 12.06 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.02154, allocations: 4 kB / 0.5746 GB, free: 12.05 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.031e-05/0.02157, allocations: 0 / 0.5746 GB, free: 12.05 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.006868/0.02843, allocations: 3.647 MB / 0.5782 GB, free: 8.355 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.02848, allocations: 8.031 kB / 0.5782 GB, free: 8.348 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001445/0.02862, allocations: 151.8 kB / 0.5783 GB, free: 8.191 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002182/0.0308, allocations: 0.7559 MB / 0.5791 GB, free: 7.434 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.03236, allocations: 1.041 MB / 0.5801 GB, free: 6.355 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003479/0.0327, allocations: 0.577 MB / 0.5806 GB, free: 5.676 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.03287, allocations: 108 kB / 0.5807 GB, free: 5.57 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.03467, allocations: 1.4 MB / 0.5821 GB, free: 4.148 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.03468, allocations: 0 / 0.5821 GB, free: 4.148 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.957e-05/0.03476, allocations: 36 kB / 0.5821 GB, free: 4.113 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.03478, allocations: 24 kB / 0.5822 GB, free: 4.09 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.03655, allocations: 1.327 MB / 0.5835 GB, free: 2.762 MB / 458.7 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.005148/0.0417, allocations: 3.705 MB / 0.5871 GB, free: 14.97 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003981/0.04568, allocations: 2.328 MB / 0.5893 GB, free: 12.62 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.04679, allocations: 0.8136 MB / 0.5901 GB, free: 11.79 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.335e-05/0.04689, allocations: 24.92 kB / 0.5902 GB, free: 11.77 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001411/0.0483, allocations: 1.054 MB / 0.5912 GB, free: 10.69 MB / 474.7 MB Notification: Performance of pre-optimization done (n=123): time 2.976e-06/0.0483, allocations: 0 / 0.5912 GB, free: 10.69 MB / 474.7 MB Notification: Performance of matching and sorting (n=123): time 0.02063/0.06893, allocations: 9.786 MB / 0.6008 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.06899, allocations: 115.8 kB / 0.6009 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.07065, allocations: 1.394 MB / 0.6022 GB, free: 15.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002676/0.07092, allocations: 49.7 kB / 0.6023 GB, free: 15.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/0.07124, allocations: 0.5851 MB / 0.6028 GB, free: 14.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003865/0.07163, allocations: 468 kB / 0.6033 GB, free: 14.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000392/0.07202, allocations: 331.5 kB / 0.6036 GB, free: 13.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.292e-05/0.07208, allocations: 301.1 kB / 0.6039 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.0736, allocations: 0.9683 MB / 0.6048 GB, free: 12.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.07498, allocations: 1.17 MB / 0.606 GB, free: 11.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002693/0.07767, allocations: 2.073 MB / 0.608 GB, free: 9.305 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.07768, allocations: 4 kB / 0.608 GB, free: 9.301 MB / 490.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.005436/0.08312, allocations: 3.626 MB / 0.6116 GB, free: 5.664 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.08314, allocations: 8 kB / 0.6116 GB, free: 5.656 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.08315, allocations: 0 / 0.6116 GB, free: 5.656 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005313/0.08846, allocations: 2.949 MB / 0.6144 GB, free: 2.703 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007877/0.08925, allocations: 279.6 kB / 0.6147 GB, free: 2.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1887/0.2779, allocations: 2.886 MB / 0.6175 GB, free: 67.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.2795, allocations: 253.9 kB / 0.6178 GB, free: 67.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.2796, allocations: 63.56 kB / 0.6178 GB, free: 67.82 MB / 490.7 MB 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 (168): * Single equations (assignments): 167 * 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.0004673/0.2801, allocations: 293.9 kB / 0.6181 GB, free: 67.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.2803, allocations: 164.7 kB / 0.6183 GB, free: 67.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008701/0.289, allocations: 4.752 MB / 0.6229 GB, free: 67.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.289, allocations: 13.28 kB / 0.6229 GB, free: 67.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.289, allocations: 1.781 kB / 0.6229 GB, free: 67.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/0.289, allocations: 7.516 kB / 0.6229 GB, free: 67.39 MB / 490.7 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 postOpt removeSimpleEquations (simulation): time 0.0104/0.2994, allocations: 6.155 MB / 0.6289 GB, free: 65.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.2994, allocations: 1.406 kB / 0.6289 GB, free: 65.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004657/0.2999, allocations: 141.5 kB / 0.6291 GB, free: 65.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004201/0.3041, allocations: 2.199 MB / 0.6312 GB, free: 65.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001548/0.3042, allocations: 27.81 kB / 0.6312 GB, free: 65.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01424/0.3185, allocations: 9.873 MB / 0.6409 GB, free: 60.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3185, allocations: 3.688 kB / 0.6409 GB, free: 60.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008976/0.3275, allocations: 5.951 MB / 0.6467 GB, free: 56.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003965/0.3279, allocations: 199.2 kB / 0.6469 GB, free: 56.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.328, allocations: 24 kB / 0.6469 GB, free: 56.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007405/0.3287, allocations: 139.8 kB / 0.6471 GB, free: 56 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005141/0.3293, allocations: 271.9 kB / 0.6473 GB, free: 55.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.869e-05/0.3293, allocations: 39.98 kB / 0.6473 GB, free: 55.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007981/0.3301, allocations: 0.9418 MB / 0.6483 GB, free: 54.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3301, allocations: 0 / 0.6483 GB, free: 54.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001016/0.3311, allocations: 0.523 MB / 0.6488 GB, free: 54.25 MB / 490.7 MB 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 (80): * Single equations (assignments): 79 * 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.008865/0.34, allocations: 6.549 MB / 0.6552 GB, free: 47.67 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004263/0.3443, allocations: 2.734 MB / 0.6578 GB, free: 44.94 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3443, allocations: 0 / 0.6578 GB, free: 44.94 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002876/0.3471, allocations: 1.861 MB / 0.6597 GB, free: 43.06 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007507/0.3479, allocations: 141.7 kB / 0.6598 GB, free: 42.92 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02529/0.3732, allocations: 20.19 MB / 0.6795 GB, free: 22.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.3735, allocations: 0.6292 MB / 0.6801 GB, free: 21.79 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003619/0.3739, allocations: 137.7 kB / 0.6803 GB, free: 21.65 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004513/0.3743, allocations: 0.594 MB / 0.6808 GB, free: 21.05 MB / 490.7 MB Notification: Performance of SimCode: time 1.472e-06/0.3743, allocations: 0 / 0.6808 GB, free: 21.05 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05036/0.4247, allocations: 45.22 MB / 0.725 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.275/8.7, allocations: 10.11 kB / 0.725 GB, free: 8.074 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.986961052753031] Failed to read output from testmodel.py, exit status != 0: 8.809204877354205 8.819127581 8.795536971 Calling exit ...