Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002179/0.002178, allocations: 189 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.197/2.197, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00119/0.001189, allocations: 86.64 kB / 261.8 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2586/0.2586, allocations: 38 MB / 347.7 MB, free: 5.766 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.5e-05/2.513e-05, allocations: 4 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1285, allocations: 56.32 MB / 466.2 MB, free: 10.83 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4887/0.6173, allocations: 98.18 MB / 0.5511 GB, free: 9.922 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.6176, allocations: 91.58 kB / 0.5512 GB, free: 9.906 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04197/0.6596, allocations: 10.8 MB / 0.5618 GB, free: 3.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6597, allocations: 0 / 0.5618 GB, free: 3.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.762e-05/0.6597, allocations: 12 kB / 0.5618 GB, free: 3.758 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001323/0.6611, allocations: 0.686 MB / 0.5624 GB, free: 3.059 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.6611, allocations: 8.031 kB / 0.5624 GB, free: 3.051 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.6612, allocations: 63.23 kB / 0.5625 GB, free: 2.988 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004362/0.6656, allocations: 1.183 MB / 0.5637 GB, free: 1.973 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.6657, allocations: 12 kB / 0.5637 GB, free: 1.961 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.139e-05/0.6658, allocations: 20 kB / 0.5637 GB, free: 1.941 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000775/0.6666, allocations: 329.5 kB / 0.564 GB, free: 1.727 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000828/0.6674, allocations: 438.5 kB / 0.5644 GB, free: 1.363 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.6674, allocations: 3.938 kB / 0.5644 GB, free: 1.359 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/0.6675, allocations: 4 kB / 0.5644 GB, free: 1.355 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-05/0.6675, allocations: 20.73 kB / 0.5645 GB, free: 1.332 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003168/0.6707, allocations: 2.008 MB / 0.5664 GB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005845/0.6713, allocations: 230.8 kB / 0.5666 GB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003472/0.6717, allocations: 125.2 kB / 0.5668 GB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.6717, allocations: 192 / 0.5668 GB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.6718, allocations: 42.06 kB / 0.5668 GB, free: 15.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 3.787e-06/0.6718, allocations: 3.984 kB / 0.5668 GB, free: 15.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.001423/0.6732, allocations: 0.6395 MB / 0.5674 GB, free: 14.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.6733, allocations: 85.05 kB / 0.5675 GB, free: 14.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004597/0.6738, allocations: 307.4 kB / 0.5678 GB, free: 14.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.6738, allocations: 25.7 kB / 0.5678 GB, free: 14.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.6741, allocations: 347 kB / 0.5682 GB, free: 13.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.397e-05/0.6742, allocations: 78.25 kB / 0.5682 GB, free: 13.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.594e-05/0.6742, allocations: 0 / 0.5682 GB, free: 13.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.6744, allocations: 333.2 kB / 0.5685 GB, free: 13.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.6746, allocations: 71.86 kB / 0.5686 GB, free: 13.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.6749, allocations: 259.1 kB / 0.5689 GB, free: 13.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.6753, allocations: 126.4 kB / 0.569 GB, free: 13.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.6753, allocations: 8 kB / 0.569 GB, free: 13.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009536/0.6763, allocations: 366.1 kB / 0.5693 GB, free: 12.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.6763, allocations: 8 kB / 0.5693 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.6763, allocations: 8 kB / 0.5694 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002764/0.6766, allocations: 51.89 kB / 0.5694 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004886/0.6771, allocations: 83.69 kB / 0.5695 GB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/0.679, allocations: 1.431 MB / 0.5709 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/0.6794, allocations: 20 kB / 0.5709 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-05/0.6795, allocations: 27.44 kB / 0.5709 GB, free: 11.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.6796, allocations: 120.5 kB / 0.571 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.448e-05/0.6797, allocations: 35.53 kB / 0.5711 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005389/0.6803, allocations: 220.6 kB / 0.5713 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.6803, allocations: 0 / 0.5713 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.6803, allocations: 0 / 0.5713 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.6803, allocations: 8 kB / 0.5713 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.6815, allocations: 0.5916 MB / 0.5719 GB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6815, allocations: 0 / 0.5719 GB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000459/0.682, allocations: 55.84 kB / 0.5719 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.682, allocations: 0 / 0.5719 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.682, allocations: 4 kB / 0.5719 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.682, allocations: 0 / 0.5719 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.682, allocations: 192 / 0.5719 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007607/0.6828, allocations: 442 kB / 0.5723 GB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.683, allocations: 127 kB / 0.5725 GB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/0.6831, allocations: 15.94 kB / 0.5725 GB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.6834, allocations: 64 / 0.5725 GB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.6834, allocations: 18.98 kB / 0.5725 GB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.6835, allocations: 4 kB / 0.5725 GB, free: 9.605 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003568/0.6838, allocations: 236.8 kB / 0.5727 GB, free: 9.422 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6838, allocations: 0 / 0.5727 GB, free: 9.422 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007056/0.6846, allocations: 80 kB / 0.5728 GB, free: 9.344 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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.0002713/0.6848, allocations: 134.8 kB / 0.5729 GB, free: 9.207 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008714/0.6857, allocations: 343.1 kB / 0.5733 GB, free: 8.922 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6858, allocations: 4.188 kB / 0.5733 GB, free: 8.918 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.686, allocations: 84.3 kB / 0.5734 GB, free: 8.859 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007352/0.6867, allocations: 79.14 kB / 0.5734 GB, free: 8.801 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.6884, allocations: 0.634 MB / 0.574 GB, free: 8.203 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000634/0.689, allocations: 0.8649 MB / 0.5749 GB, free: 7.328 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.6892, allocations: 31.44 kB / 0.5749 GB, free: 7.301 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6892, allocations: 0 / 0.5749 GB, free: 7.301 MB / 378.7 MB Notification: Performance of Templates: time 0.01477/0.704, allocations: 5.942 MB / 0.5807 GB, free: 1.418 MB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)