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.002224/0.002224, allocations: 183.4 kB / 8.012 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.124/2.124, allocations: 205.3 MB / 213.7 MB, free: 1.73 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.00111/0.001109, allocations: 82.66 kB / 261.8 MB, free: 1.672 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.248/0.248, allocations: 37.99 MB / 347.7 MB, free: 5.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.37e-05/2.375e-05, allocations: 4 kB / 409.9 MB, free: 35.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1072, allocations: 56.32 MB / 466.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5158/0.623, allocations: 99.4 MB / 0.5523 GB, free: 9.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/0.6234, allocations: 90.3 kB / 0.5524 GB, free: 9.648 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0817/0.7051, allocations: 16.75 MB / 0.5688 GB, free: 13.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.7052, allocations: 4 kB / 0.5688 GB, free: 13.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.074e-05/0.7053, allocations: 20 kB / 0.5688 GB, free: 13.85 MB / 378.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.003312/0.7086, allocations: 1.002 MB / 0.5698 GB, free: 12.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/0.7087, allocations: 12.03 kB / 0.5698 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003848/0.7091, allocations: 94.83 kB / 0.5699 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008728/0.7178, allocations: 1.68 MB / 0.5715 GB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.435e-05/0.7179, allocations: 20 kB / 0.5715 GB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.7182, allocations: 36 kB / 0.5716 GB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002118/0.7203, allocations: 0.5583 MB / 0.5721 GB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.7225, allocations: 0.7041 MB / 0.5728 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.7226, allocations: 0 / 0.5728 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.887e-05/0.7227, allocations: 3.953 kB / 0.5728 GB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.965e-05/0.7228, allocations: 40.61 kB / 0.5728 GB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005592/0.7284, allocations: 2.523 MB / 0.5753 GB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.7298, allocations: 0.5825 MB / 0.5759 GB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000848/0.7307, allocations: 344.2 kB / 0.5762 GB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.274e-05/0.7307, allocations: 8.438 kB / 0.5762 GB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000804/0.7316, allocations: 454.2 kB / 0.5766 GB, free: 6.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.155e-06/0.7316, allocations: 0 / 0.5766 GB, free: 6.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=64): time 0.003427/0.735, allocations: 1.48 MB / 0.5781 GB, free: 5.707 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001559/0.7352, allocations: 251.8 kB / 0.5783 GB, free: 5.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007653/0.736, allocations: 454 kB / 0.5788 GB, free: 5.055 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.736, allocations: 29.52 kB / 0.5788 GB, free: 5.023 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.7364, allocations: 429.4 kB / 0.5792 GB, free: 4.695 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002273/0.7367, allocations: 194.3 kB / 0.5794 GB, free: 4.527 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.7367, allocations: 0 / 0.5794 GB, free: 4.527 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.7369, allocations: 340.4 kB / 0.5797 GB, free: 4.199 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004887/0.7374, allocations: 198.1 kB / 0.5799 GB, free: 4.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000716/0.7381, allocations: 441.2 kB / 0.5803 GB, free: 3.633 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005987/0.7387, allocations: 262.7 kB / 0.5806 GB, free: 3.449 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.7388, allocations: 0 / 0.5806 GB, free: 3.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002068/0.7408, allocations: 0.757 MB / 0.5813 GB, free: 2.836 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.918e-05/0.7409, allocations: 63.34 kB / 0.5814 GB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.741, allocations: 11.98 kB / 0.5814 GB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006103/0.7416, allocations: 114.3 kB / 0.5815 GB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009881/0.7426, allocations: 143.5 kB / 0.5816 GB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003971/0.7466, allocations: 3.086 MB / 0.5846 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008641/0.7475, allocations: 31.91 kB / 0.5847 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.7476, allocations: 50.91 kB / 0.5847 GB, free: 15.39 MB / 394.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.0002972/0.7479, allocations: 204.9 kB / 0.5849 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.7481, allocations: 79.09 kB / 0.585 GB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/0.7498, allocations: 0.6552 MB / 0.5856 GB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.7498, allocations: 4 kB / 0.5856 GB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.7498, allocations: 0 / 0.5856 GB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.7498, allocations: 4 kB / 0.5856 GB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003125/0.753, allocations: 1.368 MB / 0.587 GB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.753, allocations: 0 / 0.587 GB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.754, allocations: 111.4 kB / 0.5871 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/0.7541, allocations: 4.281 kB / 0.5871 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.908e-05/0.7541, allocations: 23.23 kB / 0.5871 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/0.7541, allocations: 4 kB / 0.5871 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.7542, allocations: 3.938 kB / 0.5871 GB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/0.7564, allocations: 1.1 MB / 0.5882 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004083/0.7568, allocations: 178.7 kB / 0.5884 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.757, allocations: 15.39 kB / 0.5884 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006202/0.7576, allocations: 23.97 kB / 0.5884 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.7577, allocations: 39.02 kB / 0.5884 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/0.7579, allocations: 66.05 kB / 0.5885 GB, free: 12.15 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005869/0.7585, allocations: 334 kB / 0.5888 GB, free: 11.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7585, allocations: 0 / 0.5888 GB, free: 11.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001072/0.7596, allocations: 168 kB / 0.589 GB, free: 11.73 MB / 394.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.0003696/0.76, allocations: 175.3 kB / 0.5891 GB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00209/0.7621, allocations: 0.9198 MB / 0.59 GB, free: 10.76 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7621, allocations: 4.062 kB / 0.59 GB, free: 10.76 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008438/0.763, allocations: 482.2 kB / 0.5905 GB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.7641, allocations: 130.5 kB / 0.5906 GB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.7673, allocations: 1.224 MB / 0.5918 GB, free: 9.176 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008712/0.7682, allocations: 1.028 MB / 0.5928 GB, free: 8.145 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/0.7685, allocations: 55.42 kB / 0.5929 GB, free: 8.09 MB / 394.7 MB Notification: Performance of SimCode: time 9.31e-07/0.7685, allocations: 0 / 0.5929 GB, free: 8.09 MB / 394.7 MB Notification: Performance of Templates: time 0.02667/0.7952, allocations: 11.84 MB / 0.6044 GB, free: 12.35 MB / 410.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)