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.001027/0.001027, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.173/1.173, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.001565/0.001565, allocations: 114.5 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1543/0.1543, allocations: 37.99 MB / 340.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.0003229, allocations: 12 kB / 403.8 MB, free: 68.79 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07539/0.07573, allocations: 53.22 MB / 457 MB, free: 15.56 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2851/0.3608, allocations: 104.9 MB / 0.5487 GB, free: 6.867 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.3611, allocations: 91.89 kB / 0.5488 GB, free: 6.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1302/0.4914, allocations: 48.95 MB / 0.5966 GB, free: 12.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4914, allocations: 0 / 0.5966 GB, free: 12.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.283e-05/0.4915, allocations: 36 kB / 0.5967 GB, free: 12.44 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: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.003168/0.4947, allocations: 1.738 MB / 0.5984 GB, free: 10.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.4947, allocations: 20.02 kB / 0.5984 GB, free: 10.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002261/0.497, allocations: 445.2 kB / 0.5988 GB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004889/0.5019, allocations: 2.09 MB / 0.6008 GB, free: 8.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.406e-05/0.502, allocations: 110.7 kB / 0.6009 GB, free: 8.301 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002094/0.5022, allocations: 140 kB / 0.6011 GB, free: 8.164 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003135/0.5054, allocations: 2.246 MB / 0.6033 GB, free: 5.762 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.854e-05/0.5054, allocations: 15.78 kB / 0.6033 GB, free: 5.746 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.5055, allocations: 59.97 kB / 0.6033 GB, free: 5.688 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002961/0.5059, allocations: 190.7 kB / 0.6035 GB, free: 5.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002459/0.5083, allocations: 1.752 MB / 0.6052 GB, free: 3.742 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.009377/0.5177, allocations: 9.299 MB / 0.6143 GB, free: 9.969 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.5198, allocations: 1.468 MB / 0.6157 GB, free: 8.465 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.677e-05/0.5198, allocations: 13.06 kB / 0.6158 GB, free: 8.453 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001107/0.5209, allocations: 0.9348 MB / 0.6167 GB, free: 7.477 MB / 426.7 MB Notification: Performance of pre-optimization done (n=142): time 2.925e-06/0.521, allocations: 0 / 0.6167 GB, free: 7.477 MB / 426.7 MB Notification: Performance of matching and sorting (n=143): time 0.006234/0.5272, allocations: 4.738 MB / 0.6213 GB, free: 2.547 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.5273, allocations: 290.3 kB / 0.6216 GB, free: 2.203 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000957/0.5283, allocations: 0.7637 MB / 0.6223 GB, free: 1.418 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.816e-05/0.5284, allocations: 53.94 kB / 0.6224 GB, free: 1.359 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005518/0.529, allocations: 0.736 MB / 0.6231 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003384/0.5293, allocations: 485.1 kB / 0.6236 GB, free: 132 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.569e-05/0.5294, allocations: 43.92 kB / 0.6236 GB, free: 88 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.5296, allocations: 438.7 kB / 0.624 GB, free: 15.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008887/0.5305, allocations: 0.6207 MB / 0.6246 GB, free: 15.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.5317, allocations: 1.162 MB / 0.6258 GB, free: 13.63 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.5328, allocations: 0.8763 MB / 0.6266 GB, free: 12.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.5329, allocations: 4 kB / 0.6266 GB, free: 12.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.004147/0.537, allocations: 2.551 MB / 0.6291 GB, free: 10.15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.163e-05/0.5371, allocations: 63.41 kB / 0.6292 GB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002831/0.5399, allocations: 1.702 MB / 0.6308 GB, free: 8.359 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001542/0.5415, allocations: 0.5463 MB / 0.6314 GB, free: 7.805 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.5425, allocations: 315.5 kB / 0.6317 GB, free: 7.496 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008939/0.5515, allocations: 8.94 MB / 0.6404 GB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.5526, allocations: 99.78 kB / 0.6405 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.5527, allocations: 99.98 kB / 0.6406 GB, free: 13.84 MB / 458.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 () * Number of clocked 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.0008874/0.5536, allocations: 0.5803 MB / 0.6412 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.5538, allocations: 122.5 kB / 0.6413 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/0.5562, allocations: 1.703 MB / 0.6429 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.121e-05/0.5563, allocations: 23.98 kB / 0.643 GB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.5563, allocations: 0 / 0.643 GB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.5563, allocations: 3.984 kB / 0.643 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00445/0.5607, allocations: 3.216 MB / 0.6461 GB, free: 8.059 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.5608, allocations: 4 kB / 0.6461 GB, free: 8.055 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/0.5621, allocations: 311.8 kB / 0.6464 GB, free: 7.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.5621, allocations: 11.94 kB / 0.6464 GB, free: 7.738 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.403e-05/0.5622, allocations: 39.98 kB / 0.6465 GB, free: 7.699 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.5622, allocations: 7.938 kB / 0.6465 GB, free: 7.691 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.5623, allocations: 4 kB / 0.6465 GB, free: 7.688 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003256/0.5655, allocations: 2.641 MB / 0.649 GB, free: 4.953 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000602/0.5661, allocations: 315.5 kB / 0.6493 GB, free: 4.625 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.5663, allocations: 35.98 kB / 0.6494 GB, free: 4.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006078/0.5669, allocations: 67.94 kB / 0.6494 GB, free: 4.523 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.5671, allocations: 72.89 kB / 0.6495 GB, free: 4.453 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/0.5672, allocations: 79.88 kB / 0.6496 GB, free: 4.375 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000749/0.568, allocations: 0.5781 MB / 0.6502 GB, free: 3.785 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.568, allocations: 0 / 0.6502 GB, free: 3.785 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001511/0.5695, allocations: 475.9 kB / 0.6506 GB, free: 3.32 MB / 458.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) * Number of clocked states: 0 () * 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.0004463/0.57, allocations: 227.5 kB / 0.6508 GB, free: 3.086 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003463/0.5734, allocations: 2.422 MB / 0.6532 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5734, allocations: 5.875 kB / 0.6532 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.5746, allocations: 0.9457 MB / 0.6541 GB, free: 15.61 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007651/0.5754, allocations: 196 kB / 0.6543 GB, free: 15.42 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005684/0.5811, allocations: 4.127 MB / 0.6583 GB, free: 11.25 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001346/0.5825, allocations: 1.494 MB / 0.6598 GB, free: 9.715 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0012/0.5837, allocations: 462.1 kB / 0.6602 GB, free: 9.258 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/0.584, allocations: 91.44 kB / 0.6603 GB, free: 9.168 MB / 474.7 MB Notification: Performance of SimCode: time 6.21e-07/0.584, allocations: 0 / 0.6603 GB, free: 9.168 MB / 474.7 MB Notification: Performance of Templates: time 0.1832/0.7672, allocations: 15.41 MB / 0.6754 GB, free: 130 MB / 474.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)