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.001745/0.001745, allocations: 187.8 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.421/1.421, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001861/0.001861, allocations: 118.1 kB / 248.1 MB, free: 6.328 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1867/0.1867, allocations: 37.92 MB / 330.9 MB, free: 7.312 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.47e-05/1.472e-05, allocations: 7.984 kB / 390.4 MB, free: 78.23 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1111, allocations: 53.24 MB / 443.6 MB, free: 25.1 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3883/0.4995, allocations: 96.56 MB / 0.5275 GB, free: 9.191 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.4997, allocations: 81.14 kB / 0.5276 GB, free: 9.18 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05128/0.551, allocations: 21.42 MB / 0.5485 GB, free: 10.21 MB / 363.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.551, allocations: 0 / 0.5485 GB, free: 10.21 MB / 363.1 MB Notification: Performance of Transformations before backend: time 7.811e-05/0.5511, allocations: 20 kB / 0.5485 GB, free: 10.19 MB / 363.1 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.002051/0.5532, allocations: 0.9056 MB / 0.5494 GB, free: 9.285 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.5532, allocations: 8.031 kB / 0.5494 GB, free: 9.277 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.5544, allocations: 170.8 kB / 0.5496 GB, free: 9.109 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.5555, allocations: 0.5531 MB / 0.5501 GB, free: 8.609 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/0.5556, allocations: 20 kB / 0.5501 GB, free: 8.59 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.5557, allocations: 32 kB / 0.5502 GB, free: 8.559 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008951/0.5566, allocations: 447.4 kB / 0.5506 GB, free: 8.293 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.5576, allocations: 0.5752 MB / 0.5511 GB, free: 7.855 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.5577, allocations: 4 kB / 0.5511 GB, free: 7.852 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/0.5577, allocations: 7.984 kB / 0.5512 GB, free: 7.844 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-05/0.5578, allocations: 31.86 kB / 0.5512 GB, free: 7.816 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004123/0.5619, allocations: 2.437 MB / 0.5536 GB, free: 5.855 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009833/0.5629, allocations: 0.5841 MB / 0.5541 GB, free: 5.414 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/0.5632, allocations: 184.1 kB / 0.5543 GB, free: 5.297 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.49e-05/0.5633, allocations: 8.438 kB / 0.5543 GB, free: 5.289 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.5633, allocations: 38.19 kB / 0.5544 GB, free: 5.246 MB / 363.1 MB Notification: Performance of pre-optimization done (n=49): time 4.018e-06/0.5633, allocations: 112 / 0.5544 GB, free: 5.246 MB / 363.1 MB Notification: Performance of matching and sorting (n=49): time 0.0007779/0.5641, allocations: 423.7 kB / 0.5548 GB, free: 4.934 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.208e-05/0.5642, allocations: 107.2 kB / 0.5549 GB, free: 4.805 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004398/0.5647, allocations: 361.5 kB / 0.5552 GB, free: 4.523 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.5647, allocations: 29.7 kB / 0.5552 GB, free: 4.488 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.565, allocations: 327 kB / 0.5555 GB, free: 4.258 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.5651, allocations: 168.2 kB / 0.5557 GB, free: 4.113 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.5652, allocations: 4.031 kB / 0.5557 GB, free: 4.109 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.5653, allocations: 365.7 kB / 0.5561 GB, free: 3.766 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.5656, allocations: 151 kB / 0.5562 GB, free: 3.684 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003281/0.5659, allocations: 264.7 kB / 0.5565 GB, free: 3.465 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.5662, allocations: 188.5 kB / 0.5566 GB, free: 3.352 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5662, allocations: 0 / 0.5566 GB, free: 3.352 MB / 363.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001138/0.5674, allocations: 0.5946 MB / 0.5572 GB, free: 2.891 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004891/0.5679, allocations: 1.051 MB / 0.5582 GB, free: 1.777 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.5679, allocations: 4 kB / 0.5582 GB, free: 1.773 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003456/0.5683, allocations: 100.4 kB / 0.5583 GB, free: 1.699 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005345/0.5688, allocations: 131.5 kB / 0.5585 GB, free: 1.574 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005604/0.5694, allocations: 0.6845 MB / 0.5591 GB, free: 0.9414 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004338/0.5698, allocations: 63.7 kB / 0.5592 GB, free: 0.8789 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.5699, allocations: 14.88 kB / 0.5592 GB, free: 0.8672 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.5699, allocations: 4 kB / 0.5592 GB, free: 0.8633 MB / 363.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008502/0.5707, allocations: 471.8 kB / 0.5597 GB, free: 0.5352 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.5708, allocations: 4 kB / 0.5597 GB, free: 0.5312 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002562/0.571, allocations: 88.06 kB / 0.5598 GB, free: 476 kB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005282/0.5716, allocations: 131.2 kB / 0.5599 GB, free: 348 kB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/0.5736, allocations: 1.887 MB / 0.5617 GB, free: 14.62 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004447/0.5741, allocations: 55.58 kB / 0.5618 GB, free: 14.57 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.535e-05/0.5741, allocations: 22.56 kB / 0.5618 GB, free: 14.55 MB / 379.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: powerPlant.primaryControl.gainPID.y:VARIABLE() "Output signal connector" type: Real 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 () * 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.0002096/0.5743, allocations: 128.1 kB / 0.5619 GB, free: 14.42 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.5745, allocations: 63.2 kB / 0.562 GB, free: 14.36 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008134/0.5753, allocations: 437.6 kB / 0.5624 GB, free: 14.07 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.5753, allocations: 8 kB / 0.5624 GB, free: 14.06 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.5753, allocations: 3.938 kB / 0.5624 GB, free: 14.06 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.5753, allocations: 3.984 kB / 0.5624 GB, free: 14.05 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.5771, allocations: 1.075 MB / 0.5635 GB, free: 13.23 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5771, allocations: 0 / 0.5635 GB, free: 13.23 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005784/0.5777, allocations: 113.4 kB / 0.5636 GB, free: 13.12 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.5777, allocations: 0 / 0.5636 GB, free: 13.12 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.41e-05/0.5777, allocations: 7.984 kB / 0.5636 GB, free: 13.11 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.5778, allocations: 4 kB / 0.5636 GB, free: 13.11 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5778, allocations: 0 / 0.5636 GB, free: 13.11 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.579, allocations: 0.7597 MB / 0.5643 GB, free: 12.54 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002832/0.5793, allocations: 181.9 kB / 0.5645 GB, free: 12.37 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.869e-05/0.5794, allocations: 0 / 0.5645 GB, free: 12.37 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003807/0.5797, allocations: 35.97 kB / 0.5645 GB, free: 12.33 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.5799, allocations: 39.88 kB / 0.5646 GB, free: 12.3 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.5799, allocations: 12 kB / 0.5646 GB, free: 12.29 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0003626/0.5803, allocations: 288.1 kB / 0.5649 GB, free: 12.08 MB / 379.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5803, allocations: 0 / 0.5649 GB, free: 12.08 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.0009265/0.5812, allocations: 242.9 kB / 0.5651 GB, free: 11.84 MB / 379.1 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 () * 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.0001934/0.5814, allocations: 115.3 kB / 0.5652 GB, free: 11.72 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.001477/0.5829, allocations: 0.8018 MB / 0.566 GB, free: 11.13 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5829, allocations: 4.688 kB / 0.566 GB, free: 11.13 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.5833, allocations: 203.2 kB / 0.5662 GB, free: 11 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006233/0.5839, allocations: 103 kB / 0.5663 GB, free: 10.92 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.5865, allocations: 1.109 MB / 0.5674 GB, free: 9.895 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007741/0.5872, allocations: 0.9467 MB / 0.5683 GB, free: 8.93 MB / 379.1 MB Notification: Performance of simCode: alias equations: time 0.000662/0.5879, allocations: 142.1 kB / 0.5684 GB, free: 8.789 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.5881, allocations: 39.7 kB / 0.5685 GB, free: 8.75 MB / 379.1 MB Notification: Performance of SimCode: time 2.9e-07/0.5881, allocations: 0 / 0.5685 GB, free: 8.75 MB / 379.1 MB Notification: Performance of Templates: time 0.01409/0.6022, allocations: 6.856 MB / 0.5752 GB, free: 1.922 MB / 379.1 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)