Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.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.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002598/0.002604, allocations: 361.7 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.693/3.693, allocations: 388.9 MB / 406.8 MB, free: 11.92 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.003524/0.003524, allocations: 234.8 kB / 452.2 MB, free: 14.52 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.7013/0.7013, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004408/0.0004411, allocations: 8 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08947/0.08993, allocations: 53.23 MB / 0.6742 GB, free: 60.84 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4448/0.5348, allocations: 95.06 MB / 0.7671 GB, free: 81.61 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/0.5352, allocations: 93.91 kB / 0.7671 GB, free: 81.61 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06453/0.5997, allocations: 16.82 MB / 0.7836 GB, free: 78.22 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5998, allocations: 7.781 kB / 0.7836 GB, free: 78.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.419e-05/0.5998, allocations: 19.34 kB / 0.7836 GB, free: 78.21 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002394/0.6022, allocations: 1.115 MB / 0.7847 GB, free: 77.39 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.6023, allocations: 11.53 kB / 0.7847 GB, free: 77.39 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.6025, allocations: 92.38 kB / 0.7848 GB, free: 77.35 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/0.6056, allocations: 1.204 MB / 0.786 GB, free: 76.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/0.6057, allocations: 48.25 kB / 0.786 GB, free: 76.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.6059, allocations: 61.34 kB / 0.7861 GB, free: 76.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.6075, allocations: 0.8093 MB / 0.7869 GB, free: 76.46 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.6076, allocations: 0 / 0.7869 GB, free: 76.46 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.303e-05/0.6077, allocations: 32.39 kB / 0.7869 GB, free: 76.45 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.696e-05/0.6077, allocations: 43.08 kB / 0.7869 GB, free: 76.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.6091, allocations: 0.6065 MB / 0.7875 GB, free: 76.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004451/0.6136, allocations: 2.639 MB / 0.7901 GB, free: 74.72 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.6148, allocations: 0.5885 MB / 0.7907 GB, free: 74.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008071/0.6156, allocations: 390.8 kB / 0.791 GB, free: 74.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.766e-05/0.6157, allocations: 12.19 kB / 0.7911 GB, free: 74.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007167/0.6164, allocations: 488.8 kB / 0.7915 GB, free: 74.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 3.366e-06/0.6164, allocations: 0 / 0.7915 GB, free: 74.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=64): time 0.003679/0.6201, allocations: 1.975 MB / 0.7934 GB, free: 73.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.6202, allocations: 251.4 kB / 0.7937 GB, free: 73.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007552/0.621, allocations: 0.5535 MB / 0.7942 GB, free: 72.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/0.621, allocations: 45.3 kB / 0.7943 GB, free: 72.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/0.6213, allocations: 396.3 kB / 0.7947 GB, free: 72.62 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.6215, allocations: 205 kB / 0.7948 GB, free: 72.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.6216, allocations: 19.56 kB / 0.7949 GB, free: 72.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.6217, allocations: 384.2 kB / 0.7952 GB, free: 72.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005003/0.6222, allocations: 218.4 kB / 0.7954 GB, free: 72.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006/0.6228, allocations: 455.2 kB / 0.7959 GB, free: 71.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005976/0.6234, allocations: 330.2 kB / 0.7962 GB, free: 71.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.6234, allocations: 0 / 0.7962 GB, free: 71.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002026/0.6255, allocations: 0.9495 MB / 0.7971 GB, free: 71.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.509e-05/0.6255, allocations: 65.81 kB / 0.7972 GB, free: 71.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.6256, allocations: 5.844 kB / 0.7972 GB, free: 71.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000548/0.6261, allocations: 110.6 kB / 0.7973 GB, free: 71.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008656/0.627, allocations: 142.3 kB / 0.7974 GB, free: 71.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003104/0.6301, allocations: 3.207 MB / 0.8006 GB, free: 68.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007473/0.6309, allocations: 40.56 kB / 0.8006 GB, free: 68.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.631, allocations: 52.38 kB / 0.8006 GB, free: 68.42 MB / 442.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 () * Number of clocked 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.0005762/0.6316, allocations: 353.5 kB / 0.801 GB, free: 68.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.6318, allocations: 77.59 kB / 0.8011 GB, free: 68.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.6333, allocations: 0.79 MB / 0.8018 GB, free: 67.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.6333, allocations: 5.25 kB / 0.8018 GB, free: 67.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.6334, allocations: 3.953 kB / 0.8018 GB, free: 67.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.6334, allocations: 9.266 kB / 0.8018 GB, free: 67.92 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/0.6365, allocations: 1.558 MB / 0.8034 GB, free: 67.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.403e-06/0.6365, allocations: 2.656 kB / 0.8034 GB, free: 67.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008842/0.6374, allocations: 105.6 kB / 0.8035 GB, free: 67.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.6375, allocations: 3.031 kB / 0.8035 GB, free: 67.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.832e-05/0.6375, allocations: 23.11 kB / 0.8035 GB, free: 67.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.265e-06/0.6375, allocations: 8.875 kB / 0.8035 GB, free: 67.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6376, allocations: 3.938 kB / 0.8035 GB, free: 67.24 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/0.6397, allocations: 1.187 MB / 0.8047 GB, free: 66.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003575/0.6401, allocations: 183.4 kB / 0.8048 GB, free: 66.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.6403, allocations: 19.45 kB / 0.8049 GB, free: 66.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005933/0.6409, allocations: 32.52 kB / 0.8049 GB, free: 66.69 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.641, allocations: 45.19 kB / 0.8049 GB, free: 66.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.6411, allocations: 61.14 kB / 0.805 GB, free: 66.65 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006118/0.6418, allocations: 380.8 kB / 0.8054 GB, free: 66.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6418, allocations: 2.625 kB / 0.8054 GB, free: 66.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001023/0.6428, allocations: 187.7 kB / 0.8055 GB, free: 66.5 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) * Number of clocked states: 0 () * 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.0003001/0.6431, allocations: 186.7 kB / 0.8057 GB, free: 66.38 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00193/0.6451, allocations: 0.9894 MB / 0.8067 GB, free: 65.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6451, allocations: 1.312 kB / 0.8067 GB, free: 65.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007707/0.6459, allocations: 0.4926 MB / 0.8072 GB, free: 65.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.6471, allocations: 143 kB / 0.8073 GB, free: 65.69 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/0.6504, allocations: 1.843 MB / 0.8091 GB, free: 64.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005825/0.651, allocations: 1.028 MB / 0.8101 GB, free: 63.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007795/0.6518, allocations: 154 kB / 0.8103 GB, free: 63.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.652, allocations: 51.03 kB / 0.8103 GB, free: 63.7 MB / 442.7 MB Notification: Performance of SimCode: time 9.01e-07/0.652, allocations: 0 / 0.8103 GB, free: 63.7 MB / 442.7 MB Notification: Performance of Templates: time 0.02032/0.6723, allocations: 7.379 MB / 0.8175 GB, free: 59.14 MB / 442.7 MB