Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.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.001368/0.001368, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] 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.001549/0.001549, allocations: 213.1 kB / 23.73 MB, free: 4.16 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.577/1.577, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2716/0.2716, allocations: 38.55 MB / 352.5 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 179] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") [Timeout 660] "Notification: PowerSystems 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.002108/0.002108, allocations: 71.88 kB / 493 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4146, allocations: 62.47 MB / 0.5424 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.008062/0.4226, allocations: 5.127 MB / 0.5474 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005097/0.4277, allocations: 2.167 MB / 0.5496 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000682/0.4284, allocations: 38.81 kB / 0.5496 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.4295, allocations: 268.7 kB / 0.5498 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.4306, allocations: 349 kB / 0.5502 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.4319, allocations: 0.5072 MB / 0.5507 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001611/0.4336, allocations: 1.061 MB / 0.5517 GB, free: 9.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009359/0.4345, allocations: 0.5362 MB / 0.5522 GB, free: 8.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007121/0.4352, allocations: 419.6 kB / 0.5526 GB, free: 8.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006065/0.4358, allocations: 377.3 kB / 0.553 GB, free: 8.305 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.436, allocations: 80.94 kB / 0.5531 GB, free: 8.305 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007044/0.4367, allocations: 317 kB / 0.5534 GB, free: 8.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002679/0.4369, allocations: 221.3 kB / 0.5536 GB, free: 7.996 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003539/0.4373, allocations: 307.9 kB / 0.5539 GB, free: 7.777 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.4389, allocations: 1.091 MB / 0.5549 GB, free: 6.977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4389, allocations: 0 / 0.5549 GB, free: 6.977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4389, allocations: 0 / 0.5549 GB, free: 6.977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.4389, allocations: 1.219 kB / 0.5549 GB, free: 6.977 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002711/0.4416, allocations: 1.068 MB / 0.556 GB, free: 6.156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.4417, allocations: 16.92 kB / 0.556 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009675/0.4426, allocations: 163.6 kB / 0.5562 GB, free: 6.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.4439, allocations: 0.5426 MB / 0.5567 GB, free: 5.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.42e-05/0.444, allocations: 49.67 kB / 0.5567 GB, free: 5.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.4441, allocations: 64.33 kB / 0.5568 GB, free: 5.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.4456, allocations: 0.8153 MB / 0.5576 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.4456, allocations: 0 / 0.5576 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.967e-05/0.4457, allocations: 31.98 kB / 0.5576 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.897e-05/0.4457, allocations: 33.23 kB / 0.5577 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.4471, allocations: 0.6297 MB / 0.5583 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004852/0.4519, allocations: 2.521 MB / 0.5607 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.4533, allocations: 0.5992 MB / 0.5613 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004697/0.4538, allocations: 218.9 kB / 0.5615 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.119e-05/0.4538, allocations: 12.44 kB / 0.5615 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.4539, allocations: 39 kB / 0.5616 GB, free: 332 kB / 398.1 MB Notification: Performance of pre-optimization done (n=49): time 2.074e-06/0.4539, allocations: 0 / 0.5616 GB, free: 332 kB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.001654/0.4555, allocations: 0.7017 MB / 0.5623 GB, free: 15.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.4556, allocations: 133 kB / 0.5624 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008115/0.4565, allocations: 0.4988 MB / 0.5629 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.398e-05/0.4565, allocations: 37.7 kB / 0.5629 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003464/0.4569, allocations: 360.7 kB / 0.5633 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/0.4571, allocations: 182.4 kB / 0.5634 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.4572, allocations: 102.4 kB / 0.5635 GB, free: 14.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002408/0.4575, allocations: 370.8 kB / 0.5639 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005114/0.458, allocations: 219.3 kB / 0.5641 GB, free: 13.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007038/0.4587, allocations: 401.7 kB / 0.5645 GB, free: 13.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.4598, allocations: 0.5567 MB / 0.565 GB, free: 12.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.4598, allocations: 0 / 0.565 GB, free: 12.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001844/0.4616, allocations: 0.7772 MB / 0.5658 GB, free: 11.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4617, allocations: 8 kB / 0.5658 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.4617, allocations: 4 kB / 0.5658 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004438/0.4621, allocations: 117.2 kB / 0.5659 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005891/0.4627, allocations: 131.8 kB / 0.566 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003315/0.466, allocations: 2.282 MB / 0.5683 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004853/0.4665, allocations: 83.64 kB / 0.5683 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-05/0.4665, allocations: 24 kB / 0.5684 GB, free: 9.066 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000678/0.4672, allocations: 365.3 kB / 0.5687 GB, free: 8.707 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005674/0.4678, allocations: 381.7 kB / 0.5691 GB, free: 8.266 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009982/0.4688, allocations: 0.5334 MB / 0.5696 GB, free: 7.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.4688, allocations: 0 / 0.5696 GB, free: 7.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001391/0.4702, allocations: 0.6878 MB / 0.5703 GB, free: 6.984 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.4702, allocations: 14.72 kB / 0.5703 GB, free: 6.973 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.4702, allocations: 4.188 kB / 0.5703 GB, free: 6.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002753/0.4705, allocations: 100.7 kB / 0.5704 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000544/0.471, allocations: 135.7 kB / 0.5705 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/0.4734, allocations: 2.072 MB / 0.5725 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004521/0.4739, allocations: 71.58 kB / 0.5726 GB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.4739, allocations: 20 kB / 0.5726 GB, free: 4.473 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,powerPlant.throttleCosts.local_reset,powerPlant.hotwellLevel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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 {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002185/0.4741, allocations: 208.5 kB / 0.5728 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.4743, allocations: 67.69 kB / 0.5729 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.4755, allocations: 0.5569 MB / 0.5734 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4755, allocations: 4 kB / 0.5734 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4755, allocations: 3.938 kB / 0.5734 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.4756, allocations: 7.984 kB / 0.5734 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/0.4777, allocations: 1.119 MB / 0.5745 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4777, allocations: 0 / 0.5745 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000577/0.4783, allocations: 115.9 kB / 0.5746 GB, free: 2.348 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.4783, allocations: 11.92 kB / 0.5746 GB, free: 2.336 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.126e-05/0.4784, allocations: 12 kB / 0.5747 GB, free: 2.324 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.4784, allocations: 3.938 kB / 0.5747 GB, free: 2.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4784, allocations: 4 kB / 0.5747 GB, free: 2.316 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.4801, allocations: 0.8987 MB / 0.5755 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/0.4803, allocations: 107.5 kB / 0.5756 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.827e-05/0.4804, allocations: 15.94 kB / 0.5757 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.4808, allocations: 35.95 kB / 0.5757 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.4809, allocations: 40.38 kB / 0.5757 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.4809, allocations: 11.98 kB / 0.5757 GB, free: 1.191 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005636/0.4815, allocations: 354.9 kB / 0.5761 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4815, allocations: 3.938 kB / 0.5761 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009967/0.4825, allocations: 287.2 kB / 0.5764 GB, free: 0.5625 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (powerPlant.rotor.phi,powerPlant.rotor.w,powerPlant.evaporator.y,powerPlant.superheater1.y,powerPlant.superheater2.y,powerPlant.transferFunction.x_scaled[1],powerPlant.hotwellLevel.y,powerPlant.throttleDynamics.y,powerPlant.throttleCosts.y) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001581/0.4826, allocations: 107.2 kB / 0.5765 GB, free: 456 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002128/0.4847, allocations: 1.06 MB / 0.5775 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.4848, allocations: 0 / 0.5775 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005088/0.4853, allocations: 239.2 kB / 0.5777 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007602/0.486, allocations: 146.4 kB / 0.5779 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.4889, allocations: 1.499 MB / 0.5793 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.4893, allocations: 354.7 kB / 0.5797 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004138/0.4897, allocations: 112.3 kB / 0.5798 GB, free: 12.99 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.4898, allocations: 35.44 kB / 0.5798 GB, free: 12.95 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4898, allocations: 0 / 0.5798 GB, free: 12.95 MB / 430.1 MB Notification: Performance of Templates: time 0.01744/0.5073, allocations: 8.365 MB / 0.588 GB, free: 4.676 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.684994608163834] Failed to read output from testmodel.py, exit status != 0: 0.517606507986784 0.533782085 0.09059072600000001 Calling exit ...