Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002582/0.002586, allocations: 363.2 kB / 17.21 MB, free: 4.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.714/3.714, allocations: 388.9 MB / 406.8 MB, free: 11.9 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003623/0.003623, allocations: 233.6 kB / 452.2 MB, free: 14.51 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.737/0.737, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004351/0.0004353, allocations: 15.98 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08822/0.08867, allocations: 53.22 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4562/0.545, allocations: 99.36 MB / 0.7712 GB, free: 81.78 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/0.5453, allocations: 94.67 kB / 0.7713 GB, free: 81.78 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1023/0.6477, allocations: 27.49 MB / 0.7982 GB, free: 73.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6477, allocations: 0 / 0.7982 GB, free: 73.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.333e-05/0.6478, allocations: 24.56 kB / 0.7982 GB, free: 73.38 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.003115/0.6509, allocations: 1.08 MB / 0.7993 GB, free: 72.61 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.651, allocations: 8.5 kB / 0.7993 GB, free: 72.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/0.6532, allocations: 208.1 kB / 0.7995 GB, free: 72.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/0.655, allocations: 0.6056 MB / 0.8001 GB, free: 72.13 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.759e-05/0.6551, allocations: 49.28 kB / 0.8001 GB, free: 72.13 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.6553, allocations: 71.48 kB / 0.8002 GB, free: 72.12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.6575, allocations: 0.8257 MB / 0.801 GB, free: 71.87 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.916e-05/0.6576, allocations: 3.938 kB / 0.801 GB, free: 71.87 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.6577, allocations: 23.06 kB / 0.801 GB, free: 71.87 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001471/0.6579, allocations: 45.72 kB / 0.801 GB, free: 71.86 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002377/0.6602, allocations: 0.7593 MB / 0.8018 GB, free: 71.73 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006739/0.667, allocations: 2.87 MB / 0.8046 GB, free: 70.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002579/0.6696, allocations: 0.9726 MB / 0.8055 GB, free: 69.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009371/0.6706, allocations: 312.2 kB / 0.8058 GB, free: 69.76 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.319e-05/0.6707, allocations: 19.27 kB / 0.8059 GB, free: 69.76 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.6708, allocations: 38.69 kB / 0.8059 GB, free: 69.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=58): time 3.346e-06/0.6708, allocations: 0 / 0.8059 GB, free: 69.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=62): time 0.007646/0.6784, allocations: 2.557 MB / 0.8084 GB, free: 68.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.6785, allocations: 108.6 kB / 0.8085 GB, free: 68.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.6796, allocations: 0.5352 MB / 0.809 GB, free: 68.37 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.6798, allocations: 35.95 kB / 0.8091 GB, free: 68.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.68, allocations: 346.7 kB / 0.8094 GB, free: 68.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.6802, allocations: 213.3 kB / 0.8096 GB, free: 67.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.6803, allocations: 14.88 kB / 0.8096 GB, free: 67.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.6804, allocations: 378.4 kB / 0.81 GB, free: 67.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009163/0.6814, allocations: 269.1 kB / 0.8102 GB, free: 67.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009668/0.6823, allocations: 393.2 kB / 0.8106 GB, free: 67.44 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.6834, allocations: 315.6 kB / 0.8109 GB, free: 67.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.6834, allocations: 3.625 kB / 0.8109 GB, free: 67.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002492/0.6859, allocations: 0.8051 MB / 0.8117 GB, free: 67.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.075e-05/0.686, allocations: 183.9 kB / 0.8119 GB, free: 66.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.686, allocations: 2.438 kB / 0.8119 GB, free: 66.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003911/0.6864, allocations: 62.78 kB / 0.8119 GB, free: 66.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.6878, allocations: 176.2 kB / 0.8121 GB, free: 66.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00187/0.6897, allocations: 1.614 MB / 0.8137 GB, free: 65.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009795/0.6907, allocations: 58.92 kB / 0.8137 GB, free: 65.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.453e-05/0.6908, allocations: 29.88 kB / 0.8138 GB, free: 65.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.6908, allocations: 3.719 kB / 0.8138 GB, free: 65.48 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00218/0.693, allocations: 0.699 MB / 0.8144 GB, free: 65.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.693, allocations: 4 kB / 0.8144 GB, free: 65.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003282/0.6934, allocations: 60.25 kB / 0.8145 GB, free: 65.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.6946, allocations: 172 kB / 0.8147 GB, free: 64.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/0.6964, allocations: 1.625 MB / 0.8162 GB, free: 63.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009315/0.6973, allocations: 67.34 kB / 0.8163 GB, free: 63.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.72e-05/0.6974, allocations: 23.83 kB / 0.8163 GB, free: 63.24 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (75): * Single equations (assignments): 74 * 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.0005732/0.698, allocations: 314.2 kB / 0.8166 GB, free: 62.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.6982, allocations: 63.39 kB / 0.8167 GB, free: 62.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/0.7006, allocations: 0.7883 MB / 0.8175 GB, free: 62.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.7007, allocations: 4 kB / 0.8175 GB, free: 62.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7007, allocations: 0 / 0.8175 GB, free: 62.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.7007, allocations: 7.984 kB / 0.8175 GB, free: 62.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006032/0.7067, allocations: 2.118 MB / 0.8195 GB, free: 60.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.7068, allocations: 8 kB / 0.8196 GB, free: 60.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.7079, allocations: 131.9 kB / 0.8197 GB, free: 60.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003087/0.7082, allocations: 62.75 kB / 0.8197 GB, free: 60.24 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.161e-05/0.7083, allocations: 23.98 kB / 0.8198 GB, free: 60.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/0.7099, allocations: 1.573 MB / 0.8213 GB, free: 58.51 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.7099, allocations: 11.92 kB / 0.8213 GB, free: 58.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003364/0.7133, allocations: 1.323 MB / 0.8226 GB, free: 57.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003798/0.7137, allocations: 196.2 kB / 0.8228 GB, free: 56.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.7139, allocations: 26.56 kB / 0.8228 GB, free: 56.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008278/0.7147, allocations: 63.89 kB / 0.8229 GB, free: 56.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/0.7149, allocations: 63.8 kB / 0.8229 GB, free: 56.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.679e-05/0.715, allocations: 24 kB / 0.823 GB, free: 56.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000842/0.7158, allocations: 390.8 kB / 0.8233 GB, free: 56.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7158, allocations: 0 / 0.8233 GB, free: 56.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001428/0.7173, allocations: 256.7 kB / 0.8236 GB, free: 56.08 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * 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.0002239/0.7175, allocations: 139 kB / 0.8237 GB, free: 55.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003383/0.7209, allocations: 1.233 MB / 0.8249 GB, free: 54.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.721, allocations: 0 / 0.8249 GB, free: 54.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001404/0.7224, allocations: 0.5104 MB / 0.8254 GB, free: 54.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.7238, allocations: 145.7 kB / 0.8255 GB, free: 54.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/0.7275, allocations: 1.943 MB / 0.8274 GB, free: 51.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000534/0.7281, allocations: 0.9897 MB / 0.8284 GB, free: 50.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000888/0.729, allocations: 136.6 kB / 0.8285 GB, free: 50.83 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/0.7293, allocations: 51.42 kB / 0.8286 GB, free: 50.78 MB / 442.7 MB Notification: Performance of SimCode: time 1.173e-06/0.7293, allocations: 4 kB / 0.8286 GB, free: 50.77 MB / 442.7 MB Notification: Performance of Templates: time 0.01958/0.7489, allocations: 7.351 MB / 0.8358 GB, free: 43.53 MB / 442.7 MB