Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 250.8 MB, free: 13.39 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.1824/0.1824, allocations: 38.5 MB / 344.4 MB, free: 2.535 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 59.91 kB / 482 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3515, allocations: 61.24 MB / 0.5305 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.007043/0.3586, allocations: 6.036 MB / 0.5364 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005039/0.3636, allocations: 2.762 MB / 0.5391 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008263/0.3644, allocations: 27.41 kB / 0.5392 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.3658, allocations: 394.2 kB / 0.5395 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.3674, allocations: 482.7 kB / 0.54 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.3689, allocations: 0.5654 MB / 0.5406 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001782/0.3707, allocations: 1.206 MB / 0.5417 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009711/0.3717, allocations: 0.5186 MB / 0.5422 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007594/0.3725, allocations: 479 kB / 0.5427 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007176/0.3732, allocations: 493.2 kB / 0.5432 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.3733, allocations: 90.5 kB / 0.5433 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.3744, allocations: 0.5321 MB / 0.5438 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004232/0.3748, allocations: 268.8 kB / 0.544 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006339/0.3754, allocations: 438.8 kB / 0.5444 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.3773, allocations: 1.243 MB / 0.5457 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3773, allocations: 5.234 kB / 0.5457 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3773, allocations: 0 / 0.5457 GB, free: 10.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.3774, allocations: 0 / 0.5457 GB, free: 10.47 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002477/0.3798, allocations: 1.236 MB / 0.5469 GB, free: 9.496 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.3799, allocations: 12.98 kB / 0.5469 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.3812, allocations: 208 kB / 0.5471 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.3825, allocations: 0.6488 MB / 0.5477 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.727e-05/0.3826, allocations: 48.56 kB / 0.5478 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.3827, allocations: 73.67 kB / 0.5478 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.3845, allocations: 0.8792 MB / 0.5487 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.3845, allocations: 1.344 kB / 0.5487 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-05/0.3846, allocations: 26.62 kB / 0.5487 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.809e-05/0.3847, allocations: 42.59 kB / 0.5488 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/0.3863, allocations: 0.7848 MB / 0.5495 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005803/0.3921, allocations: 3.236 MB / 0.5527 GB, free: 5.266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.3939, allocations: 0.9318 MB / 0.5536 GB, free: 4.613 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006405/0.3946, allocations: 284.7 kB / 0.5539 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.48e-05/0.3947, allocations: 16.53 kB / 0.5539 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.3947, allocations: 43.12 kB / 0.5539 GB, free: 4.348 MB / 398.1 MB Notification: Performance of pre-optimization done (n=59): time 3.186e-06/0.3947, allocations: 0 / 0.5539 GB, free: 4.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=63): time 0.005738/0.4004, allocations: 2.554 MB / 0.5564 GB, free: 1.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.464e-05/0.4005, allocations: 111.4 kB / 0.5565 GB, free: 1.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009187/0.4015, allocations: 0.5783 MB / 0.5571 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.4015, allocations: 37.64 kB / 0.5571 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/0.4018, allocations: 372.8 kB / 0.5575 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.4021, allocations: 249.9 kB / 0.5577 GB, free: 324 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.4023, allocations: 114.7 kB / 0.5578 GB, free: 204 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000261/0.4025, allocations: 378.8 kB / 0.5582 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006168/0.4032, allocations: 268.7 kB / 0.5584 GB, free: 15.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007403/0.4039, allocations: 425.8 kB / 0.5589 GB, free: 15.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.4052, allocations: 0.6966 MB / 0.5595 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4052, allocations: 4 kB / 0.5595 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001756/0.407, allocations: 0.8348 MB / 0.5604 GB, free: 13.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.407, allocations: 4 kB / 0.5604 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.407, allocations: 4 kB / 0.5604 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000284/0.4073, allocations: 65.25 kB / 0.5604 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007892/0.4081, allocations: 179.8 kB / 0.5606 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.4101, allocations: 1.799 MB / 0.5624 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/0.4107, allocations: 48.02 kB / 0.5624 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.535e-05/0.4107, allocations: 35.92 kB / 0.5624 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008386/0.4116, allocations: 442 kB / 0.5629 GB, free: 10.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006777/0.4122, allocations: 412.6 kB / 0.5632 GB, free: 10.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001261/0.4135, allocations: 0.6655 MB / 0.5639 GB, free: 9.602 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.465e-06/0.4135, allocations: 0 / 0.5639 GB, free: 9.602 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001619/0.4151, allocations: 0.8116 MB / 0.5647 GB, free: 8.785 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.4151, allocations: 8 kB / 0.5647 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4151, allocations: 4 kB / 0.5647 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002297/0.4154, allocations: 64.75 kB / 0.5648 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007189/0.4161, allocations: 171.7 kB / 0.5649 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/0.4179, allocations: 1.806 MB / 0.5667 GB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/0.4185, allocations: 51.95 kB / 0.5667 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.79e-05/0.4185, allocations: 24.06 kB / 0.5668 GB, free: 6.527 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 79 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002665/0.4188, allocations: 216.1 kB / 0.567 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.4189, allocations: 71.53 kB / 0.567 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/0.4207, allocations: 0.7879 MB / 0.5678 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.4207, allocations: 8 kB / 0.5678 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.4207, allocations: 0 / 0.5678 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.4207, allocations: 7.984 kB / 0.5678 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004303/0.425, allocations: 2.135 MB / 0.5699 GB, free: 3.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.425, allocations: 4 kB / 0.5699 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005813/0.4256, allocations: 127.8 kB / 0.57 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002087/0.4258, allocations: 60.75 kB / 0.5701 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.547e-05/0.4259, allocations: 23.98 kB / 0.5701 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/0.4276, allocations: 1.764 MB / 0.5718 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-06/0.4276, allocations: 11.94 kB / 0.5718 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/0.4301, allocations: 1.319 MB / 0.5731 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003468/0.4304, allocations: 200.6 kB / 0.5733 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.155e-05/0.4305, allocations: 24 kB / 0.5733 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005008/0.431, allocations: 51.95 kB / 0.5734 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.4311, allocations: 71.67 kB / 0.5735 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.993e-05/0.4312, allocations: 24 kB / 0.5735 GB, free: 15.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006964/0.4319, allocations: 427 kB / 0.5739 GB, free: 14.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4319, allocations: 0 / 0.5739 GB, free: 14.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001142/0.433, allocations: 252 kB / 0.5741 GB, free: 14.55 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 7 (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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001766/0.4332, allocations: 127 kB / 0.5743 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002565/0.4358, allocations: 1.218 MB / 0.5754 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.341e-06/0.4358, allocations: 5.125 kB / 0.5755 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.4369, allocations: 500 kB / 0.5759 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.4379, allocations: 173.9 kB / 0.5761 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.4411, allocations: 1.744 MB / 0.5778 GB, free: 10.65 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007168/0.4419, allocations: 0.9821 MB / 0.5788 GB, free: 9.641 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005466/0.4424, allocations: 144.8 kB / 0.5789 GB, free: 9.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.4426, allocations: 55.42 kB / 0.5789 GB, free: 9.445 MB / 430.1 MB Notification: Performance of SimCode: time 1.342e-06/0.4426, allocations: 0 / 0.5789 GB, free: 9.445 MB / 430.1 MB Notification: Performance of Templates: time 0.01732/0.4599, allocations: 9.002 MB / 0.5877 GB, free: 0.4961 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.262529050000012]