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.001934/0.001934, allocations: 116.8 kB / 17.17 MB, free: 6 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.41/1.41, allocations: 230.6 MB / 250.5 MB, free: 9.219 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.001617/0.001617, allocations: 209.7 kB / 306.7 MB, free: 4.293 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.5542/0.5542, allocations: 101.3 MB / 464.1 MB, free: 11.91 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="cs",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.00254/0.00254, allocations: 79.89 kB / 0.62 GB, free: 15.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1406, allocations: 78.56 MB / 0.6967 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.2809/0.4215, allocations: 8.378 MB / 0.7049 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005684/0.4272, allocations: 2.598 MB / 0.7074 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002518/0.4297, allocations: 12.72 kB / 0.7074 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.4312, allocations: 318.5 kB / 0.7078 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004139/0.4354, allocations: 1.192 MB / 0.7089 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.4376, allocations: 0.6775 MB / 0.7096 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004723/0.4424, allocations: 2.216 MB / 0.7117 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007614/0.4431, allocations: 295.9 kB / 0.712 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00221/0.4453, allocations: 0.911 MB / 0.7129 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/0.4475, allocations: 1.138 MB / 0.714 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003643/0.4479, allocations: 182.9 kB / 0.7142 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009747/0.4489, allocations: 418 kB / 0.7146 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005661/0.4494, allocations: 464.4 kB / 0.715 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001275/0.4507, allocations: 0.9028 MB / 0.7159 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003468/0.4542, allocations: 2.298 MB / 0.7182 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4542, allocations: 4 kB / 0.7182 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4542, allocations: 0 / 0.7182 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.036e-05/0.4542, allocations: 0 / 0.7182 GB, free: 12.48 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.0141/0.4683, allocations: 3.624 MB / 0.7217 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.4684, allocations: 9.656 kB / 0.7217 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.101e-05/0.4684, allocations: 24.97 kB / 0.7217 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002768/0.4687, allocations: 157.2 kB / 0.7219 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005147/0.4739, allocations: 0.7601 MB / 0.7226 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002618/0.4765, allocations: 1.118 MB / 0.7237 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005488/0.477, allocations: 437.2 kB / 0.7241 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003082/0.4773, allocations: 113.2 kB / 0.7243 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00373/0.4811, allocations: 1.438 MB / 0.7257 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.4811, allocations: 3.125 kB / 0.7257 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.4812, allocations: 44.75 kB / 0.7257 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.785e-05/0.4813, allocations: 23.66 kB / 0.7257 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003608/0.4849, allocations: 1.371 MB / 0.7271 GB, free: 8.457 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 preOpt removeSimpleEquations (simulation): time 0.01052/0.4954, allocations: 4.931 MB / 0.7319 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008789/0.5042, allocations: 2.807 MB / 0.7346 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00242/0.5066, allocations: 0.8353 MB / 0.7354 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/0.5068, allocations: 26.25 kB / 0.7355 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002542/0.5093, allocations: 1.079 MB / 0.7365 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=127): time 3.517e-06/0.5093, allocations: 0 / 0.7365 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=127): time 0.04442/0.5537, allocations: 10 MB / 0.7463 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.5538, allocations: 124.8 kB / 0.7464 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002737/0.5566, allocations: 1.409 MB / 0.7478 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004856/0.5571, allocations: 51.2 kB / 0.7478 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005885/0.5577, allocations: 0.6071 MB / 0.7484 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007879/0.5584, allocations: 483 kB / 0.7489 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007556/0.5592, allocations: 345.1 kB / 0.7492 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.5593, allocations: 305.1 kB / 0.7495 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002364/0.5617, allocations: 0.9862 MB / 0.7505 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002727/0.5644, allocations: 1.183 MB / 0.7516 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005027/0.5694, allocations: 2.101 MB / 0.7537 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-05/0.5695, allocations: 4 kB / 0.7537 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.0116/0.5811, allocations: 3.837 MB / 0.7574 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.5811, allocations: 11.98 kB / 0.7574 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.5811, allocations: 7.938 kB / 0.7574 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01118/0.5923, allocations: 3.032 MB / 0.7604 GB, free: 372 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/0.5938, allocations: 271.6 kB / 0.7607 GB, free: 100 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00813/0.602, allocations: 3.028 MB / 0.7636 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002772/0.6047, allocations: 258.8 kB / 0.7639 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002832/0.605, allocations: 63.98 kB / 0.7639 GB, free: 12.71 MB / 0.5294 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.0007548/0.6058, allocations: 306.2 kB / 0.7642 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004453/0.6062, allocations: 170.9 kB / 0.7644 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01731/0.6235, allocations: 4.854 MB / 0.7691 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.189e-05/0.6235, allocations: 12 kB / 0.7691 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.6236, allocations: 3.984 kB / 0.7691 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4e-05/0.6236, allocations: 7.984 kB / 0.7691 GB, free: 7.336 MB / 0.5294 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.0211/0.6447, allocations: 6.899 MB / 0.7759 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.6447, allocations: 0 / 0.7759 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.6457, allocations: 151.8 kB / 0.776 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008406/0.6541, allocations: 2.196 MB / 0.7782 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003016/0.6544, allocations: 32 kB / 0.7782 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02879/0.6832, allocations: 10.21 MB / 0.7882 GB, free: 3.566 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.6832, allocations: 7.938 kB / 0.7882 GB, free: 3.559 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02035/0.7036, allocations: 5.968 MB / 0.794 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000721/0.7043, allocations: 279.7 kB / 0.7943 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004788/0.7048, allocations: 28 kB / 0.7943 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/0.7066, allocations: 135.8 kB / 0.7944 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008924/0.7075, allocations: 269.2 kB / 0.7947 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/0.7076, allocations: 35.98 kB / 0.7947 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00166/0.7093, allocations: 0.9503 MB / 0.7956 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7093, allocations: 7.938 kB / 0.7957 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001779/0.7111, allocations: 0.5387 MB / 0.7962 GB, free: 11.31 MB / 0.5606 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.02061/0.7317, allocations: 6.575 MB / 0.8026 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01006/0.7417, allocations: 2.78 MB / 0.8053 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.7417, allocations: 4 kB / 0.8053 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007224/0.749, allocations: 1.895 MB / 0.8072 GB, free: 0 / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.7506, allocations: 135.9 kB / 0.8073 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04891/0.7995, allocations: 19.07 MB / 0.8259 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008941/0.8004, allocations: 1.223 MB / 0.8271 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006922/0.8011, allocations: 138 kB / 0.8273 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009665/0.8021, allocations: 0.6086 MB / 0.8278 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of SimCode: time 9.32e-07/0.8021, allocations: 3.938 kB / 0.8278 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09108/0.8931, allocations: 44.74 MB / 0.8715 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.13/16.02, allocations: 11.09 kB / 0.8716 GB, free: 13.85 MB / 0.6387 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 & /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: 20.037621222960297] Failed to read output from testmodel.py, exit status != 0: 16.195113442023285 16.216970443 15.758537444 Calling exit ...