Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.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.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002081/0.002081, allocations: 186.1 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.992/1.992, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001093, allocations: 106.5 kB / 267.1 MB, free: 9.273 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.2693/0.2693, allocations: 37.96 MB / 353.1 MB, free: 3.062 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.953e-05/2.971e-05, allocations: 4 kB / 416.8 MB, free: 41.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1027, allocations: 56.32 MB / 473.1 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5193/0.622, allocations: 100.1 MB / 0.5598 GB, free: 3.676 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/0.6224, allocations: 91.94 kB / 0.5599 GB, free: 3.586 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07455/0.697, allocations: 16.93 MB / 0.5764 GB, free: 2.438 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.697, allocations: 0 / 0.5764 GB, free: 2.438 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.9e-05/0.6971, allocations: 20 kB / 0.5764 GB, free: 2.418 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002525/0.6997, allocations: 0.9961 MB / 0.5774 GB, free: 1.363 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.6997, allocations: 8.031 kB / 0.5774 GB, free: 1.355 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003071/0.7001, allocations: 102.8 kB / 0.5775 GB, free: 1.254 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006949/0.707, allocations: 1.693 MB / 0.5791 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-05/0.7071, allocations: 41.31 kB / 0.5792 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.7073, allocations: 64 kB / 0.5792 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/0.7093, allocations: 0.7905 MB / 0.58 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.331e-05/0.7094, allocations: 7.938 kB / 0.58 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.98e-05/0.7095, allocations: 20 kB / 0.58 GB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.588e-05/0.7096, allocations: 45.25 kB / 0.5801 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.7112, allocations: 0.5907 MB / 0.5807 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005992/0.7172, allocations: 2.649 MB / 0.5832 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.7189, allocations: 0.6039 MB / 0.5838 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000963/0.7199, allocations: 371.1 kB / 0.5842 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.444e-05/0.72, allocations: 8.438 kB / 0.5842 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008904/0.7209, allocations: 475.1 kB / 0.5846 GB, free: 9.645 MB / 426.7 MB Notification: Performance of pre-optimization done (n=63): time 3.246e-06/0.7209, allocations: 0 / 0.5846 GB, free: 9.645 MB / 426.7 MB Notification: Performance of matching and sorting (n=64): time 0.004123/0.725, allocations: 1.747 MB / 0.5864 GB, free: 7.809 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001736/0.7252, allocations: 255.9 kB / 0.5866 GB, free: 7.504 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009353/0.7262, allocations: 499.4 kB / 0.5871 GB, free: 7.008 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.717e-05/0.7263, allocations: 41.7 kB / 0.5871 GB, free: 6.961 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004152/0.7267, allocations: 417.9 kB / 0.5875 GB, free: 6.547 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002828/0.727, allocations: 205.2 kB / 0.5877 GB, free: 6.344 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/0.7271, allocations: 20 kB / 0.5877 GB, free: 6.324 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.7273, allocations: 338.8 kB / 0.5881 GB, free: 5.984 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006095/0.7279, allocations: 217.9 kB / 0.5883 GB, free: 5.773 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007892/0.7287, allocations: 445.9 kB / 0.5887 GB, free: 5.238 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007506/0.7295, allocations: 338.8 kB / 0.589 GB, free: 4.891 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.7295, allocations: 0 / 0.589 GB, free: 4.891 MB / 426.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002428/0.7319, allocations: 0.8897 MB / 0.5899 GB, free: 3.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.691e-05/0.732, allocations: 67.39 kB / 0.5899 GB, free: 3.902 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.732, allocations: 8.469 kB / 0.5899 GB, free: 3.895 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005933/0.7327, allocations: 117.8 kB / 0.5901 GB, free: 3.773 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009982/0.7337, allocations: 147.7 kB / 0.5902 GB, free: 3.629 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004229/0.7379, allocations: 3.193 MB / 0.5933 GB, free: 172 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009391/0.7389, allocations: 39.92 kB / 0.5934 GB, free: 132 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.7391, allocations: 60.03 kB / 0.5934 GB, free: 72 kB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,$whenCondition3,$whenCondition4,$PRE.tapRelay1.cnt_1,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_2,$whenCondition1,$whenCondition2,$PRE.tapRelay2.cnt_1,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_2,$PRE.tapRelay2.tap_1,tapRelay2.tap_1,$PRE.tapRelay2.tap_2,tapRelay2.tap_2,$PRE.tapRelay1.tap_1,tapRelay1.tap_1,$PRE.tapRelay1.tap_2,tapRelay1.tap_2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003414/0.7394, allocations: 229.8 kB / 0.5936 GB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.7396, allocations: 71.16 kB / 0.5937 GB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001897/0.7415, allocations: 0.7741 MB / 0.5945 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.7415, allocations: 8 kB / 0.5945 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.7415, allocations: 4 kB / 0.5945 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.7415, allocations: 3.984 kB / 0.5945 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003647/0.7452, allocations: 1.553 MB / 0.596 GB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.7453, allocations: 0 / 0.596 GB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009708/0.7462, allocations: 112 kB / 0.5961 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.474e-05/0.7463, allocations: 11.92 kB / 0.5961 GB, free: 13.19 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.747e-05/0.7463, allocations: 19.98 kB / 0.5961 GB, free: 13.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.878e-06/0.7464, allocations: 4 kB / 0.5961 GB, free: 13.17 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.7464, allocations: 3.953 kB / 0.5961 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/0.749, allocations: 1.223 MB / 0.5973 GB, free: 11.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004292/0.7495, allocations: 192.1 kB / 0.5975 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.7496, allocations: 15.94 kB / 0.5975 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006004/0.7502, allocations: 36.03 kB / 0.5976 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.7504, allocations: 40.39 kB / 0.5976 GB, free: 11.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/0.7505, allocations: 55.98 kB / 0.5977 GB, free: 11.53 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007418/0.7513, allocations: 387.1 kB / 0.598 GB, free: 11.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7513, allocations: 0 / 0.598 GB, free: 11.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001075/0.7524, allocations: 196 kB / 0.5982 GB, free: 10.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (trafo1.i1,trafo2.i1) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * 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.0004078/0.7528, allocations: 192.7 kB / 0.5984 GB, free: 10.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002407/0.7552, allocations: 0.9758 MB / 0.5993 GB, free: 9.738 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.7553, allocations: 5.25 kB / 0.5994 GB, free: 9.734 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.7563, allocations: 0.4895 MB / 0.5998 GB, free: 9.219 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.7575, allocations: 139.1 kB / 0.6 GB, free: 9.082 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/0.7608, allocations: 1.26 MB / 0.6012 GB, free: 7.781 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008719/0.7617, allocations: 1.021 MB / 0.6022 GB, free: 6.727 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.762, allocations: 55.42 kB / 0.6022 GB, free: 6.672 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/0.762, allocations: 4 kB / 0.6022 GB, free: 6.668 MB / 442.7 MB Notification: Performance of Templates: time 0.02697/0.789, allocations: 11.95 MB / 0.6139 GB, free: 10.7 MB / 458.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1)