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.0009507/0.0009508, allocations: 179.4 kB / 17.4 MB, free: 4.418 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.365/1.365, allocations: 194.5 MB / 212.6 MB, free: 2.961 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.001676/0.001676, allocations: 115.2 kB / 257.9 MB, free: 4.289 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1776/0.1776, allocations: 38.02 MB / 341.1 MB, free: 1.207 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004033, allocations: 12 kB / 405 MB, free: 68.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1021, allocations: 53.24 MB / 458.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3657/0.4678, allocations: 99.41 MB / 0.5446 GB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.4681, allocations: 95.84 kB / 0.5447 GB, free: 12.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07408/0.5422, allocations: 27.54 MB / 0.5716 GB, free: 5.172 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5423, allocations: 3.938 kB / 0.5716 GB, free: 5.168 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.893e-05/0.5424, allocations: 20 kB / 0.5716 GB, free: 5.148 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.002964/0.5454, allocations: 1.074 MB / 0.5727 GB, free: 4.074 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.5454, allocations: 8.031 kB / 0.5727 GB, free: 4.066 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/0.5475, allocations: 203.7 kB / 0.5729 GB, free: 3.867 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/0.5493, allocations: 0.6285 MB / 0.5735 GB, free: 3.293 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-05/0.5494, allocations: 49.19 kB / 0.5735 GB, free: 3.266 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/0.5496, allocations: 61.31 kB / 0.5736 GB, free: 3.227 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.5514, allocations: 0.8338 MB / 0.5744 GB, free: 2.609 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.613e-05/0.5515, allocations: 4.094 kB / 0.5744 GB, free: 2.605 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-05/0.5515, allocations: 31.5 kB / 0.5744 GB, free: 2.594 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/0.5517, allocations: 44.73 kB / 0.5745 GB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.5533, allocations: 0.7599 MB / 0.5752 GB, free: 2.027 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00511/0.5584, allocations: 2.87 MB / 0.578 GB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.5601, allocations: 0.9687 MB / 0.579 GB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005734/0.5607, allocations: 316.9 kB / 0.5793 GB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-05/0.5608, allocations: 12.55 kB / 0.5793 GB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.5608, allocations: 45.94 kB / 0.5793 GB, free: 14.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=58): time 2.815e-06/0.5608, allocations: 0 / 0.5793 GB, free: 14.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=62): time 0.005231/0.5661, allocations: 2.545 MB / 0.5818 GB, free: 12.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.5662, allocations: 115.3 kB / 0.5819 GB, free: 12.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008632/0.5671, allocations: 0.5371 MB / 0.5824 GB, free: 11.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.256e-05/0.5672, allocations: 39.45 kB / 0.5825 GB, free: 11.94 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.5674, allocations: 341.3 kB / 0.5828 GB, free: 11.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/0.5677, allocations: 209.8 kB / 0.583 GB, free: 11.53 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.5677, allocations: 13.91 kB / 0.583 GB, free: 11.53 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.5679, allocations: 388.1 kB / 0.5834 GB, free: 11.17 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005903/0.5685, allocations: 266.2 kB / 0.5836 GB, free: 10.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006445/0.5692, allocations: 387 kB / 0.584 GB, free: 10.51 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.5705, allocations: 0.67 MB / 0.5847 GB, free: 9.801 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.5705, allocations: 4 kB / 0.5847 GB, free: 9.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001628/0.5721, allocations: 0.8111 MB / 0.5855 GB, free: 8.977 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.5723, allocations: 181.9 kB / 0.5856 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.5723, allocations: 0 / 0.5856 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002901/0.5726, allocations: 60.81 kB / 0.5857 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007131/0.5733, allocations: 179.8 kB / 0.5859 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.5751, allocations: 1.628 MB / 0.5875 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005483/0.5757, allocations: 56.02 kB / 0.5875 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/0.5758, allocations: 27.98 kB / 0.5875 GB, free: 6.672 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.629e-06/0.5758, allocations: 4 kB / 0.5875 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001381/0.5772, allocations: 0.6971 MB / 0.5882 GB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.5772, allocations: 4 kB / 0.5882 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002043/0.5774, allocations: 60.75 kB / 0.5883 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006736/0.5781, allocations: 172.1 kB / 0.5884 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.5797, allocations: 1.62 MB / 0.59 GB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004977/0.5802, allocations: 56.02 kB / 0.5901 GB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.943e-05/0.5802, allocations: 23.98 kB / 0.5901 GB, free: 3.906 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.0005139/0.5807, allocations: 320.8 kB / 0.5904 GB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.5809, allocations: 67.16 kB / 0.5905 GB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/0.5826, allocations: 0.7797 MB / 0.5912 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.425e-06/0.5826, allocations: 11.94 kB / 0.5912 GB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.5826, allocations: 0 / 0.5912 GB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.5826, allocations: 3.984 kB / 0.5912 GB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004221/0.5869, allocations: 2.116 MB / 0.5933 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.5869, allocations: 4 kB / 0.5933 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005654/0.5875, allocations: 139.7 kB / 0.5935 GB, free: 320 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000199/0.5877, allocations: 56.81 kB / 0.5935 GB, free: 260 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.792e-05/0.5878, allocations: 23.98 kB / 0.5935 GB, free: 236 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/0.5892, allocations: 1.584 MB / 0.5951 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/0.5892, allocations: 16 kB / 0.5951 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.5915, allocations: 1.32 MB / 0.5964 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003382/0.5918, allocations: 200.1 kB / 0.5966 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.5919, allocations: 27.98 kB / 0.5966 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004931/0.5924, allocations: 55.95 kB / 0.5967 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.5926, allocations: 67.8 kB / 0.5967 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-05/0.5926, allocations: 24 kB / 0.5967 GB, free: 12.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006425/0.5933, allocations: 382.8 kB / 0.5971 GB, free: 12.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5933, allocations: 0 / 0.5971 GB, free: 12.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001234/0.5945, allocations: 256.8 kB / 0.5973 GB, free: 12.08 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.000224/0.5948, allocations: 127.7 kB / 0.5975 GB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002559/0.5973, allocations: 1.243 MB / 0.5987 GB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.5974, allocations: 0 / 0.5987 GB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009883/0.5984, allocations: 0.5075 MB / 0.5992 GB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.5999, allocations: 152.3 kB / 0.5993 GB, free: 10.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.6036, allocations: 1.934 MB / 0.6012 GB, free: 7.969 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000743/0.6044, allocations: 0.9781 MB / 0.6022 GB, free: 6.961 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006195/0.605, allocations: 132.7 kB / 0.6023 GB, free: 6.828 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.6052, allocations: 51.44 kB / 0.6023 GB, free: 6.777 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6053, allocations: 0 / 0.6023 GB, free: 6.777 MB / 410.7 MB Notification: Performance of Templates: time 0.01554/0.6208, allocations: 7.405 MB / 0.6096 GB, free: 15.38 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)