Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001665/0.001665, allocations: 186 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001084/0.001083, allocations: 91.81 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2669/0.2669, allocations: 37.97 MB / 353.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.768e-05/3.781e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1567, allocations: 56.32 MB / 473.1 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5107/0.6675, allocations: 105.4 MB / 0.5649 GB, free: 14.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003469/0.6679, allocations: 83.95 kB / 0.565 GB, free: 14.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1238/0.7917, allocations: 28.27 MB / 0.5926 GB, free: 1.762 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.7918, allocations: 7.938 kB / 0.5926 GB, free: 1.754 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.00011/0.7919, allocations: 23.94 kB / 0.5927 GB, free: 1.73 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003539/0.7955, allocations: 0.9989 MB / 0.5936 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.7955, allocations: 8.031 kB / 0.5936 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002371/0.7979, allocations: 210.6 kB / 0.5938 GB, free: 484 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002085/0.8001, allocations: 0.613 MB / 0.5944 GB, free: 15.81 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.973e-05/0.8002, allocations: 57.3 kB / 0.5945 GB, free: 15.76 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002215/0.8004, allocations: 68 kB / 0.5946 GB, free: 15.69 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/0.8029, allocations: 0.8156 MB / 0.5954 GB, free: 14.83 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.654e-05/0.803, allocations: 7.688 kB / 0.5954 GB, free: 14.83 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.8031, allocations: 31.95 kB / 0.5954 GB, free: 14.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001915/0.8033, allocations: 45.22 kB / 0.5954 GB, free: 14.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002352/0.8057, allocations: 0.6923 MB / 0.5961 GB, free: 14.06 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009175/0.8149, allocations: 3.272 MB / 0.5993 GB, free: 10.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002244/0.8172, allocations: 0.8654 MB / 0.6002 GB, free: 9.723 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007646/0.818, allocations: 268 kB / 0.6004 GB, free: 9.457 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.115e-05/0.8181, allocations: 12.55 kB / 0.6004 GB, free: 9.445 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/0.8182, allocations: 39.06 kB / 0.6005 GB, free: 9.395 MB / 442.7 MB Notification: Performance of pre-optimization done (n=59): time 3.908e-06/0.8182, allocations: 0 / 0.6005 GB, free: 9.395 MB / 442.7 MB Notification: Performance of matching and sorting (n=63): time 0.005637/0.8238, allocations: 1.961 MB / 0.6024 GB, free: 7.348 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.492e-05/0.824, allocations: 115.4 kB / 0.6025 GB, free: 7.207 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.825, allocations: 499.5 kB / 0.603 GB, free: 6.711 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001727/0.8252, allocations: 33.7 kB / 0.603 GB, free: 6.672 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003665/0.8256, allocations: 394.6 kB / 0.6034 GB, free: 6.285 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003162/0.8259, allocations: 216.8 kB / 0.6036 GB, free: 6.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.826, allocations: 15.94 kB / 0.6036 GB, free: 6.055 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.8262, allocations: 346.7 kB / 0.6039 GB, free: 5.707 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006794/0.8269, allocations: 221.5 kB / 0.6041 GB, free: 5.488 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007917/0.8277, allocations: 363.8 kB / 0.6045 GB, free: 5.082 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007584/0.8285, allocations: 271.2 kB / 0.6047 GB, free: 4.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.8285, allocations: 0 / 0.6047 GB, free: 4.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002082/0.8306, allocations: 0.6983 MB / 0.6054 GB, free: 4.109 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007424/0.8313, allocations: 1.491 MB / 0.6069 GB, free: 2.508 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.8314, allocations: 4 kB / 0.6069 GB, free: 2.504 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005484/0.8319, allocations: 64.81 kB / 0.6069 GB, free: 2.438 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/0.8336, allocations: 179.8 kB / 0.6071 GB, free: 2.262 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002583/0.8362, allocations: 1.631 MB / 0.6087 GB, free: 500 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.8374, allocations: 63.95 kB / 0.6088 GB, free: 436 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.8376, allocations: 27.98 kB / 0.6088 GB, free: 408 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.8376, allocations: 11.84 kB / 0.6088 GB, free: 396 kB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002035/0.8396, allocations: 0.6427 MB / 0.6094 GB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.8397, allocations: 7.953 kB / 0.6094 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003116/0.84, allocations: 56.81 kB / 0.6095 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.8416, allocations: 175.7 kB / 0.6097 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002654/0.8443, allocations: 1.628 MB / 0.6113 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008423/0.8452, allocations: 47.88 kB / 0.6113 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.8453, allocations: 24 kB / 0.6113 GB, free: 13.67 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,powerPlant.throttleCosts.local_reset,powerPlant.hotwellLevel.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0003185/0.8456, allocations: 156.7 kB / 0.6115 GB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002745/0.8459, allocations: 71.16 kB / 0.6115 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/0.8482, allocations: 0.6826 MB / 0.6122 GB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.8482, allocations: 4 kB / 0.6122 GB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.8482, allocations: 8 kB / 0.6122 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/0.8483, allocations: 7.938 kB / 0.6122 GB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007096/0.8554, allocations: 2.089 MB / 0.6143 GB, free: 10.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/0.8554, allocations: 4 kB / 0.6143 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/0.8567, allocations: 136.6 kB / 0.6144 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003964/0.8571, allocations: 56.81 kB / 0.6145 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.8573, allocations: 27.98 kB / 0.6145 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002317/0.8596, allocations: 1.577 MB / 0.616 GB, free: 8.566 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/0.8597, allocations: 7.938 kB / 0.616 GB, free: 8.559 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003392/0.8631, allocations: 1.487 MB / 0.6175 GB, free: 6.816 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005792/0.8637, allocations: 212.1 kB / 0.6177 GB, free: 6.59 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.8639, allocations: 20 kB / 0.6177 GB, free: 6.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000973/0.8649, allocations: 59.95 kB / 0.6178 GB, free: 6.512 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/0.8652, allocations: 75.77 kB / 0.6178 GB, free: 6.438 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-05/0.8652, allocations: 24 kB / 0.6179 GB, free: 6.414 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008322/0.8661, allocations: 395.2 kB / 0.6182 GB, free: 6.035 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.8661, allocations: 0 / 0.6182 GB, free: 6.035 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001676/0.8678, allocations: 256 kB / 0.6185 GB, free: 5.785 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 61 * 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.0002966/0.8681, allocations: 138.9 kB / 0.6186 GB, free: 5.641 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003255/0.8714, allocations: 1.141 MB / 0.6197 GB, free: 4.477 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.8714, allocations: 384 / 0.6197 GB, free: 4.477 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.8727, allocations: 438.2 kB / 0.6201 GB, free: 4.035 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.8741, allocations: 164.2 kB / 0.6203 GB, free: 3.871 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003995/0.8781, allocations: 1.37 MB / 0.6216 GB, free: 2.383 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009111/0.8791, allocations: 1.005 MB / 0.6226 GB, free: 1.348 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004311/0.8796, allocations: 55.44 kB / 0.6227 GB, free: 1.293 MB / 458.7 MB Notification: Performance of SimCode: time 1.323e-06/0.8796, allocations: 0 / 0.6227 GB, free: 1.293 MB / 458.7 MB Notification: Performance of Templates: time 0.02769/0.9073, allocations: 12.04 MB / 0.6344 GB, free: 5.234 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.sim & ./PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1)