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.0009695/0.0009695, allocations: 80.8 kB / 21.5 MB, free: 2.988 MB / 18.57 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.00103/0.00103, allocations: 170.2 kB / 24.92 MB, free: 9.188 MB / 18.57 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.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.2763/0.2763, allocations: 29.42 MB / 291.2 MB, free: 2.465 MB / 266.7 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: Performance of FrontEnd - loaded program: time 3.216e-06/3.216e-06, allocations: 3.984 kB / 316.8 MB, free: 0 / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.127e-05/4.448e-05, allocations: 3.188 kB / 316.8 MB, free: 16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.006197/0.006242, allocations: 5.247 MB / 322.1 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00266/0.008902, allocations: 1.917 MB / 324 MB, free: 8.793 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003317/0.009233, allocations: 31.75 kB / 324 MB, free: 8.762 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006877/0.009921, allocations: 222.4 kB / 324.2 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004915/0.01041, allocations: 317.8 kB / 324.6 MB, free: 8.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008439/0.01126, allocations: 0.5301 MB / 325.1 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009818/0.01224, allocations: 1.026 MB / 326.1 MB, free: 6.672 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006157/0.01285, allocations: 0.5662 MB / 326.7 MB, free: 6.086 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007052/0.01356, allocations: 0.5534 MB / 327.2 MB, free: 5.531 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003218/0.01388, allocations: 326.9 kB / 327.5 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.537e-05/0.01396, allocations: 84 kB / 327.6 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.01423, allocations: 251.4 kB / 327.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.01439, allocations: 227.2 kB / 328.1 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.01455, allocations: 247.3 kB / 328.3 MB, free: 4.418 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006113/0.01517, allocations: 0.6966 MB / 329 MB, free: 3.719 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.01517, allocations: 0 / 329 MB, free: 3.719 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01517, allocations: 0 / 329 MB, free: 3.719 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.01518, allocations: 0 / 329 MB, free: 3.719 MB / 298.7 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.001002/0.01618, allocations: 1.009 MB / 330 MB, free: 2.684 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.01621, allocations: 15.98 kB / 330.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005332/0.01675, allocations: 212.7 kB / 330.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005165/0.01726, allocations: 473.9 kB / 330.7 MB, free: 1.969 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.442e-05/0.0173, allocations: 45.69 kB / 330.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.852e-05/0.01737, allocations: 68.31 kB / 330.8 MB, free: 1.859 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005475/0.01791, allocations: 0.5604 MB / 331.4 MB, free: 1.242 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.01793, allocations: 4.125 kB / 331.4 MB, free: 1.238 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.01796, allocations: 24.38 kB / 331.4 MB, free: 1.215 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.585e-05/0.018, allocations: 37.23 kB / 331.5 MB, free: 1.176 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.01827, allocations: 209 kB / 331.7 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.02014, allocations: 1.955 MB / 333.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004403/0.02058, allocations: 336.3 kB / 334 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.488e-05/0.02067, allocations: 75.2 kB / 334 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.02071, allocations: 16.48 kB / 334 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.02073, allocations: 39.06 kB / 334.1 MB, free: 14.44 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 1.854e-06/0.02073, allocations: 0 / 334.1 MB, free: 14.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.0005733/0.02131, allocations: 269.8 kB / 334.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.02137, allocations: 137 kB / 334.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.02163, allocations: 431.1 kB / 334.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.02167, allocations: 37.7 kB / 334.9 MB, free: 13.53 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.0218, allocations: 290 kB / 335.2 MB, free: 13.24 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.363e-05/0.0219, allocations: 190.4 kB / 335.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.022, allocations: 102.4 kB / 335.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.02211, allocations: 378.6 kB / 335.9 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.842e-05/0.02221, allocations: 66.28 kB / 335.9 MB, free: 12.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.02238, allocations: 236.9 kB / 336.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.02264, allocations: 280.2 kB / 336.4 MB, free: 11.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.02264, allocations: 4 kB / 336.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005089/0.02315, allocations: 384.4 kB / 336.8 MB, free: 11.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.02317, allocations: 11.94 kB / 336.8 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.02318, allocations: 7.984 kB / 336.8 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002692/0.02345, allocations: 89.03 kB / 336.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.02372, allocations: 119.9 kB / 337 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.02488, allocations: 1.712 MB / 338.8 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.02504, allocations: 59.61 kB / 338.8 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.02507, allocations: 16 kB / 338.8 MB, free: 9.395 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001616/0.02523, allocations: 155.1 kB / 339 MB, free: 9.238 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001711/0.0254, allocations: 237 kB / 339.2 MB, free: 8.938 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002424/0.02564, allocations: 277.4 kB / 339.5 MB, free: 8.621 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.02564, allocations: 0 / 339.5 MB, free: 8.621 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.000412/0.02606, allocations: 368.5 kB / 339.8 MB, free: 8.254 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.02607, allocations: 8 kB / 339.9 MB, free: 8.246 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.02607, allocations: 4 kB / 339.9 MB, free: 8.242 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001502/0.02622, allocations: 72 kB / 339.9 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.02649, allocations: 127.8 kB / 340.1 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.02775, allocations: 1.654 MB / 341.7 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.02793, allocations: 59.66 kB / 341.8 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.02795, allocations: 16 kB / 341.8 MB, free: 6.223 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,powerPlant.hotwellLevel.local_reset,powerPlant.throttleCosts.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.0001348/0.02808, allocations: 213.9 kB / 342 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.94e-05/0.02814, allocations: 47.95 kB / 342 MB, free: 5.961 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003449/0.02849, allocations: 276.9 kB / 342.3 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.02849, allocations: 4 kB / 342.3 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.02849, allocations: 8.031 kB / 342.3 MB, free: 5.672 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.0285, allocations: 3.984 kB / 342.3 MB, free: 5.668 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006893/0.02919, allocations: 0.6455 MB / 343 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.02919, allocations: 112 / 343 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.02946, allocations: 115.8 kB / 343.1 MB, free: 4.879 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.02947, allocations: 0 / 343.1 MB, free: 4.879 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.02949, allocations: 12 kB / 343.1 MB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.02949, allocations: 7.938 kB / 343.1 MB, free: 4.859 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.02949, allocations: 8 kB / 343.1 MB, free: 4.852 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004087/0.0299, allocations: 470.3 kB / 343.6 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.03, allocations: 79.38 kB / 343.6 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.03004, allocations: 12 kB / 343.7 MB, free: 4.285 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.03017, allocations: 23.98 kB / 343.7 MB, free: 4.262 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/0.03024, allocations: 36.42 kB / 343.7 MB, free: 4.227 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.03026, allocations: 11.94 kB / 343.7 MB, free: 4.215 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001376/0.0304, allocations: 200.4 kB / 343.9 MB, free: 4.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0304, allocations: 0 / 343.9 MB, free: 4.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005029/0.0309, allocations: 287.2 kB / 344.2 MB, free: 3.738 MB / 314.7 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.0001451/0.03105, allocations: 92.34 kB / 344.3 MB, free: 3.641 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007565/0.0318, allocations: 0.6786 MB / 345 MB, free: 2.934 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/0.03181, allocations: 12 kB / 345 MB, free: 2.922 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.03196, allocations: 120.7 kB / 345.1 MB, free: 2.801 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.03242, allocations: 156.1 kB / 345.3 MB, free: 2.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.03457, allocations: 1.259 MB / 346.5 MB, free: 1.367 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.03471, allocations: 158.9 kB / 346.7 MB, free: 1.191 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000261/0.03497, allocations: 76.36 kB / 346.7 MB, free: 1.113 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.03525, allocations: 151.3 kB / 346.9 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.03525, allocations: 0 / 346.9 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of Templates: time 0.01418/0.04943, allocations: 8.626 MB / 355.5 MB, free: 8.457 MB / 330.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1776071209460497]