Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.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.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00259/0.002595, allocations: 364.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.712/3.712, allocations: 388.9 MB / 406.8 MB, free: 11.94 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.003513/0.003513, allocations: 239.7 kB / 452.2 MB, free: 14.52 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.7274/0.7274, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004678/0.000468, allocations: 8 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09092/0.09141, allocations: 53.23 MB / 0.6742 GB, free: 60.84 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4516/0.543, allocations: 97.32 MB / 0.7693 GB, free: 81.74 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.5434, allocations: 93.14 kB / 0.7693 GB, free: 81.74 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08194/0.6253, allocations: 21.62 MB / 0.7905 GB, free: 76.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.6254, allocations: 0 / 0.7905 GB, free: 76.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.841e-05/0.6255, allocations: 21.91 kB / 0.7905 GB, free: 76.06 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.002958/0.6284, allocations: 1.005 MB / 0.7915 GB, free: 75.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.6285, allocations: 11.72 kB / 0.7915 GB, free: 75.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/0.6301, allocations: 174.4 kB / 0.7916 GB, free: 75.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.6317, allocations: 0.5756 MB / 0.7922 GB, free: 74.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.035e-05/0.6318, allocations: 42.17 kB / 0.7922 GB, free: 74.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.6319, allocations: 60.31 kB / 0.7923 GB, free: 74.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.6337, allocations: 0.7093 MB / 0.793 GB, free: 74.65 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/0.6338, allocations: 0 / 0.793 GB, free: 74.65 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.888e-05/0.6339, allocations: 22.5 kB / 0.793 GB, free: 74.65 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-05/0.634, allocations: 31.33 kB / 0.793 GB, free: 74.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.6358, allocations: 0.6053 MB / 0.7936 GB, free: 74.54 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005466/0.6412, allocations: 2.532 MB / 0.7961 GB, free: 73.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.6432, allocations: 0.6919 MB / 0.7968 GB, free: 72.97 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000713/0.644, allocations: 238.2 kB / 0.797 GB, free: 72.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.138e-05/0.6441, allocations: 5.812 kB / 0.797 GB, free: 72.92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.6441, allocations: 41.66 kB / 0.7971 GB, free: 72.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 3.417e-06/0.6441, allocations: 0 / 0.7971 GB, free: 72.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.002412/0.6466, allocations: 0.6986 MB / 0.7977 GB, free: 72.72 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.6466, allocations: 112.3 kB / 0.7978 GB, free: 72.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.6478, allocations: 0.5378 MB / 0.7984 GB, free: 72.39 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.725e-05/0.6479, allocations: 35.52 kB / 0.7984 GB, free: 72.36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.6481, allocations: 321.7 kB / 0.7987 GB, free: 72.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/0.6483, allocations: 173.2 kB / 0.7989 GB, free: 72.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.6484, allocations: 6.312 kB / 0.7989 GB, free: 72.06 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.6485, allocations: 372.1 kB / 0.7992 GB, free: 71.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007088/0.6492, allocations: 207.4 kB / 0.7994 GB, free: 71.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007613/0.65, allocations: 315 kB / 0.7997 GB, free: 71.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007725/0.6508, allocations: 245.5 kB / 0.8 GB, free: 71.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.6508, allocations: 0 / 0.8 GB, free: 71.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002659/0.6535, allocations: 0.7676 MB / 0.8007 GB, free: 71.31 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.285e-05/0.6536, allocations: 170.2 kB / 0.8009 GB, free: 71.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.6536, allocations: 10.47 kB / 0.8009 GB, free: 71.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006869/0.6543, allocations: 136.7 kB / 0.801 GB, free: 71.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.6553, allocations: 121.6 kB / 0.8011 GB, free: 71.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003617/0.659, allocations: 2.172 MB / 0.8033 GB, free: 69.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008678/0.6599, allocations: 85.53 kB / 0.8033 GB, free: 69.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.602e-05/0.66, allocations: 17.72 kB / 0.8034 GB, free: 69.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/0.66, allocations: 2.781 kB / 0.8034 GB, free: 69.5 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001794/0.6618, allocations: 0.5713 MB / 0.8039 GB, free: 69.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.6618, allocations: 3.094 kB / 0.8039 GB, free: 69.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004115/0.6622, allocations: 94.36 kB / 0.804 GB, free: 69.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009868/0.6632, allocations: 131.2 kB / 0.8041 GB, free: 69.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/0.6656, allocations: 1.922 MB / 0.806 GB, free: 67.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008239/0.6664, allocations: 75.94 kB / 0.8061 GB, free: 67.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-05/0.6665, allocations: 18.09 kB / 0.8061 GB, free: 67.84 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 (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.0005765/0.6671, allocations: 298.5 kB / 0.8064 GB, free: 67.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.6673, allocations: 64.61 kB / 0.8064 GB, free: 67.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/0.6691, allocations: 0.5714 MB / 0.807 GB, free: 67.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.6691, allocations: 6.031 kB / 0.807 GB, free: 67.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6691, allocations: 3.984 kB / 0.807 GB, free: 67.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.6692, allocations: 0 / 0.807 GB, free: 67.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002964/0.6721, allocations: 1.261 MB / 0.8082 GB, free: 66.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.6722, allocations: 0 / 0.8082 GB, free: 66.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.6732, allocations: 115.5 kB / 0.8084 GB, free: 66.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.6733, allocations: 2.719 kB / 0.8084 GB, free: 66.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-05/0.6733, allocations: 8.75 kB / 0.8084 GB, free: 66.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.6734, allocations: 3 kB / 0.8084 GB, free: 66.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.6734, allocations: 0 / 0.8084 GB, free: 66.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002493/0.6759, allocations: 0.9053 MB / 0.8093 GB, free: 66.61 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003619/0.6763, allocations: 191 kB / 0.8094 GB, free: 66.46 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.6764, allocations: 11.59 kB / 0.8094 GB, free: 66.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006748/0.6771, allocations: 40.58 kB / 0.8095 GB, free: 66.45 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.6773, allocations: 39.95 kB / 0.8095 GB, free: 66.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.917e-05/0.6773, allocations: 19.88 kB / 0.8095 GB, free: 66.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008815/0.6782, allocations: 389 kB / 0.8099 GB, free: 66.28 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6782, allocations: 0 / 0.8099 GB, free: 66.28 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001308/0.6795, allocations: 263.2 kB / 0.8102 GB, free: 66.23 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 (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.0002101/0.6798, allocations: 122.2 kB / 0.8103 GB, free: 66.13 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002895/0.6827, allocations: 1.051 MB / 0.8113 GB, free: 65.76 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.6827, allocations: 0 / 0.8113 GB, free: 65.76 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008278/0.6836, allocations: 254.5 kB / 0.8116 GB, free: 65.72 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.6848, allocations: 123.3 kB / 0.8117 GB, free: 65.69 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004168/0.689, allocations: 1.741 MB / 0.8134 GB, free: 64.62 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.6895, allocations: 0.9406 MB / 0.8143 GB, free: 63.82 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007877/0.6903, allocations: 111.2 kB / 0.8144 GB, free: 63.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.6905, allocations: 42.03 kB / 0.8144 GB, free: 63.76 MB / 442.7 MB Notification: Performance of SimCode: time 1.373e-06/0.6905, allocations: 4 kB / 0.8144 GB, free: 63.76 MB / 442.7 MB Notification: Performance of Templates: time 0.01963/0.7102, allocations: 6.943 MB / 0.8212 GB, free: 57.66 MB / 442.7 MB