Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 185.7 kB / 8.011 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 1.976/1.976, allocations: 205.3 MB / 213.7 MB, free: 1.727 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.00113/0.00113, allocations: 90.64 kB / 261.8 MB, free: 1.668 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.2856/0.2856, allocations: 37.99 MB / 347.7 MB, free: 5.758 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.952e-05/1.959e-05, allocations: 0 / 409.9 MB, free: 35.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1115, allocations: 56.33 MB / 466.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5032/0.6148, allocations: 94.53 MB / 0.5476 GB, free: 10.74 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.6151, allocations: 96.67 kB / 0.5477 GB, free: 10.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03133/0.6465, allocations: 7.318 MB / 0.5548 GB, free: 7.723 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.6465, allocations: 0 / 0.5548 GB, free: 7.723 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.118e-05/0.6466, allocations: 7.688 kB / 0.5548 GB, free: 7.723 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001051/0.6476, allocations: 0.5807 MB / 0.5554 GB, free: 7.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.6477, allocations: 15.09 kB / 0.5554 GB, free: 7.227 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.6478, allocations: 42.86 kB / 0.5554 GB, free: 7.203 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002929/0.6507, allocations: 0.8038 MB / 0.5562 GB, free: 6.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.6508, allocations: 11.62 kB / 0.5562 GB, free: 6.766 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.38e-05/0.6509, allocations: 15.53 kB / 0.5563 GB, free: 6.766 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005353/0.6514, allocations: 203.2 kB / 0.5564 GB, free: 6.742 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005451/0.652, allocations: 307.5 kB / 0.5567 GB, free: 6.586 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.652, allocations: 3.781 kB / 0.5567 GB, free: 6.586 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.6521, allocations: 0 / 0.5567 GB, free: 6.586 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.6521, allocations: 7.562 kB / 0.5568 GB, free: 6.586 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002027/0.6541, allocations: 1.31 MB / 0.558 GB, free: 5.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/0.6546, allocations: 152 kB / 0.5582 GB, free: 5.527 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.6548, allocations: 99.39 kB / 0.5583 GB, free: 5.496 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.6549, allocations: 3.688 kB / 0.5583 GB, free: 5.496 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.6549, allocations: 30.56 kB / 0.5583 GB, free: 5.457 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.334e-06/0.6549, allocations: 0 / 0.5583 GB, free: 5.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001161/0.6561, allocations: 0.5774 MB / 0.5589 GB, free: 5.055 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.6561, allocations: 84.98 kB / 0.559 GB, free: 4.957 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002992/0.6564, allocations: 249.2 kB / 0.5592 GB, free: 4.832 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.6565, allocations: 25.7 kB / 0.5592 GB, free: 4.801 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.6566, allocations: 268.6 kB / 0.5595 GB, free: 4.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.6567, allocations: 54.11 kB / 0.5595 GB, free: 4.551 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.274e-05/0.6567, allocations: 0 / 0.5595 GB, free: 4.551 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.781e-05/0.6567, allocations: 321.5 kB / 0.5598 GB, free: 4.234 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.6569, allocations: 56.42 kB / 0.5599 GB, free: 4.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.6571, allocations: 151.5 kB / 0.56 GB, free: 4.102 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.6573, allocations: 87.34 kB / 0.5601 GB, free: 4.074 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6573, allocations: 3.844 kB / 0.5601 GB, free: 4.074 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006196/0.6579, allocations: 258.4 kB / 0.5604 GB, free: 3.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.6579, allocations: 11.61 kB / 0.5604 GB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.658, allocations: 7.719 kB / 0.5604 GB, free: 3.973 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002529/0.6582, allocations: 46.42 kB / 0.5604 GB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.6586, allocations: 55.81 kB / 0.5605 GB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.6598, allocations: 1.405 MB / 0.5618 GB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.6601, allocations: 8.156 kB / 0.5619 GB, free: 2.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.6602, allocations: 10.94 kB / 0.5619 GB, free: 2.457 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.872e-05/0.6603, allocations: 116.8 kB / 0.562 GB, free: 2.336 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.6604, allocations: 26.97 kB / 0.562 GB, free: 2.312 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005372/0.6609, allocations: 219.5 kB / 0.5622 GB, free: 2.129 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.6609, allocations: 0 / 0.5622 GB, free: 2.129 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6609, allocations: 7.984 kB / 0.5622 GB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.661, allocations: 4 kB / 0.5622 GB, free: 2.117 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.662, allocations: 0.5709 MB / 0.5628 GB, free: 1.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.662, allocations: 0 / 0.5628 GB, free: 1.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.6622, allocations: 27.92 kB / 0.5628 GB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002725/0.6625, allocations: 46.88 kB / 0.5629 GB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.6626, allocations: 7.984 kB / 0.5629 GB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/0.6638, allocations: 1.407 MB / 0.5642 GB, free: 72 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.6639, allocations: 4.156 kB / 0.5642 GB, free: 68 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000783/0.6647, allocations: 405.2 kB / 0.5646 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.6648, allocations: 103.6 kB / 0.5647 GB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.703e-05/0.6649, allocations: 8.016 kB / 0.5647 GB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.6651, allocations: 4 kB / 0.5647 GB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.6652, allocations: 15.97 kB / 0.5647 GB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.6652, allocations: 6.688 kB / 0.5648 GB, free: 15.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002823/0.6655, allocations: 196.5 kB / 0.5649 GB, free: 15.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6655, allocations: 0 / 0.5649 GB, free: 15.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006253/0.6662, allocations: 67.98 kB / 0.565 GB, free: 15.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001762/0.6663, allocations: 107.2 kB / 0.5651 GB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006571/0.667, allocations: 259.5 kB / 0.5654 GB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.667, allocations: 0 / 0.5654 GB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004948/0.6675, allocations: 193.5 kB / 0.5655 GB, free: 14.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000607/0.6682, allocations: 59.8 kB / 0.5656 GB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.6696, allocations: 0.5544 MB / 0.5661 GB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005175/0.6702, allocations: 0.8131 MB / 0.5669 GB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.6703, allocations: 23.44 kB / 0.567 GB, free: 13.37 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6703, allocations: 4 kB / 0.567 GB, free: 13.36 MB / 378.7 MB Notification: Performance of Templates: time 0.01135/0.6817, allocations: 4.66 MB / 0.5715 GB, free: 8.746 MB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1)