Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.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.001745/0.001745, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002059/0.002059, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.518/1.518, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.1873/0.1873, allocations: 38.56 MB / 353.2 MB, free: 12.41 MB / 286.1 MB " [Timeout remaining time 180] 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.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") [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.002359/0.002359, allocations: 67.89 kB / 493.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3244, allocations: 62.47 MB / 0.5432 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.007486/0.3319, allocations: 5.158 MB / 0.5482 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003927/0.3358, allocations: 2.171 MB / 0.5503 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004419/0.3362, allocations: 33.53 kB / 0.5504 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.3372, allocations: 278.3 kB / 0.5506 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008174/0.3381, allocations: 349.9 kB / 0.5509 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.3392, allocations: 0.5059 MB / 0.5514 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001208/0.3404, allocations: 1.074 MB / 0.5525 GB, free: 9.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008186/0.3412, allocations: 0.5429 MB / 0.553 GB, free: 8.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006314/0.3419, allocations: 438.3 kB / 0.5534 GB, free: 8.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000529/0.3424, allocations: 371 kB / 0.5538 GB, free: 8.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.3425, allocations: 81.81 kB / 0.5539 GB, free: 8.266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005294/0.343, allocations: 318.2 kB / 0.5542 GB, free: 8.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.3433, allocations: 226.1 kB / 0.5544 GB, free: 7.953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003125/0.3436, allocations: 304.7 kB / 0.5547 GB, free: 7.738 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.3448, allocations: 1.102 MB / 0.5558 GB, free: 6.926 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3448, allocations: 0 / 0.5558 GB, free: 6.926 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3448, allocations: 5.062 kB / 0.5558 GB, free: 6.922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.3449, allocations: 0 / 0.5558 GB, free: 6.922 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.002193/0.3471, allocations: 1.08 MB / 0.5568 GB, free: 6.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.3471, allocations: 13.58 kB / 0.5568 GB, free: 6.094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008789/0.348, allocations: 173.1 kB / 0.557 GB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.3491, allocations: 0.5435 MB / 0.5575 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.696e-05/0.3491, allocations: 45.69 kB / 0.5576 GB, free: 5.359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.3492, allocations: 64.33 kB / 0.5576 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.3507, allocations: 0.8308 MB / 0.5584 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.3507, allocations: 8 kB / 0.5585 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.269e-05/0.3508, allocations: 24 kB / 0.5585 GB, free: 4.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-05/0.3508, allocations: 29.3 kB / 0.5585 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.3522, allocations: 0.653 MB / 0.5591 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004168/0.3564, allocations: 2.556 MB / 0.5616 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.3579, allocations: 0.6306 MB / 0.5623 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005222/0.3584, allocations: 235 kB / 0.5625 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.009e-05/0.3584, allocations: 8.422 kB / 0.5625 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.3585, allocations: 46.94 kB / 0.5625 GB, free: 108 kB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.825e-06/0.3585, allocations: 3.938 kB / 0.5625 GB, free: 104 kB / 398.1 MB Notification: Performance of matching and sorting (n=50): time 0.001832/0.3603, allocations: 0.7486 MB / 0.5633 GB, free: 15.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/0.3604, allocations: 137 kB / 0.5634 GB, free: 15.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007266/0.3611, allocations: 0.5036 MB / 0.5639 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.825e-05/0.3612, allocations: 37.7 kB / 0.5639 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/0.3615, allocations: 364.7 kB / 0.5643 GB, free: 14.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.3616, allocations: 182.4 kB / 0.5644 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.3618, allocations: 110.3 kB / 0.5645 GB, free: 13.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.362, allocations: 374.8 kB / 0.5649 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005415/0.3625, allocations: 227.4 kB / 0.5651 GB, free: 13.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006672/0.3632, allocations: 421.7 kB / 0.5655 GB, free: 12.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.3643, allocations: 0.5773 MB / 0.5661 GB, free: 12.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3644, allocations: 0 / 0.5661 GB, free: 12.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001907/0.3663, allocations: 0.8176 MB / 0.5669 GB, free: 11.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.3663, allocations: 8 kB / 0.5669 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.3663, allocations: 4 kB / 0.5669 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004207/0.3667, allocations: 109.3 kB / 0.567 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005949/0.3673, allocations: 143.8 kB / 0.5671 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003126/0.3704, allocations: 2.274 MB / 0.5694 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005614/0.371, allocations: 79.69 kB / 0.5694 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/0.371, allocations: 20 kB / 0.5695 GB, free: 8.695 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007694/0.3718, allocations: 385.3 kB / 0.5698 GB, free: 8.316 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006286/0.3724, allocations: 409.7 kB / 0.5702 GB, free: 7.848 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001064/0.3735, allocations: 0.554 MB / 0.5708 GB, free: 7.246 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.525e-06/0.3735, allocations: 7.938 kB / 0.5708 GB, free: 7.238 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001564/0.3751, allocations: 0.724 MB / 0.5715 GB, free: 6.504 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3751, allocations: 11.98 kB / 0.5715 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3751, allocations: 4 kB / 0.5715 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002956/0.3754, allocations: 100.8 kB / 0.5716 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/0.376, allocations: 140.2 kB / 0.5717 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.3783, allocations: 2.084 MB / 0.5737 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/0.3788, allocations: 75.69 kB / 0.5738 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.3788, allocations: 20 kB / 0.5738 GB, free: 3.973 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 (61): * Single equations (assignments): 60 * 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.0002372/0.3791, allocations: 216.1 kB / 0.574 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.3792, allocations: 63.61 kB / 0.5741 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.3806, allocations: 0.596 MB / 0.5747 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3806, allocations: 4 kB / 0.5747 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.3806, allocations: 0 / 0.5747 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.3806, allocations: 3.938 kB / 0.5747 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/0.3828, allocations: 1.166 MB / 0.5758 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3828, allocations: 0 / 0.5758 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000586/0.3834, allocations: 115.9 kB / 0.5759 GB, free: 1.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3834, allocations: 4.109 kB / 0.576 GB, free: 1.762 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/0.3835, allocations: 15.94 kB / 0.576 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.3835, allocations: 7.938 kB / 0.576 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3835, allocations: 3.938 kB / 0.576 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.3853, allocations: 0.9534 MB / 0.5769 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002468/0.3855, allocations: 111.5 kB / 0.577 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.221e-05/0.3856, allocations: 12 kB / 0.577 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/0.386, allocations: 43.89 kB / 0.5771 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.3861, allocations: 44.36 kB / 0.5771 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.3861, allocations: 12 kB / 0.5771 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005432/0.3867, allocations: 358.8 kB / 0.5775 GB, free: 196 kB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3867, allocations: 288 / 0.5775 GB, free: 196 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009849/0.3877, allocations: 283.3 kB / 0.5777 GB, free: 15.91 MB / 430.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 (51): * Single equations (assignments): 50 * 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.0001513/0.3878, allocations: 123.1 kB / 0.5779 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002221/0.39, allocations: 1.104 MB / 0.5789 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.39, allocations: 0 / 0.5789 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005745/0.3906, allocations: 266.4 kB / 0.5792 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007442/0.3914, allocations: 137.6 kB / 0.5793 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.3941, allocations: 1.558 MB / 0.5808 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.3945, allocations: 350.7 kB / 0.5812 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.3947, allocations: 43.42 kB / 0.5812 GB, free: 12.27 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3947, allocations: 0 / 0.5812 GB, free: 12.27 MB / 430.1 MB Notification: Performance of Templates: time 0.01934/0.414, allocations: 10.01 MB / 0.591 GB, free: 2.273 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.687899949029088] Failed to read output from testmodel.py, exit status != 0: 0.42447290383279324 0.447538422 0.09814420400000001 Calling exit ...