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.001087/0.001087, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.558/1.558, allocations: 194.2 MB / 208.4 MB, free: 6.703 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.001769/0.001769, allocations: 116.7 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1682/0.1682, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.615e-05/4.645e-05, allocations: 4 kB / 397.5 MB, free: 1.043 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2959, allocations: 53.21 MB / 450.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4472/0.7432, allocations: 97.24 MB / 0.5351 GB, free: 88.63 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003235/0.7436, allocations: 85.09 kB / 0.5352 GB, free: 88.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05188/0.7955, allocations: 21.55 MB / 0.5563 GB, free: 72.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.7955, allocations: 0 / 0.5563 GB, free: 72.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.413e-05/0.7956, allocations: 19.94 kB / 0.5563 GB, free: 72.61 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.001424/0.797, allocations: 0.9016 MB / 0.5572 GB, free: 71.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.7971, allocations: 8.031 kB / 0.5572 GB, free: 71.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008966/0.798, allocations: 174.8 kB / 0.5573 GB, free: 71.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008558/0.7989, allocations: 0.5445 MB / 0.5579 GB, free: 70.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/0.7989, allocations: 45.31 kB / 0.5579 GB, free: 70.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-05/0.799, allocations: 67.92 kB / 0.558 GB, free: 70.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009629/0.8, allocations: 0.6591 MB / 0.5586 GB, free: 70.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.8, allocations: 0 / 0.5586 GB, free: 70.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-05/0.8001, allocations: 27.94 kB / 0.5587 GB, free: 70.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.608e-05/0.8001, allocations: 29.3 kB / 0.5587 GB, free: 70.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007526/0.8009, allocations: 0.54 MB / 0.5592 GB, free: 69.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003209/0.8041, allocations: 2.531 MB / 0.5617 GB, free: 66.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008635/0.805, allocations: 0.6024 MB / 0.5623 GB, free: 66.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.8053, allocations: 187.1 kB / 0.5624 GB, free: 66.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.147e-05/0.8054, allocations: 16.42 kB / 0.5625 GB, free: 66.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.8054, allocations: 35 kB / 0.5625 GB, free: 65.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 2.975e-06/0.8054, allocations: 0 / 0.5625 GB, free: 65.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.0007138/0.8061, allocations: 443.2 kB / 0.5629 GB, free: 65.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.8062, allocations: 111.2 kB / 0.563 GB, free: 65.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004388/0.8066, allocations: 453 kB / 0.5635 GB, free: 64.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.8067, allocations: 33.7 kB / 0.5635 GB, free: 64.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.8069, allocations: 333.3 kB / 0.5638 GB, free: 64.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.351e-05/0.807, allocations: 169.5 kB / 0.564 GB, free: 64.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.807, allocations: 8 kB / 0.564 GB, free: 64.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.932e-05/0.8071, allocations: 374.8 kB / 0.5643 GB, free: 64.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.8073, allocations: 157.1 kB / 0.5645 GB, free: 63.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.8076, allocations: 269.2 kB / 0.5647 GB, free: 63.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.8079, allocations: 201.6 kB / 0.5649 GB, free: 63.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.8079, allocations: 3.953 kB / 0.5649 GB, free: 63.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001039/0.809, allocations: 0.6442 MB / 0.5656 GB, free: 62.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002476/0.8092, allocations: 1.053 MB / 0.5666 GB, free: 61.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.8092, allocations: 4 kB / 0.5666 GB, free: 61.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003557/0.8096, allocations: 96.81 kB / 0.5667 GB, free: 61.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005278/0.8101, allocations: 135.8 kB / 0.5668 GB, free: 61.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004559/0.8106, allocations: 0.6783 MB / 0.5675 GB, free: 60.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004515/0.8111, allocations: 79.59 kB / 0.5676 GB, free: 60.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/0.8111, allocations: 28 kB / 0.5676 GB, free: 60.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.8111, allocations: 7.938 kB / 0.5676 GB, free: 60.54 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008344/0.812, allocations: 0.5067 MB / 0.5681 GB, free: 60.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.812, allocations: 12.23 kB / 0.5681 GB, free: 60.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002151/0.8122, allocations: 92.75 kB / 0.5682 GB, free: 59.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.8127, allocations: 123.9 kB / 0.5683 GB, free: 59.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.8143, allocations: 1.924 MB / 0.5702 GB, free: 57.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/0.8147, allocations: 75.56 kB / 0.5703 GB, free: 57.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.8147, allocations: 20 kB / 0.5703 GB, free: 57.65 MB / 378.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 () * 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.0001295/0.8149, allocations: 144.5 kB / 0.5704 GB, free: 57.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.293e-05/0.815, allocations: 59.25 kB / 0.5705 GB, free: 57.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008224/0.8158, allocations: 494.4 kB / 0.5709 GB, free: 56.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.8158, allocations: 8 kB / 0.5709 GB, free: 56.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.8158, allocations: 0 / 0.5709 GB, free: 56.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.8158, allocations: 4 kB / 0.571 GB, free: 56.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.8173, allocations: 1.173 MB / 0.5721 GB, free: 55.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.8173, allocations: 4 kB / 0.5721 GB, free: 55.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005013/0.8178, allocations: 107.9 kB / 0.5722 GB, free: 55.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.8178, allocations: 4 kB / 0.5722 GB, free: 55.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/0.8178, allocations: 15.98 kB / 0.5722 GB, free: 55.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.8178, allocations: 0 / 0.5722 GB, free: 55.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8178, allocations: 192 / 0.5722 GB, free: 55.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008872/0.8187, allocations: 0.7898 MB / 0.573 GB, free: 54.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.819, allocations: 196.2 kB / 0.5732 GB, free: 54.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.464e-05/0.819, allocations: 4 kB / 0.5732 GB, free: 54.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.8194, allocations: 47.95 kB / 0.5732 GB, free: 54.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-05/0.8195, allocations: 32.39 kB / 0.5733 GB, free: 54.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.8195, allocations: 15.95 kB / 0.5733 GB, free: 54.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003613/0.8199, allocations: 365.5 kB / 0.5736 GB, free: 54.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.8199, allocations: 0 / 0.5736 GB, free: 54.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007988/0.8207, allocations: 255.2 kB / 0.5739 GB, free: 53.84 MB / 378.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 () * 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.0001716/0.8209, allocations: 123.2 kB / 0.574 GB, free: 53.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.8221, allocations: 0.8187 MB / 0.5748 GB, free: 52.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.8221, allocations: 0 / 0.5748 GB, free: 52.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002696/0.8224, allocations: 210.5 kB / 0.575 GB, free: 52.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000584/0.823, allocations: 109.8 kB / 0.5751 GB, free: 52.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.8249, allocations: 1.141 MB / 0.5762 GB, free: 51.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.8254, allocations: 0.9389 MB / 0.5771 GB, free: 50.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005469/0.8259, allocations: 162.6 kB / 0.5773 GB, free: 50.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.8261, allocations: 35.44 kB / 0.5773 GB, free: 50.25 MB / 378.7 MB Notification: Performance of SimCode: time 1.212e-06/0.8261, allocations: 0 / 0.5773 GB, free: 50.25 MB / 378.7 MB Notification: Performance of Templates: time 0.01249/0.8385, allocations: 7.723 MB / 0.5849 GB, free: 42.54 MB / 378.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)