Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.001344/0.001344, allocations: 99.64 kB / 18.95 MB, free: 2.676 MB / 14.72 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 1.481/1.481, allocations: 230.6 MB / 252.7 MB, free: 14.28 MB / 206.1 MB " [Timeout remaining time 178] 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.001553/0.001553, allocations: 217.1 kB / 309.2 MB, free: 3.16 MB / 238.1 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.6184/0.6184, allocations: 107.3 MB / 473 MB, free: 29.95 MB / 350.1 MB " [Timeout remaining time 179] 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.SCRX,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00262/0.00262, allocations: 82 kB / 0.6332 GB, free: 29.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1388, allocations: 80.17 MB / 0.7115 GB, free: 7.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.01369/0.1525, allocations: 7.321 MB / 0.7187 GB, free: 188 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006932/0.1594, allocations: 2.478 MB / 0.7211 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.1606, allocations: 20 kB / 0.7211 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.162, allocations: 317.3 kB / 0.7214 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004137/0.1661, allocations: 1.149 MB / 0.7226 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002222/0.1683, allocations: 0.6963 MB / 0.7232 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003876/0.1722, allocations: 2.229 MB / 0.7254 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007497/0.1729, allocations: 276.9 kB / 0.7257 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001803/0.1747, allocations: 0.9184 MB / 0.7266 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002195/0.1769, allocations: 1.03 MB / 0.7276 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005144/0.1775, allocations: 180 kB / 0.7278 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.1786, allocations: 367.8 kB / 0.7281 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006991/0.1793, allocations: 466.2 kB / 0.7285 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001363/0.1807, allocations: 0.7538 MB / 0.7293 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003763/0.1844, allocations: 2.311 MB / 0.7315 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1844, allocations: 0 / 0.7315 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.674e-06/0.1845, allocations: 0 / 0.7315 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.402e-05/0.1845, allocations: 0 / 0.7315 GB, free: 2.965 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.01767/0.2022, allocations: 3.717 MB / 0.7352 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.2022, allocations: 12.03 kB / 0.7352 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002575/0.2025, allocations: 156.1 kB / 0.7353 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007078/0.2095, allocations: 0.756 MB / 0.7361 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003442/0.213, allocations: 1.057 MB / 0.7371 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008697/0.2139, allocations: 0.577 MB / 0.7377 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003965/0.2143, allocations: 115.9 kB / 0.7378 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005027/0.2193, allocations: 1.439 MB / 0.7392 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.788e-05/0.2193, allocations: 0 / 0.7392 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002006/0.2195, allocations: 39.98 kB / 0.7392 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.445e-05/0.2196, allocations: 24 kB / 0.7392 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005467/0.225, allocations: 1.362 MB / 0.7406 GB, free: 9.496 MB / 0.5137 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 preOpt removeSimpleEquations (simulation): time 0.01397/0.239, allocations: 3.818 MB / 0.7443 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01336/0.2524, allocations: 2.358 MB / 0.7466 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003454/0.2558, allocations: 0.837 MB / 0.7474 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001837/0.256, allocations: 16.98 kB / 0.7474 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003823/0.2598, allocations: 1.081 MB / 0.7485 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=127): time 5.53e-06/0.2598, allocations: 0 / 0.7485 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of matching and sorting (n=127): time 0.06953/0.3294, allocations: 9.903 MB / 0.7582 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.3295, allocations: 127.7 kB / 0.7583 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003966/0.3334, allocations: 1.419 MB / 0.7597 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003299/0.3338, allocations: 53.7 kB / 0.7597 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008577/0.3346, allocations: 0.601 MB / 0.7603 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008787/0.3355, allocations: 483.9 kB / 0.7608 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/0.3367, allocations: 343.5 kB / 0.7611 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.3369, allocations: 305.1 kB / 0.7614 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003863/0.3408, allocations: 0.9878 MB / 0.7624 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002773/0.3435, allocations: 1.174 MB / 0.7635 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005154/0.3487, allocations: 2.105 MB / 0.7656 GB, free: 15.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.3487, allocations: 4 kB / 0.7656 GB, free: 15.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.01154/0.3603, allocations: 3.844 MB / 0.7693 GB, free: 11.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.3603, allocations: 8 kB / 0.7693 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.3603, allocations: 7.938 kB / 0.7693 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01126/0.3715, allocations: 3.032 MB / 0.7723 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.373, allocations: 275.6 kB / 0.7726 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008191/0.3812, allocations: 3.016 MB / 0.7755 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/0.3835, allocations: 266.6 kB / 0.7758 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002052/0.3837, allocations: 71.97 kB / 0.7758 GB, free: 5.031 MB / 0.545 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 (162): * Single equations (assignments): 161 * 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 {(34,42)} Notification: Performance of prepare postOptimizeDAE: time 0.0006867/0.3844, allocations: 297.8 kB / 0.7761 GB, free: 4.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003813/0.3847, allocations: 166.9 kB / 0.7763 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01807/0.4028, allocations: 4.862 MB / 0.781 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.4028, allocations: 12 kB / 0.781 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.4028, allocations: 4 kB / 0.781 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.968e-05/0.4029, allocations: 11.97 kB / 0.781 GB, free: 15.65 MB / 0.5606 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.02091/0.4238, allocations: 6.209 MB / 0.7871 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.4238, allocations: 0 / 0.7871 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009386/0.4247, allocations: 147.8 kB / 0.7872 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008599/0.4333, allocations: 2.192 MB / 0.7894 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000198/0.4335, allocations: 31.92 kB / 0.7894 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02957/0.4631, allocations: 9.863 MB / 0.799 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4631, allocations: 0 / 0.799 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02084/0.4839, allocations: 5.98 MB / 0.8049 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005884/0.4845, allocations: 206.5 kB / 0.8051 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003585/0.4849, allocations: 20 kB / 0.8051 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/0.4867, allocations: 143.8 kB / 0.8052 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008761/0.4876, allocations: 277.1 kB / 0.8055 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/0.4877, allocations: 35.98 kB / 0.8055 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001724/0.4894, allocations: 0.9542 MB / 0.8065 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4894, allocations: 4 kB / 0.8065 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001594/0.491, allocations: 0.5269 MB / 0.807 GB, free: 4.852 MB / 0.5762 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,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.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 (84): * 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: 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.274/0.765, allocations: 6.566 MB / 0.8134 GB, free: 90.42 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009266/0.7743, allocations: 2.791 MB / 0.8161 GB, free: 90.35 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.7743, allocations: 0.875 kB / 0.8161 GB, free: 90.35 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006467/0.7808, allocations: 1.88 MB / 0.818 GB, free: 90.01 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.7819, allocations: 136.5 kB / 0.8181 GB, free: 89.92 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04322/0.8251, allocations: 19.05 MB / 0.8367 GB, free: 82.69 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/0.8257, allocations: 0.6426 MB / 0.8373 GB, free: 82.53 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004979/0.8262, allocations: 139.2 kB / 0.8375 GB, free: 82.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007236/0.8269, allocations: 0.6134 MB / 0.8381 GB, free: 82.02 MB / 0.5762 GB Notification: Performance of SimCode: time 1.252e-06/0.8269, allocations: 0 / 0.8381 GB, free: 82.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0713/0.8982, allocations: 45.91 MB / 0.8829 GB, free: 41.19 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/15.36, allocations: 7.938 kB / 0.8829 GB, free: 41.18 MB / 0.5762 GB " [Timeout remaining time 644] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX_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_SCRX.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.97213799227029] Failed to read output from testmodel.py, exit status != 0: 15.505523134954274 15.516458871 15.329663976 Calling exit ...