Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00262/0.002625, 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.833/3.833, allocations: 388.9 MB / 406.8 MB, free: 11.98 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.003547/0.003547, allocations: 227.5 kB / 452.2 MB, free: 14.57 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.736/0.736, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004523/0.0004526, allocations: 8 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09164/0.09211, allocations: 53.23 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4702/0.5624, allocations: 111.8 MB / 0.7834 GB, free: 79.41 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/0.5628, allocations: 99.16 kB / 0.7835 GB, free: 79.4 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1472/0.7099, allocations: 37.8 MB / 0.8204 GB, free: 57.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.71, allocations: 0 / 0.8204 GB, free: 57.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.876e-05/0.7101, allocations: 28 kB / 0.8204 GB, free: 57.29 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.004148/0.7142, allocations: 1.438 MB / 0.8218 GB, free: 55.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.7143, allocations: 16.03 kB / 0.8219 GB, free: 55.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002454/0.7168, allocations: 258 kB / 0.8221 GB, free: 55.62 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003843/0.7206, allocations: 1.2 MB / 0.8233 GB, free: 54.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.113e-05/0.7208, allocations: 84.91 kB / 0.8234 GB, free: 54.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003502/0.7211, allocations: 119.5 kB / 0.8235 GB, free: 54.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003235/0.7244, allocations: 1.475 MB / 0.8249 GB, free: 53.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.679e-05/0.7244, allocations: 3.984 kB / 0.8249 GB, free: 53.33 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/0.7246, allocations: 47.3 kB / 0.825 GB, free: 53.31 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001697/0.7248, allocations: 89.73 kB / 0.8251 GB, free: 53.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00288/0.7277, allocations: 1.233 MB / 0.8263 GB, free: 52.36 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01031/0.738, allocations: 5.65 MB / 0.8318 GB, free: 47.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.7393, allocations: 0.5906 MB / 0.8324 GB, free: 46.85 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007826/0.7401, allocations: 393.6 kB / 0.8327 GB, free: 46.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.059e-05/0.7402, allocations: 12.55 kB / 0.8327 GB, free: 46.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.7403, allocations: 42.88 kB / 0.8328 GB, free: 46.53 MB / 442.7 MB Notification: Performance of pre-optimization done (n=67): time 3.457e-06/0.7403, allocations: 0 / 0.8328 GB, free: 46.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=75): time 0.01122/0.7515, allocations: 3.622 MB / 0.8363 GB, free: 43.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.7516, allocations: 89.7 kB / 0.8364 GB, free: 43.36 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.7528, allocations: 0.7246 MB / 0.8371 GB, free: 42.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.828e-05/0.7529, allocations: 36.27 kB / 0.8371 GB, free: 42.76 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003812/0.7533, allocations: 0.6004 MB / 0.8377 GB, free: 42.26 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/0.7535, allocations: 276.1 kB / 0.838 GB, free: 41.99 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-05/0.7536, allocations: 20 kB / 0.838 GB, free: 41.97 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.7538, allocations: 402.7 kB / 0.8384 GB, free: 41.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008592/0.7546, allocations: 389.8 kB / 0.8388 GB, free: 41.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009977/0.7556, allocations: 0.6574 MB / 0.8394 GB, free: 40.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.7567, allocations: 0.4987 MB / 0.8399 GB, free: 39.91 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.7567, allocations: 4 kB / 0.8399 GB, free: 39.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.005235/0.762, allocations: 1.698 MB / 0.8416 GB, free: 38.19 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.7621, allocations: 8 kB / 0.8416 GB, free: 38.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004193/0.7663, allocations: 1.303 MB / 0.8428 GB, free: 36.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003195/0.7695, allocations: 0.5915 MB / 0.8434 GB, free: 36.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.7707, allocations: 167.7 kB / 0.8436 GB, free: 36.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01526/0.786, allocations: 9.458 MB / 0.8528 GB, free: 26.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.7873, allocations: 51.86 kB / 0.8529 GB, free: 26.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.7874, allocations: 47.98 kB / 0.8529 GB, free: 26 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (94): * Single equations (assignments): 90 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0008682/0.7883, allocations: 385.3 kB / 0.8533 GB, free: 25.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.7885, allocations: 90.88 kB / 0.8534 GB, free: 25.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/0.7919, allocations: 1.256 MB / 0.8546 GB, free: 24.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.792, allocations: 8 kB / 0.8546 GB, free: 24.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.792, allocations: 8 kB / 0.8546 GB, free: 24.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.792, allocations: 3.984 kB / 0.8546 GB, free: 24.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006289/0.7983, allocations: 2.404 MB / 0.857 GB, free: 21.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.7984, allocations: 7.984 kB / 0.857 GB, free: 21.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008471/0.7993, allocations: 95.89 kB / 0.8571 GB, free: 21.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/0.8011, allocations: 376 kB / 0.8574 GB, free: 21.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.8012, allocations: 31.98 kB / 0.8574 GB, free: 21.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009044/0.8103, allocations: 8.509 MB / 0.8658 GB, free: 12.03 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.8103, allocations: 4.031 kB / 0.8658 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004016/0.8143, allocations: 1.669 MB / 0.8674 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005803/0.815, allocations: 235.8 kB / 0.8676 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.8152, allocations: 20 kB / 0.8676 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008214/0.816, allocations: 27.91 kB / 0.8677 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.8162, allocations: 60.42 kB / 0.8677 GB, free: 9.941 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.447e-05/0.8163, allocations: 27.98 kB / 0.8677 GB, free: 9.914 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009075/0.8173, allocations: 0.5029 MB / 0.8682 GB, free: 9.418 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.8173, allocations: 0 / 0.8682 GB, free: 9.418 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001949/0.8192, allocations: 356 kB / 0.8686 GB, free: 9.07 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (turboGrp.w,generator.phi_el,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 2 (system.initime,$cse4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 52 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 10,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003768/0.8196, allocations: 187.3 kB / 0.8688 GB, free: 8.879 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003291/0.8229, allocations: 1.57 MB / 0.8703 GB, free: 7.266 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.823, allocations: 0 / 0.8703 GB, free: 7.266 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002255/0.8252, allocations: 1.095 MB / 0.8714 GB, free: 6.102 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.8269, allocations: 206.2 kB / 0.8715 GB, free: 5.902 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006202/0.8332, allocations: 3.29 MB / 0.8748 GB, free: 2.562 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000975/0.8342, allocations: 1.282 MB / 0.876 GB, free: 1.246 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001121/0.8353, allocations: 215.6 kB / 0.8762 GB, free: 1.031 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.8356, allocations: 67.42 kB / 0.8763 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of SimCode: time 1.262e-06/0.8356, allocations: 4 kB / 0.8763 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of Templates: time 0.04189/0.8775, allocations: 14.59 MB / 0.8905 GB, free: 2.488 MB / 458.7 MB