Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001822/0.001822, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.851/1.851, allocations: 194.3 MB / 208.4 MB, free: 6.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001851/0.00185, allocations: 112.7 kB / 253.5 MB, free: 9.602 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1821/0.1821, allocations: 37.91 MB / 336.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 5.547e-05/5.563e-05, allocations: 8 kB / 397.5 MB, free: 1.047 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3503, allocations: 53.22 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5371/0.8875, allocations: 104.8 MB / 0.5425 GB, free: 29.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/0.8879, allocations: 85.11 kB / 0.5426 GB, free: 29.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1426/1.03, allocations: 48.95 MB / 0.5904 GB, free: 14.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/1.031, allocations: 3.938 kB / 0.5904 GB, free: 14.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.983e-05/1.031, allocations: 38.38 kB / 0.5905 GB, free: 14.49 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: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.005528/1.036, allocations: 1.58 MB / 0.592 GB, free: 13.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/1.036, allocations: 7 kB / 0.592 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003502/1.04, allocations: 457.5 kB / 0.5924 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007438/1.047, allocations: 2.072 MB / 0.5945 GB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/1.047, allocations: 108.5 kB / 0.5946 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006936/1.048, allocations: 146.1 kB / 0.5947 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004473/1.053, allocations: 2.223 MB / 0.5969 GB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.786e-05/1.053, allocations: 15.56 kB / 0.5969 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/1.053, allocations: 63.03 kB / 0.597 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003841/1.053, allocations: 191.1 kB / 0.5971 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003138/1.056, allocations: 1.704 MB / 0.5988 GB, free: 11.21 MB / 378.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01416/1.071, allocations: 9.294 MB / 0.6079 GB, free: 3.676 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00251/1.073, allocations: 1.45 MB / 0.6093 GB, free: 2.613 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/1.074, allocations: 0.6676 MB / 0.6099 GB, free: 2.168 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/1.075, allocations: 16.98 kB / 0.61 GB, free: 2.152 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001202/1.076, allocations: 0.927 MB / 0.6109 GB, free: 1.188 MB / 378.7 MB Notification: Performance of pre-optimization done (n=142): time 4.278e-06/1.076, allocations: 0 / 0.6109 GB, free: 1.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=143): time 0.007403/1.083, allocations: 3.753 MB / 0.6145 GB, free: 13.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002826/1.084, allocations: 290.1 kB / 0.6148 GB, free: 12.99 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/1.085, allocations: 0.76 MB / 0.6156 GB, free: 12.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001941/1.085, allocations: 49.7 kB / 0.6156 GB, free: 12.15 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001104/1.086, allocations: 0.7281 MB / 0.6163 GB, free: 11.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007085/1.087, allocations: 499.4 kB / 0.6168 GB, free: 10.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-05/1.087, allocations: 36 kB / 0.6168 GB, free: 10.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002954/1.088, allocations: 426.7 kB / 0.6172 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/1.089, allocations: 0.6091 MB / 0.6178 GB, free: 9.863 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/1.09, allocations: 1.151 MB / 0.6189 GB, free: 8.477 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/1.092, allocations: 0.8709 MB / 0.6198 GB, free: 7.594 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/1.092, allocations: 4 kB / 0.6198 GB, free: 7.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.00506/1.097, allocations: 2.532 MB / 0.6223 GB, free: 5.027 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/1.097, allocations: 67.36 kB / 0.6223 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003329/1.1, allocations: 1.671 MB / 0.624 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001778/1.102, allocations: 0.5413 MB / 0.6245 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/1.104, allocations: 319.5 kB / 0.6248 GB, free: 2.402 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/1.115, allocations: 8.665 MB / 0.6333 GB, free: 9.211 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/1.117, allocations: 103.7 kB / 0.6334 GB, free: 9.109 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000359/1.117, allocations: 104 kB / 0.6335 GB, free: 9.008 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (169): * Single equations (assignments): 160 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(2,100.0%) 11,(2,100.0%) 12,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007029/1.118, allocations: 277.4 kB / 0.6337 GB, free: 8.715 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003716/1.118, allocations: 126.5 kB / 0.6339 GB, free: 8.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003355/1.122, allocations: 1.683 MB / 0.6355 GB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.271e-05/1.122, allocations: 20 kB / 0.6355 GB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.122, allocations: 0 / 0.6355 GB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.255e-05/1.122, allocations: 7.969 kB / 0.6355 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006226/1.128, allocations: 3.19 MB / 0.6386 GB, free: 3.617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/1.128, allocations: 4 kB / 0.6386 GB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/1.13, allocations: 315.8 kB / 0.6389 GB, free: 3.305 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.871e-05/1.13, allocations: 7.938 kB / 0.6389 GB, free: 3.297 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001636/1.13, allocations: 39.73 kB / 0.639 GB, free: 3.262 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/1.13, allocations: 8 kB / 0.639 GB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/1.13, allocations: 7.938 kB / 0.639 GB, free: 3.246 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004092/1.134, allocations: 2.603 MB / 0.6415 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/1.135, allocations: 307.5 kB / 0.6418 GB, free: 236 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/1.135, allocations: 35.98 kB / 0.6419 GB, free: 200 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007828/1.136, allocations: 71.88 kB / 0.6419 GB, free: 128 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/1.136, allocations: 88.39 kB / 0.642 GB, free: 44 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/1.137, allocations: 79.92 kB / 0.6421 GB, free: 15.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00103/1.138, allocations: 0.5629 MB / 0.6426 GB, free: 15.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.138, allocations: 4 kB / 0.6427 GB, free: 15.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002362/1.14, allocations: 471.9 kB / 0.6431 GB, free: 14.92 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3]) * 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 (124): * Single equations (assignments): 118 * Array equations: 3 * 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.0006232/1.141, allocations: 242.9 kB / 0.6433 GB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004816/1.146, allocations: 2.388 MB / 0.6457 GB, free: 12.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/1.146, allocations: 0 / 0.6457 GB, free: 12.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001663/1.147, allocations: 0.9376 MB / 0.6466 GB, free: 11.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/1.149, allocations: 192.1 kB / 0.6468 GB, free: 11.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006502/1.155, allocations: 2.864 MB / 0.6496 GB, free: 8.152 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001892/1.157, allocations: 1.494 MB / 0.651 GB, free: 6.625 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001909/1.159, allocations: 466.1 kB / 0.6515 GB, free: 6.164 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003364/1.16, allocations: 91.42 kB / 0.6516 GB, free: 6.078 MB / 426.7 MB Notification: Performance of SimCode: time 1.613e-06/1.16, allocations: 0 / 0.6516 GB, free: 6.078 MB / 426.7 MB Notification: Performance of Templates: time 0.03711/1.197, allocations: 15.84 MB / 0.667 GB, free: 6.242 MB / 442.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1)