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/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.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001429/0.001429, allocations: 179.4 kB / 17.4 MB, free: 4.383 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.621/1.621, allocations: 194.5 MB / 212.6 MB, free: 2.855 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.001606/0.001606, allocations: 119.4 kB / 257.9 MB, free: 4.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1764/0.1764, allocations: 38.01 MB / 341.1 MB, free: 1.168 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003398, allocations: 12 kB / 405 MB, free: 68.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0964/0.09675, allocations: 53.23 MB / 458.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3216/0.4184, allocations: 97.59 MB / 0.5428 GB, free: 13.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.4187, allocations: 96.61 kB / 0.5429 GB, free: 13.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05669/0.4754, allocations: 21.81 MB / 0.5642 GB, free: 11.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4754, allocations: 0 / 0.5642 GB, free: 11.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.079e-05/0.4755, allocations: 15.94 kB / 0.5642 GB, free: 11.42 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.00257/0.4781, allocations: 1.026 MB / 0.5652 GB, free: 10.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.4781, allocations: 12.03 kB / 0.5652 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.4793, allocations: 178.9 kB / 0.5654 GB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.4806, allocations: 0.5928 MB / 0.566 GB, free: 9.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.241e-05/0.4806, allocations: 52.66 kB / 0.566 GB, free: 9.629 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.4808, allocations: 71.67 kB / 0.5661 GB, free: 9.578 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.4822, allocations: 0.7185 MB / 0.5668 GB, free: 9.043 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.4823, allocations: 8.125 kB / 0.5668 GB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.539e-05/0.4824, allocations: 23.06 kB / 0.5668 GB, free: 9.027 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.793e-05/0.4824, allocations: 33.23 kB / 0.5669 GB, free: 9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.4838, allocations: 0.6439 MB / 0.5675 GB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004375/0.4882, allocations: 2.552 MB / 0.57 GB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.4897, allocations: 0.7297 MB / 0.5707 GB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005282/0.4903, allocations: 255.2 kB / 0.5709 GB, free: 5.734 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.573e-05/0.4903, allocations: 12.42 kB / 0.571 GB, free: 5.723 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.4904, allocations: 44.39 kB / 0.571 GB, free: 5.676 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 2.424e-06/0.4904, allocations: 4 kB / 0.571 GB, free: 5.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.001671/0.4921, allocations: 0.7546 MB / 0.5717 GB, free: 5.094 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.378e-05/0.4922, allocations: 118.9 kB / 0.5719 GB, free: 4.957 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008703/0.493, allocations: 0.5363 MB / 0.5724 GB, free: 4.527 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/0.4931, allocations: 35.89 kB / 0.5724 GB, free: 4.492 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.4934, allocations: 323.7 kB / 0.5727 GB, free: 4.277 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.4935, allocations: 177.6 kB / 0.5729 GB, free: 4.125 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.4936, allocations: 10.31 kB / 0.5729 GB, free: 4.125 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.4938, allocations: 374.3 kB / 0.5733 GB, free: 3.777 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/0.4943, allocations: 228.1 kB / 0.5735 GB, free: 3.621 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000549/0.4948, allocations: 335.2 kB / 0.5738 GB, free: 3.328 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.4959, allocations: 0.5609 MB / 0.5743 GB, free: 2.895 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.4959, allocations: 0 / 0.5743 GB, free: 2.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001775/0.4977, allocations: 0.8103 MB / 0.5751 GB, free: 2.258 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.4978, allocations: 169.9 kB / 0.5753 GB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.4978, allocations: 4 kB / 0.5753 GB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004692/0.4983, allocations: 132.2 kB / 0.5754 GB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005825/0.4989, allocations: 139.3 kB / 0.5756 GB, free: 1.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002855/0.5018, allocations: 2.17 MB / 0.5777 GB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004765/0.5022, allocations: 90.08 kB / 0.5778 GB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/0.5023, allocations: 19.38 kB / 0.5778 GB, free: 15.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/0.5023, allocations: 4 kB / 0.5778 GB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001292/0.5036, allocations: 0.6171 MB / 0.5784 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5036, allocations: 3.984 kB / 0.5784 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002437/0.5039, allocations: 91.56 kB / 0.5785 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000561/0.5045, allocations: 143.2 kB / 0.5786 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.5063, allocations: 1.928 MB / 0.5805 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/0.5068, allocations: 77.11 kB / 0.5806 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.5069, allocations: 22.88 kB / 0.5806 GB, free: 13.27 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 (57): * Single equations (assignments): 56 * 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.0004159/0.5073, allocations: 294.7 kB / 0.5809 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.5074, allocations: 63.25 kB / 0.5809 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.5087, allocations: 0.6085 MB / 0.5815 GB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.5087, allocations: 4 kB / 0.5815 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.5087, allocations: 4 kB / 0.5815 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.5088, allocations: 3.938 kB / 0.5815 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002335/0.5111, allocations: 1.315 MB / 0.5828 GB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.5111, allocations: 4 kB / 0.5828 GB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006047/0.5117, allocations: 123.9 kB / 0.5829 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.5117, allocations: 4 kB / 0.5829 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.092e-05/0.5118, allocations: 11.94 kB / 0.583 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.5118, allocations: 3.984 kB / 0.583 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5118, allocations: 0 / 0.583 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/0.5138, allocations: 0.9716 MB / 0.5839 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00028/0.5141, allocations: 184.2 kB / 0.5841 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.729e-05/0.5142, allocations: 23.86 kB / 0.5841 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/0.5146, allocations: 51.95 kB / 0.5842 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.963e-05/0.5147, allocations: 36.39 kB / 0.5842 GB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.5147, allocations: 15.98 kB / 0.5842 GB, free: 9.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006549/0.5154, allocations: 378.8 kB / 0.5846 GB, free: 9.613 MB / 394.7 MB Notification: Performance of sort global known variables: time 3e-07/0.5154, allocations: 0 / 0.5846 GB, free: 9.613 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00101/0.5164, allocations: 275.2 kB / 0.5848 GB, free: 9.344 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 (50): * Single equations (assignments): 49 * 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.0001751/0.5166, allocations: 127.2 kB / 0.585 GB, free: 9.211 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002262/0.5189, allocations: 1.119 MB / 0.586 GB, free: 8.066 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5189, allocations: 0 / 0.586 GB, free: 8.066 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005677/0.5195, allocations: 282.4 kB / 0.5863 GB, free: 7.793 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007223/0.5202, allocations: 104.5 kB / 0.5864 GB, free: 7.691 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/0.5235, allocations: 1.759 MB / 0.5881 GB, free: 5.906 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006459/0.5241, allocations: 0.9263 MB / 0.589 GB, free: 4.953 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000516/0.5247, allocations: 112.5 kB / 0.5891 GB, free: 4.844 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.5249, allocations: 47.42 kB / 0.5892 GB, free: 4.797 MB / 394.7 MB Notification: Performance of SimCode: time 3.8e-07/0.5249, allocations: 0 / 0.5892 GB, free: 4.797 MB / 394.7 MB Notification: Performance of Templates: time 0.0153/0.5402, allocations: 7.139 MB / 0.5962 GB, free: 13.66 MB / 410.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.makefile (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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe 2>&1)