Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.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.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001373/0.001373, 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.58/1.58, allocations: 194.5 MB / 212.6 MB, free: 2.953 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.001601/0.001601, allocations: 127.1 kB / 257.9 MB, free: 4.258 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1846/0.1846, allocations: 38.01 MB / 341.1 MB, free: 1.207 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.000364, allocations: 8 kB / 405 MB, free: 68.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08806/0.08844, allocations: 53.24 MB / 458.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3244/0.4129, allocations: 97.37 MB / 0.5426 GB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.4132, allocations: 101.3 kB / 0.5427 GB, free: 13.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05777/0.471, allocations: 21.66 MB / 0.5639 GB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4711, allocations: 0 / 0.5639 GB, free: 11.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.472e-05/0.4712, allocations: 16 kB / 0.5639 GB, free: 11.81 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002601/0.4738, allocations: 1.009 MB / 0.5649 GB, free: 10.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.4738, allocations: 8.031 kB / 0.5649 GB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.475, allocations: 175.8 kB / 0.565 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.4762, allocations: 0.5882 MB / 0.5656 GB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/0.4763, allocations: 48.62 kB / 0.5657 GB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.4765, allocations: 63.42 kB / 0.5657 GB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.4779, allocations: 0.7015 MB / 0.5664 GB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/0.4779, allocations: 8.125 kB / 0.5664 GB, free: 9.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.939e-05/0.478, allocations: 27.12 kB / 0.5664 GB, free: 9.473 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.393e-05/0.4781, allocations: 29.3 kB / 0.5665 GB, free: 9.441 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.4793, allocations: 0.6035 MB / 0.5671 GB, free: 9.027 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004164/0.4835, allocations: 2.536 MB / 0.5695 GB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.4847, allocations: 0.6911 MB / 0.5702 GB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004296/0.4852, allocations: 237.3 kB / 0.5704 GB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.149e-05/0.4852, allocations: 8.438 kB / 0.5704 GB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.4853, allocations: 38.19 kB / 0.5705 GB, free: 6.227 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 2.665e-06/0.4853, allocations: 0 / 0.5705 GB, free: 6.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.001466/0.4868, allocations: 0.6974 MB / 0.5712 GB, free: 5.699 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.4868, allocations: 114.9 kB / 0.5713 GB, free: 5.566 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007534/0.4876, allocations: 0.538 MB / 0.5718 GB, free: 5.137 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.55e-05/0.4877, allocations: 35.7 kB / 0.5718 GB, free: 5.102 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.4879, allocations: 326.2 kB / 0.5721 GB, free: 4.887 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.488, allocations: 169.5 kB / 0.5723 GB, free: 4.742 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.4881, allocations: 10.88 kB / 0.5723 GB, free: 4.738 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.4882, allocations: 368.6 kB / 0.5727 GB, free: 4.395 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004253/0.4887, allocations: 209.1 kB / 0.5729 GB, free: 4.258 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004885/0.4892, allocations: 318.6 kB / 0.5732 GB, free: 3.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009255/0.4901, allocations: 0.5134 MB / 0.5737 GB, free: 3.586 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.4901, allocations: 3.938 kB / 0.5737 GB, free: 3.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001585/0.4917, allocations: 0.7757 MB / 0.5744 GB, free: 2.977 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.4918, allocations: 174.3 kB / 0.5746 GB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.4919, allocations: 7.938 kB / 0.5746 GB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004445/0.4923, allocations: 120.8 kB / 0.5747 GB, free: 2.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005422/0.4929, allocations: 135.2 kB / 0.5748 GB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002665/0.4956, allocations: 2.157 MB / 0.577 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.496, allocations: 90.77 kB / 0.577 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.4961, allocations: 15.94 kB / 0.5771 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.4961, allocations: 7.938 kB / 0.5771 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001103/0.4972, allocations: 0.5784 MB / 0.5776 GB, free: 100 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.4972, allocations: 4 kB / 0.5776 GB, free: 96 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002284/0.4975, allocations: 88.36 kB / 0.5777 GB, free: 28 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005527/0.498, allocations: 131.8 kB / 0.5778 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.4999, allocations: 1.923 MB / 0.5797 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004272/0.5004, allocations: 74.34 kB / 0.5798 GB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/0.5004, allocations: 23.61 kB / 0.5798 GB, free: 14.06 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (56): * Single equations (assignments): 55 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004104/0.5008, allocations: 292.2 kB / 0.5801 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.501, allocations: 63.31 kB / 0.5802 GB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.5022, allocations: 0.5567 MB / 0.5807 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.5022, allocations: 4 kB / 0.5807 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.5022, allocations: 3.938 kB / 0.5807 GB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.5022, allocations: 7.922 kB / 0.5807 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/0.5043, allocations: 1.256 MB / 0.5819 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.5043, allocations: 0 / 0.5819 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005333/0.5048, allocations: 115.9 kB / 0.582 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.5049, allocations: 3.938 kB / 0.5821 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/0.5049, allocations: 15.31 kB / 0.5821 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.5049, allocations: 8 kB / 0.5821 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5049, allocations: 0 / 0.5821 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.5065, allocations: 0.8902 MB / 0.5829 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002411/0.5067, allocations: 200 kB / 0.5831 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.959e-05/0.5068, allocations: 11.83 kB / 0.5831 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.5072, allocations: 47.95 kB / 0.5832 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.616e-05/0.5073, allocations: 32.39 kB / 0.5832 GB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/0.5073, allocations: 12.09 kB / 0.5832 GB, free: 11.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000587/0.5079, allocations: 394.7 kB / 0.5836 GB, free: 10.67 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5079, allocations: 0 / 0.5836 GB, free: 10.67 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000979/0.5089, allocations: 263.2 kB / 0.5839 GB, free: 10.41 MB / 394.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 (49): * Single equations (assignments): 48 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001943/0.5091, allocations: 123.5 kB / 0.584 GB, free: 10.28 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002164/0.5113, allocations: 1.049 MB / 0.585 GB, free: 9.203 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.5113, allocations: 0 / 0.585 GB, free: 9.203 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004817/0.5118, allocations: 258.5 kB / 0.5853 GB, free: 8.953 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007184/0.5125, allocations: 112.4 kB / 0.5854 GB, free: 8.848 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.5156, allocations: 1.743 MB / 0.5871 GB, free: 7.074 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005847/0.5162, allocations: 0.934 MB / 0.588 GB, free: 6.113 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00045/0.5167, allocations: 112.5 kB / 0.5881 GB, free: 6.004 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.5168, allocations: 43.42 kB / 0.5881 GB, free: 5.961 MB / 394.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5168, allocations: 0 / 0.5881 GB, free: 5.961 MB / 394.7 MB Notification: Performance of Templates: time 0.01418/0.531, allocations: 6.982 MB / 0.5949 GB, free: 14.98 MB / 410.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1)