Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002653/0.002659, allocations: 365.6 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.805/3.805, 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.003533/0.003533, allocations: 233.6 kB / 452.2 MB, free: 14.5 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.7308/0.7308, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004626/0.0004629, allocations: 16 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0903/0.09079, allocations: 53.23 MB / 0.6742 GB, free: 60.84 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.439/0.5298, allocations: 89.8 MB / 0.7619 GB, free: 81.79 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.5302, allocations: 94.8 kB / 0.762 GB, free: 81.79 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02618/0.5564, allocations: 6.578 MB / 0.7684 GB, free: 81.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5564, allocations: 1.094 kB / 0.7684 GB, free: 81.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.534e-05/0.5565, allocations: 8.812 kB / 0.7684 GB, free: 81.04 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001071/0.5576, allocations: 0.5793 MB / 0.769 GB, free: 80.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.5576, allocations: 11.56 kB / 0.769 GB, free: 80.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.754e-05/0.5577, allocations: 31.56 kB / 0.7691 GB, free: 80.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.5587, allocations: 471.4 kB / 0.7695 GB, free: 80.33 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.5588, allocations: 14.94 kB / 0.7695 GB, free: 80.33 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/0.5588, allocations: 19.19 kB / 0.7695 GB, free: 80.33 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005602/0.5594, allocations: 292.6 kB / 0.7698 GB, free: 80.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.5594, allocations: 3.688 kB / 0.7698 GB, free: 80.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.5595, allocations: 14.7 kB / 0.7698 GB, free: 80.22 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.5595, allocations: 5 kB / 0.7698 GB, free: 80.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004177/0.5599, allocations: 180.8 kB / 0.77 GB, free: 80.21 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.5615, allocations: 1.226 MB / 0.7712 GB, free: 79.33 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.5619, allocations: 109.4 kB / 0.7713 GB, free: 79.28 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.842e-05/0.562, allocations: 45.72 kB / 0.7714 GB, free: 79.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.562, allocations: 1.469 kB / 0.7714 GB, free: 79.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.5621, allocations: 32.56 kB / 0.7714 GB, free: 79.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 2.845e-06/0.5621, allocations: 0 / 0.7714 GB, free: 79.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009911/0.5631, allocations: 494.6 kB / 0.7719 GB, free: 78.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.5631, allocations: 84.19 kB / 0.7719 GB, free: 78.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.5634, allocations: 245.1 kB / 0.7722 GB, free: 78.69 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.5635, allocations: 33.23 kB / 0.7722 GB, free: 78.66 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.5636, allocations: 198.3 kB / 0.7724 GB, free: 78.53 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.5636, allocations: 32.83 kB / 0.7724 GB, free: 78.51 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.285e-05/0.5636, allocations: 8.156 kB / 0.7724 GB, free: 78.51 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.091e-05/0.5637, allocations: 331.7 kB / 0.7727 GB, free: 78.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.767e-05/0.5638, allocations: 36.06 kB / 0.7728 GB, free: 78.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.564, allocations: 137.3 kB / 0.7729 GB, free: 78.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.5641, allocations: 55.58 kB / 0.773 GB, free: 78.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.5642, allocations: 3.844 kB / 0.773 GB, free: 78.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003869/0.5645, allocations: 206.7 kB / 0.7732 GB, free: 78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.5646, allocations: 8.281 kB / 0.7732 GB, free: 78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.5646, allocations: 3.844 kB / 0.7732 GB, free: 78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.5646, allocations: 8.609 kB / 0.7732 GB, free: 78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.5649, allocations: 49.06 kB / 0.7732 GB, free: 77.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.5649, allocations: 5.469 kB / 0.7732 GB, free: 77.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.5651, allocations: 12.84 kB / 0.7732 GB, free: 77.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.5652, allocations: 12.22 kB / 0.7733 GB, free: 77.99 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * Single equations (assignments): 24 * 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 prepare postOptimizeDAE: time 0.0001641/0.5653, allocations: 153.7 kB / 0.7734 GB, free: 77.87 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.5654, allocations: 16.44 kB / 0.7734 GB, free: 77.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.5657, allocations: 136.3 kB / 0.7736 GB, free: 77.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.5657, allocations: 3.656 kB / 0.7736 GB, free: 77.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5657, allocations: 3.953 kB / 0.7736 GB, free: 77.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.5658, allocations: 0 / 0.7736 GB, free: 77.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006284/0.5664, allocations: 481.4 kB / 0.774 GB, free: 77.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5664, allocations: 0 / 0.774 GB, free: 77.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.5666, allocations: 22.95 kB / 0.774 GB, free: 77.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.5667, allocations: 4 kB / 0.774 GB, free: 77.51 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.5667, allocations: 8.922 kB / 0.7741 GB, free: 77.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5667, allocations: 0 / 0.7741 GB, free: 77.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.5667, allocations: 0 / 0.7741 GB, free: 77.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004161/0.5671, allocations: 279.3 kB / 0.7743 GB, free: 77.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.685e-05/0.5672, allocations: 103.6 kB / 0.7744 GB, free: 77.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.5673, allocations: 7.438 kB / 0.7744 GB, free: 77.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.5674, allocations: 7.797 kB / 0.7744 GB, free: 77.22 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.5675, allocations: 7.188 kB / 0.7744 GB, free: 77.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.5675, allocations: 12.16 kB / 0.7745 GB, free: 77.22 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001757/0.5677, allocations: 170.5 kB / 0.7746 GB, free: 77.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5677, allocations: 0 / 0.7746 GB, free: 77.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004196/0.5681, allocations: 48.31 kB / 0.7747 GB, free: 77.14 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (13): * Single equations (assignments): 12 * 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.0001198/0.5682, allocations: 103.5 kB / 0.7748 GB, free: 77.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002814/0.5685, allocations: 112.4 kB / 0.7749 GB, free: 77.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5686, allocations: 0 / 0.7749 GB, free: 77.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.5687, allocations: 45.28 kB / 0.7749 GB, free: 77.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006268/0.5693, allocations: 48.78 kB / 0.775 GB, free: 77.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.5704, allocations: 0.6829 MB / 0.7756 GB, free: 76.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.5707, allocations: 0.7768 MB / 0.7764 GB, free: 75.94 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001966/0.5709, allocations: 31.62 kB / 0.7764 GB, free: 75.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.305e-05/0.5709, allocations: 22.78 kB / 0.7764 GB, free: 75.93 MB / 442.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5709, allocations: 0 / 0.7764 GB, free: 75.93 MB / 442.7 MB Notification: Performance of Templates: time 0.006697/0.5777, allocations: 1.857 MB / 0.7782 GB, free: 75.82 MB / 442.7 MB