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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001063/0.001063, allocations: 179.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.185/1.185, allocations: 194.5 MB / 211.6 MB, free: 3.051 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00161/0.00161, allocations: 109.2 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1575/0.1575, allocations: 37.99 MB / 340.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003355, allocations: 8 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07671/0.07706, allocations: 53.23 MB / 457 MB, free: 15.56 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2829/0.3601, allocations: 99.36 MB / 0.5433 GB, free: 12.47 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.3603, allocations: 88.2 kB / 0.5434 GB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06764/0.428, allocations: 27.5 MB / 0.5703 GB, free: 5.551 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.428, allocations: 0 / 0.5703 GB, free: 5.551 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.339e-05/0.4281, allocations: 23.94 kB / 0.5703 GB, free: 5.527 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001975/0.43, allocations: 1.074 MB / 0.5713 GB, free: 4.457 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.4301, allocations: 16.02 kB / 0.5713 GB, free: 4.441 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.4314, allocations: 206.8 kB / 0.5715 GB, free: 4.238 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.4325, allocations: 0.6048 MB / 0.5721 GB, free: 3.695 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.279e-05/0.4325, allocations: 49.38 kB / 0.5722 GB, free: 3.668 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.4326, allocations: 72.06 kB / 0.5722 GB, free: 3.617 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.434, allocations: 0.8228 MB / 0.573 GB, free: 3.012 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.434, allocations: 11.86 kB / 0.5731 GB, free: 3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.5e-05/0.4341, allocations: 25.44 kB / 0.5731 GB, free: 2.992 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.432e-05/0.4342, allocations: 41.05 kB / 0.5731 GB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.4356, allocations: 0.7569 MB / 0.5739 GB, free: 2.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004143/0.4397, allocations: 2.876 MB / 0.5767 GB, free: 128 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.4413, allocations: 0.9688 MB / 0.5776 GB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.732e-05/0.4414, allocations: 8.625 kB / 0.5776 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.4414, allocations: 37.31 kB / 0.5777 GB, free: 15.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=58): time 2.124e-06/0.4414, allocations: 0 / 0.5777 GB, free: 15.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=62): time 0.004592/0.446, allocations: 2.551 MB / 0.5802 GB, free: 13.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/0.4461, allocations: 115 kB / 0.5803 GB, free: 13.03 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006592/0.4468, allocations: 481.8 kB / 0.5807 GB, free: 12.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.634e-05/0.4468, allocations: 35.52 kB / 0.5808 GB, free: 12.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.447, allocations: 346.1 kB / 0.5811 GB, free: 12.38 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.4472, allocations: 222.3 kB / 0.5813 GB, free: 12.19 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.4473, allocations: 10.5 kB / 0.5813 GB, free: 12.19 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4474, allocations: 380.1 kB / 0.5817 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000534/0.448, allocations: 269.8 kB / 0.5819 GB, free: 11.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006059/0.4486, allocations: 385.2 kB / 0.5823 GB, free: 11.33 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006024/0.4492, allocations: 314.1 kB / 0.5826 GB, free: 11.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.4492, allocations: 0 / 0.5826 GB, free: 11.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00156/0.4508, allocations: 0.815 MB / 0.5834 GB, free: 10.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000447/0.4512, allocations: 1.147 MB / 0.5845 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.4512, allocations: 0 / 0.5845 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002786/0.4515, allocations: 64.8 kB / 0.5846 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007337/0.4523, allocations: 179.7 kB / 0.5847 GB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.454, allocations: 1.634 MB / 0.5863 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005706/0.4546, allocations: 56.02 kB / 0.5864 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.24e-05/0.4547, allocations: 24 kB / 0.5864 GB, free: 6.945 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.4547, allocations: 4 kB / 0.5864 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001398/0.4561, allocations: 0.7009 MB / 0.5871 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.4561, allocations: 4 kB / 0.5871 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002071/0.4563, allocations: 61.08 kB / 0.5872 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007029/0.4571, allocations: 172.1 kB / 0.5873 GB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.4586, allocations: 1.643 MB / 0.5889 GB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000505/0.4591, allocations: 52.02 kB / 0.589 GB, free: 4.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.297e-05/0.4592, allocations: 27.95 kB / 0.589 GB, free: 4.152 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * 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 initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004328/0.4596, allocations: 316.9 kB / 0.5893 GB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.4597, allocations: 63.25 kB / 0.5894 GB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.4613, allocations: 0.7796 MB / 0.5901 GB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.4614, allocations: 8.281 kB / 0.5901 GB, free: 2.965 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.4614, allocations: 0 / 0.5901 GB, free: 2.965 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.4614, allocations: 3.984 kB / 0.5901 GB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003859/0.4652, allocations: 2.124 MB / 0.5922 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.4653, allocations: 4.094 kB / 0.5922 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005679/0.4658, allocations: 139.8 kB / 0.5924 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001919/0.466, allocations: 60.75 kB / 0.5924 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.177e-05/0.4661, allocations: 24 kB / 0.5924 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/0.4674, allocations: 1.588 MB / 0.594 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.4675, allocations: 11.94 kB / 0.594 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002215/0.4697, allocations: 1.613 MB / 0.5956 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/0.47, allocations: 196.2 kB / 0.5958 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.365e-05/0.4701, allocations: 20 kB / 0.5958 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004793/0.4706, allocations: 59.91 kB / 0.5958 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.4707, allocations: 67.81 kB / 0.5959 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.485e-05/0.4708, allocations: 31.92 kB / 0.5959 GB, free: 12.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005778/0.4713, allocations: 382.8 kB / 0.5963 GB, free: 12.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4713, allocations: 3.938 kB / 0.5963 GB, free: 12.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001011/0.4724, allocations: 256.7 kB / 0.5965 GB, free: 11.87 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002016/0.4726, allocations: 136 kB / 0.5967 GB, free: 11.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0023/0.4749, allocations: 1.24 MB / 0.5979 GB, free: 10.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.4749, allocations: 4 kB / 0.5979 GB, free: 10.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000885/0.4758, allocations: 0.5075 MB / 0.5984 GB, free: 9.938 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006589/0.4765, allocations: 136.3 kB / 0.5985 GB, free: 9.809 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.4795, allocations: 1.938 MB / 0.6004 GB, free: 7.762 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006121/0.4801, allocations: 0.9858 MB / 0.6014 GB, free: 6.746 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005608/0.4807, allocations: 136.7 kB / 0.6015 GB, free: 6.613 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.4808, allocations: 51.42 kB / 0.6016 GB, free: 6.562 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.4809, allocations: 0 / 0.6016 GB, free: 6.562 MB / 410.7 MB Notification: Performance of Templates: time 0.01372/0.4946, allocations: 7.339 MB / 0.6087 GB, free: 15.23 MB / 426.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.makefile (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)