Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.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.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002543/0.002543, allocations: 361.4 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.666/3.666, allocations: 388.9 MB / 406.8 MB, free: 11.89 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.003553/0.003552, allocations: 225.6 kB / 452.2 MB, free: 14.48 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.7398/0.7398, allocations: 76.01 MB / 0.56 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004396, allocations: 16 kB / 0.6222 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08956/0.09002, allocations: 53.23 MB / 0.6742 GB, free: 60.94 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4558/0.5459, allocations: 97.54 MB / 0.7695 GB, free: 81.46 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/0.5463, allocations: 90.66 kB / 0.7696 GB, free: 81.46 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08135/0.6276, allocations: 21.76 MB / 0.7908 GB, free: 75.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6277, allocations: 0 / 0.7908 GB, free: 75.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.543e-05/0.6278, allocations: 15.44 kB / 0.7908 GB, free: 75.84 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002835/0.6306, allocations: 1.029 MB / 0.7918 GB, free: 75.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.6307, allocations: 11.28 kB / 0.7918 GB, free: 75.1 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00156/0.6322, allocations: 179 kB / 0.792 GB, free: 75.02 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.6338, allocations: 0.5744 MB / 0.7926 GB, free: 74.64 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.923e-05/0.6339, allocations: 45.7 kB / 0.7926 GB, free: 74.64 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.6341, allocations: 61.47 kB / 0.7927 GB, free: 74.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.636, allocations: 0.7356 MB / 0.7934 GB, free: 74.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/0.636, allocations: 0 / 0.7934 GB, free: 74.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.275e-05/0.6361, allocations: 22.31 kB / 0.7934 GB, free: 74.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.576e-05/0.6362, allocations: 31.41 kB / 0.7934 GB, free: 74.39 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.6382, allocations: 0.6497 MB / 0.7941 GB, free: 74.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005623/0.6439, allocations: 2.553 MB / 0.7966 GB, free: 72.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/0.6462, allocations: 0.7348 MB / 0.7973 GB, free: 72.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008299/0.647, allocations: 254.5 kB / 0.7975 GB, free: 72.63 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.938e-05/0.6471, allocations: 6.25 kB / 0.7975 GB, free: 72.63 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.6471, allocations: 40.66 kB / 0.7976 GB, free: 72.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=49): time 3.015e-06/0.6472, allocations: 0 / 0.7976 GB, free: 72.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.002711/0.6499, allocations: 0.7663 MB / 0.7983 GB, free: 72.42 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.65, allocations: 108.8 kB / 0.7984 GB, free: 72.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.6511, allocations: 0.5346 MB / 0.7989 GB, free: 72.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.456e-05/0.6511, allocations: 35.45 kB / 0.799 GB, free: 72.05 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.6514, allocations: 324.4 kB / 0.7993 GB, free: 71.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.6516, allocations: 175.3 kB / 0.7995 GB, free: 71.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.6516, allocations: 9.906 kB / 0.7995 GB, free: 71.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.6518, allocations: 372.5 kB / 0.7998 GB, free: 71.42 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008315/0.6526, allocations: 226 kB / 0.8 GB, free: 71.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008895/0.6535, allocations: 344.7 kB / 0.8004 GB, free: 71.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008735/0.6544, allocations: 248.3 kB / 0.8006 GB, free: 71.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.6544, allocations: 6.906 kB / 0.8006 GB, free: 71.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002888/0.6573, allocations: 0.815 MB / 0.8014 GB, free: 70.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.263e-05/0.6574, allocations: 173.3 kB / 0.8016 GB, free: 70.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.6575, allocations: 18.03 kB / 0.8016 GB, free: 70.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006768/0.6581, allocations: 117.8 kB / 0.8017 GB, free: 70.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.6592, allocations: 145.5 kB / 0.8018 GB, free: 70.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003559/0.6628, allocations: 2.155 MB / 0.8039 GB, free: 69.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009071/0.6637, allocations: 99.34 kB / 0.804 GB, free: 69.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.738e-05/0.6638, allocations: 20.38 kB / 0.8041 GB, free: 69.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/0.6638, allocations: 3.156 kB / 0.8041 GB, free: 69.16 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002037/0.6658, allocations: 0.6177 MB / 0.8047 GB, free: 69.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.6659, allocations: 3.594 kB / 0.8047 GB, free: 69.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003975/0.6663, allocations: 96.52 kB / 0.8048 GB, free: 69.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000992/0.6673, allocations: 133.1 kB / 0.8049 GB, free: 68.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/0.6695, allocations: 1.931 MB / 0.8068 GB, free: 67.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008069/0.6704, allocations: 87.27 kB / 0.8069 GB, free: 67.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/0.6704, allocations: 18.28 kB / 0.8069 GB, free: 67.48 MB / 442.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.0005109/0.6709, allocations: 301.2 kB / 0.8072 GB, free: 67.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.6711, allocations: 61.09 kB / 0.8072 GB, free: 67.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001983/0.6731, allocations: 0.5965 MB / 0.8078 GB, free: 67.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.6731, allocations: 5.875 kB / 0.8078 GB, free: 67.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.6731, allocations: 6 kB / 0.8078 GB, free: 67.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.6731, allocations: 6.734 kB / 0.8078 GB, free: 67.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/0.6761, allocations: 1.319 MB / 0.8091 GB, free: 66.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.6762, allocations: 0 / 0.8091 GB, free: 66.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.6773, allocations: 115.5 kB / 0.8092 GB, free: 66.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.6773, allocations: 2.812 kB / 0.8092 GB, free: 66.51 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.905e-05/0.6774, allocations: 19.73 kB / 0.8092 GB, free: 66.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.6774, allocations: 3.938 kB / 0.8092 GB, free: 66.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6774, allocations: 6.875 kB / 0.8093 GB, free: 66.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/0.6802, allocations: 0.964 MB / 0.8102 GB, free: 66.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/0.6805, allocations: 188.7 kB / 0.8104 GB, free: 66.06 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.6806, allocations: 12.48 kB / 0.8104 GB, free: 66.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007141/0.6813, allocations: 49.8 kB / 0.8104 GB, free: 66.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.6815, allocations: 37.05 kB / 0.8105 GB, free: 66.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-05/0.6815, allocations: 22.77 kB / 0.8105 GB, free: 66.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000834/0.6824, allocations: 385.1 kB / 0.8109 GB, free: 65.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6824, allocations: 0 / 0.8109 GB, free: 65.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001203/0.6836, allocations: 272.9 kB / 0.8111 GB, free: 65.83 MB / 442.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.0001805/0.6838, allocations: 125.8 kB / 0.8112 GB, free: 65.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003083/0.6869, allocations: 1.116 MB / 0.8123 GB, free: 65.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.6869, allocations: 4.125 kB / 0.8123 GB, free: 65.33 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009026/0.6878, allocations: 278.5 kB / 0.8126 GB, free: 65.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.689, allocations: 119.9 kB / 0.8127 GB, free: 65.26 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.6929, allocations: 1.748 MB / 0.8144 GB, free: 64.19 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.6934, allocations: 0.9504 MB / 0.8153 GB, free: 63.38 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007455/0.6942, allocations: 118 kB / 0.8155 GB, free: 63.33 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.6944, allocations: 42.45 kB / 0.8155 GB, free: 63.32 MB / 442.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6944, allocations: 3.125 kB / 0.8155 GB, free: 63.32 MB / 442.7 MB Notification: Performance of Templates: time 0.01866/0.7131, allocations: 7.099 MB / 0.8224 GB, free: 56.55 MB / 442.7 MB