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.00154/0.00154, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.45/1.45, allocations: 230.6 MB / 252.7 MB, free: 14.25 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.002519/0.002519, allocations: 203.3 kB / 309.2 MB, free: 3.094 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.6454/0.6454, allocations: 107.3 MB / 473 MB, free: 29.66 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.00255/0.00255, allocations: 90.69 kB / 0.6333 GB, free: 29.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1315, allocations: 80.17 MB / 0.7115 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.00949/0.141, allocations: 7.319 MB / 0.7187 GB, free: 176 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005426/0.1464, allocations: 2.485 MB / 0.7211 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.1475, allocations: 12 kB / 0.7211 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.1485, allocations: 317.3 kB / 0.7214 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0032/0.1517, allocations: 1.148 MB / 0.7226 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.1535, allocations: 0.699 MB / 0.7232 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003098/0.1566, allocations: 2.221 MB / 0.7254 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000532/0.1572, allocations: 284.9 kB / 0.7257 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.1584, allocations: 0.9144 MB / 0.7266 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/0.1598, allocations: 1.03 MB / 0.7276 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002926/0.1601, allocations: 184 kB / 0.7278 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007488/0.1609, allocations: 371.8 kB / 0.7281 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004279/0.1613, allocations: 458.2 kB / 0.7285 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007274/0.162, allocations: 0.7499 MB / 0.7293 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00267/0.1647, allocations: 2.303 MB / 0.7315 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1647, allocations: 4 kB / 0.7315 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1647, allocations: 0 / 0.7315 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.1e-05/0.1647, 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.0132/0.1779, allocations: 3.721 MB / 0.7352 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.178, allocations: 8.031 kB / 0.7352 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002239/0.1782, allocations: 156.1 kB / 0.7353 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004689/0.1829, allocations: 0.756 MB / 0.7361 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/0.1851, allocations: 1.061 MB / 0.7371 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006378/0.1857, allocations: 0.5809 MB / 0.7377 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002472/0.186, allocations: 115.9 kB / 0.7378 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003289/0.1893, allocations: 1.443 MB / 0.7392 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.1893, allocations: 0 / 0.7392 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.1894, allocations: 36 kB / 0.7392 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.1895, allocations: 24 kB / 0.7392 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003501/0.193, allocations: 1.366 MB / 0.7406 GB, free: 9.484 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.009341/0.2023, allocations: 3.822 MB / 0.7443 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008861/0.2112, allocations: 2.354 MB / 0.7466 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002126/0.2133, allocations: 0.8331 MB / 0.7474 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.2134, allocations: 16.94 kB / 0.7474 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002499/0.2159, allocations: 1.08 MB / 0.7485 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=127): time 3.346e-06/0.2159, allocations: 0 / 0.7485 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of matching and sorting (n=127): time 0.04543/0.2613, allocations: 9.919 MB / 0.7582 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.995e-05/0.2614, allocations: 119.9 kB / 0.7583 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002545/0.264, allocations: 1.419 MB / 0.7597 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003008/0.2643, allocations: 49.7 kB / 0.7597 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005857/0.2649, allocations: 0.601 MB / 0.7603 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006836/0.2656, allocations: 479.9 kB / 0.7608 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008365/0.2664, allocations: 343.5 kB / 0.7611 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2665, allocations: 305.1 kB / 0.7614 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002483/0.269, allocations: 0.9878 MB / 0.7623 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002647/0.2716, allocations: 1.182 MB / 0.7635 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004931/0.2766, allocations: 2.101 MB / 0.7656 GB, free: 15.58 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.2766, allocations: 0 / 0.7656 GB, free: 15.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.01123/0.2878, allocations: 3.848 MB / 0.7693 GB, free: 11.72 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.2878, allocations: 4 kB / 0.7693 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.2879, allocations: 7.938 kB / 0.7693 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01098/0.2988, allocations: 3.036 MB / 0.7723 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.3003, allocations: 271.6 kB / 0.7725 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008287/0.3086, allocations: 3.028 MB / 0.7755 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002443/0.3111, allocations: 266.7 kB / 0.7758 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002253/0.3113, allocations: 63.98 kB / 0.7758 GB, free: 5.023 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.0006747/0.312, allocations: 293.9 kB / 0.7761 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003877/0.3124, allocations: 170.9 kB / 0.7763 GB, free: 4.559 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01768/0.33, allocations: 4.858 MB / 0.781 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.33, allocations: 15.94 kB / 0.781 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.3301, allocations: 7.938 kB / 0.781 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.107e-05/0.3301, allocations: 7.969 kB / 0.781 GB, free: 15.64 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.02053/0.3506, allocations: 6.209 MB / 0.7871 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.3506, allocations: 0 / 0.7871 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008954/0.3515, allocations: 159.6 kB / 0.7873 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008491/0.36, allocations: 2.196 MB / 0.7894 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002056/0.3602, allocations: 27.98 kB / 0.7894 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02917/0.3894, allocations: 9.864 MB / 0.7991 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3894, allocations: 0 / 0.7991 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02071/0.4101, allocations: 5.972 MB / 0.8049 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005957/0.4107, allocations: 206.5 kB / 0.8051 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004441/0.4111, allocations: 24 kB / 0.8051 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/0.413, allocations: 139.8 kB / 0.8052 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008785/0.4138, allocations: 277.2 kB / 0.8055 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/0.414, allocations: 32 kB / 0.8055 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001735/0.4157, allocations: 0.9581 MB / 0.8065 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4157, allocations: 0 / 0.8065 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001584/0.4173, allocations: 0.5308 MB / 0.807 GB, free: 4.836 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.2911/0.7084, allocations: 6.569 MB / 0.8134 GB, free: 90.42 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00976/0.7182, allocations: 2.784 MB / 0.8161 GB, free: 90.35 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.7182, allocations: 1.469 kB / 0.8161 GB, free: 90.35 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006647/0.7248, allocations: 1.891 MB / 0.818 GB, free: 90.02 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.7261, allocations: 137.4 kB / 0.8181 GB, free: 89.93 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04544/0.7715, 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.0006177/0.7721, allocations: 0.6447 MB / 0.8373 GB, free: 82.53 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005413/0.7727, allocations: 143 kB / 0.8375 GB, free: 82.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007454/0.7734, allocations: 0.6096 MB / 0.8381 GB, free: 82.02 MB / 0.5762 GB Notification: Performance of SimCode: time 9.72e-07/0.7734, allocations: 0 / 0.8381 GB, free: 82.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07297/0.8464, allocations: 45.9 MB / 0.8829 GB, free: 41.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.29, allocations: 15.91 kB / 0.8829 GB, free: 41.16 MB / 0.5762 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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: 19.160071209073067] Failed to read output from testmodel.py, exit status != 0: 15.435293695889413 15.453040015 15.284934136 Calling exit ...