Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Introductory.Tables.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.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Introductory.Tables") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00272/0.002724, 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.789/3.789, allocations: 388.9 MB / 406.8 MB, free: 11.99 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.003526/0.003526, allocations: 227.5 kB / 452.2 MB, free: 14.58 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.7343/0.7343, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006228/0.0006232, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09149/0.09214, allocations: 53.23 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4297/0.5219, allocations: 81.66 MB / 0.754 GB, free: 81.68 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002289/0.5243, allocations: 0.8327 MB / 0.7548 GB, free: 81.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00681/0.5311, allocations: 1.874 MB / 0.7566 GB, free: 81.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5312, allocations: 0 / 0.7566 GB, free: 81.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.5312, allocations: 1.25 kB / 0.7566 GB, free: 81.32 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003867/0.5316, allocations: 398.4 kB / 0.757 GB, free: 80.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.5316, allocations: 10.56 kB / 0.757 GB, free: 80.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.5317, allocations: 3 kB / 0.757 GB, free: 80.91 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.5319, allocations: 195.5 kB / 0.7572 GB, free: 80.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.5319, allocations: 1.375 kB / 0.7572 GB, free: 80.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.532, allocations: 2.469 kB / 0.7572 GB, free: 80.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.5321, allocations: 62.97 kB / 0.7572 GB, free: 80.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.5321, allocations: 5.531 kB / 0.7572 GB, free: 80.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.5322, allocations: 0.5156 kB / 0.7572 GB, free: 80.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.5322, allocations: 5.266 kB / 0.7573 GB, free: 80.65 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.285e-05/0.5322, allocations: 18.66 kB / 0.7573 GB, free: 80.65 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.5326, allocations: 274.7 kB / 0.7575 GB, free: 80.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.5327, allocations: 42.83 kB / 0.7576 GB, free: 80.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.4e-05/0.5328, allocations: 14.95 kB / 0.7576 GB, free: 80.36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.5328, allocations: 1.406 kB / 0.7576 GB, free: 80.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.5328, allocations: 38.66 kB / 0.7576 GB, free: 80.31 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.5329, allocations: 0.5938 kB / 0.7576 GB, free: 80.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.000197/0.5331, allocations: 59.84 kB / 0.7577 GB, free: 80.28 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.5331, allocations: 77.11 kB / 0.7578 GB, free: 80.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.5333, allocations: 133.4 kB / 0.7579 GB, free: 80.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.5333, allocations: 30.77 kB / 0.7579 GB, free: 80.05 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.5333, allocations: 92.36 kB / 0.758 GB, free: 79.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.5334, allocations: 15.78 kB / 0.758 GB, free: 79.96 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.5334, allocations: 0 / 0.758 GB, free: 79.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.855e-05/0.5334, allocations: 317.2 kB / 0.7583 GB, free: 79.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.04e-05/0.5335, allocations: 6.719 kB / 0.7583 GB, free: 79.64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.098e-05/0.5335, allocations: 26.95 kB / 0.7584 GB, free: 79.63 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.079e-05/0.5336, allocations: 39.3 kB / 0.7584 GB, free: 79.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5336, allocations: 3.938 kB / 0.7584 GB, free: 79.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001362/0.5338, allocations: 82.95 kB / 0.7585 GB, free: 79.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.5338, allocations: 37.47 kB / 0.7585 GB, free: 79.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.5338, allocations: 1.547 kB / 0.7585 GB, free: 79.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.5338, allocations: 0 / 0.7585 GB, free: 79.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.693e-05/0.5339, allocations: 11.8 kB / 0.7585 GB, free: 79.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.5339, allocations: 1.797 kB / 0.7585 GB, free: 79.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.446e-05/0.534, allocations: 8.688 kB / 0.7585 GB, free: 79.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.534, allocations: 2.125 kB / 0.7585 GB, free: 79.49 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.205e-05/0.5341, allocations: 115.8 kB / 0.7586 GB, free: 79.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.5341, allocations: 3.844 kB / 0.7586 GB, free: 79.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.5343, allocations: 72.09 kB / 0.7587 GB, free: 79.33 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.5343, allocations: 0.9375 kB / 0.7587 GB, free: 79.33 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5343, allocations: 0 / 0.7587 GB, free: 79.33 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5343, allocations: 3.719 kB / 0.7587 GB, free: 79.33 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.5345, allocations: 165.2 kB / 0.7589 GB, free: 79.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.5345, allocations: 1.438 kB / 0.7589 GB, free: 79.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.158e-05/0.5345, allocations: 7.812 kB / 0.7589 GB, free: 79.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.5346, allocations: 6.969 kB / 0.7589 GB, free: 79.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.5346, allocations: 0 / 0.7589 GB, free: 79.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.5346, allocations: 3.953 kB / 0.7589 GB, free: 79.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5346, allocations: 0 / 0.7589 GB, free: 79.14 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.5347, allocations: 147.6 kB / 0.759 GB, free: 79.01 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.5348, allocations: 84.89 kB / 0.7591 GB, free: 78.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.5348, allocations: 2.062 kB / 0.7591 GB, free: 78.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.41e-05/0.5349, allocations: 0 / 0.7591 GB, free: 78.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.5349, allocations: 16.23 kB / 0.7591 GB, free: 78.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.5349, allocations: 0 / 0.7591 GB, free: 78.91 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.293e-05/0.535, allocations: 106.8 kB / 0.7592 GB, free: 78.83 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.535, allocations: 0.75 kB / 0.7592 GB, free: 78.83 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003317/0.5354, allocations: 33.14 kB / 0.7593 GB, free: 78.82 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008882/0.5363, allocations: 318.4 kB / 0.7596 GB, free: 78.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.5364, allocations: 81.02 kB / 0.7597 GB, free: 78.64 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5364, allocations: 0 / 0.7597 GB, free: 78.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.772e-05/0.5365, allocations: 7.781 kB / 0.7597 GB, free: 78.64 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.5368, allocations: 10.17 kB / 0.7597 GB, free: 78.64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.5372, allocations: 148.4 kB / 0.7598 GB, free: 78.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.5373, allocations: 0.6898 MB / 0.7605 GB, free: 77.82 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.386e-05/0.5374, allocations: 18.19 kB / 0.7605 GB, free: 77.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.5375, allocations: 11.34 kB / 0.7605 GB, free: 77.81 MB / 442.7 MB Notification: Performance of SimCode: time 8.41e-07/0.5375, allocations: 0 / 0.7605 GB, free: 77.81 MB / 442.7 MB Notification: Performance of Templates: time 0.004096/0.5416, allocations: 1.018 MB / 0.7615 GB, free: 77.78 MB / 442.7 MB