Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") Notification: Performance of loadModel(PowerSystems): time 2.194/2.194, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.51e-05/3.524e-05, allocations: 7.984 kB / 302.2 MB, free: 7.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0986/0.09865, allocations: 53.23 MB / 355.4 MB, free: 2.145 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3729/0.4716, allocations: 94.98 MB / 450.4 MB, free: 6.793 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.472, allocations: 83.95 kB / 450.5 MB, free: 6.711 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0754/0.5474, allocations: 16.91 MB / 467.4 MB, free: 5.598 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.31e-06/0.5474, allocations: 0 / 467.4 MB, free: 5.598 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.524e-05/0.5475, allocations: 23.98 kB / 467.4 MB, free: 5.574 MB / 394.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.002196/0.5497, allocations: 1.008 MB / 468.4 MB, free: 4.508 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.5498, allocations: 12.03 kB / 468.4 MB, free: 4.496 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000293/0.5501, allocations: 90.88 kB / 468.5 MB, free: 4.406 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006198/0.5563, allocations: 1.683 MB / 470.2 MB, free: 2.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.129e-05/0.5564, allocations: 49.31 kB / 470.3 MB, free: 2.629 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.5566, allocations: 68 kB / 470.3 MB, free: 2.562 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.5583, allocations: 0.7852 MB / 471.1 MB, free: 1.746 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.5584, allocations: 0 / 471.1 MB, free: 1.746 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.519e-05/0.5585, allocations: 28 kB / 471.1 MB, free: 1.719 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.03e-05/0.5586, allocations: 37.3 kB / 471.2 MB, free: 1.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.5599, allocations: 0.5842 MB / 471.8 MB, free: 1.098 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004985/0.5649, allocations: 2.638 MB / 474.4 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.5663, allocations: 0.601 MB / 475 MB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008181/0.5671, allocations: 367.2 kB / 475.4 MB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.5672, allocations: 8.438 kB / 475.4 MB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007997/0.568, allocations: 474.2 kB / 475.8 MB, free: 12.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=63): time 4.042e-06/0.568, allocations: 0 / 475.8 MB, free: 12.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=64): time 0.003589/0.5716, allocations: 1.747 MB / 477.6 MB, free: 11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/0.5718, allocations: 253.4 kB / 477.8 MB, free: 10.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000831/0.5727, allocations: 499.3 kB / 478.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.125e-05/0.5728, allocations: 37.7 kB / 478.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004026/0.5732, allocations: 395.4 kB / 478.7 MB, free: 9.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002281/0.5734, allocations: 213 kB / 478.9 MB, free: 9.559 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.5735, allocations: 16 kB / 479 MB, free: 9.543 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000243/0.5737, allocations: 386.8 kB / 479.3 MB, free: 9.156 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004928/0.5742, allocations: 213.9 kB / 479.5 MB, free: 8.949 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006856/0.5749, allocations: 443.9 kB / 480 MB, free: 8.418 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000645/0.5756, allocations: 330.8 kB / 480.3 MB, free: 8.082 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.5756, allocations: 4 kB / 480.3 MB, free: 8.078 MB / 410.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002094/0.5777, allocations: 0.905 MB / 481.2 MB, free: 7.148 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.826e-05/0.5778, allocations: 63.97 kB / 481.3 MB, free: 7.074 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.5779, allocations: 8 kB / 481.3 MB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005039/0.5784, allocations: 109.6 kB / 481.4 MB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007119/0.5791, allocations: 147.7 kB / 481.5 MB, free: 6.809 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004004/0.5831, allocations: 3.198 MB / 484.7 MB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007109/0.5839, allocations: 43.97 kB / 484.8 MB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.584, allocations: 56.03 kB / 484.8 MB, free: 3.246 MB / 410.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.0003042/0.5843, allocations: 229.8 kB / 485 MB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.5845, allocations: 71.16 kB / 485.1 MB, free: 2.934 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001634/0.5861, allocations: 0.7778 MB / 485.9 MB, free: 2.133 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.5862, allocations: 8 kB / 485.9 MB, free: 2.125 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.7e-06/0.5862, allocations: 4 kB / 485.9 MB, free: 2.121 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.5862, allocations: 7.938 kB / 485.9 MB, free: 2.113 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003158/0.5894, allocations: 1.542 MB / 487.5 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.394e-06/0.5894, allocations: 0 / 487.5 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007032/0.5901, allocations: 115.9 kB / 487.6 MB, free: 392 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/0.5902, allocations: 7.953 kB / 487.6 MB, free: 384 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.42e-05/0.5902, allocations: 19.98 kB / 487.6 MB, free: 364 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-06/0.5903, allocations: 4 kB / 487.6 MB, free: 360 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-06/0.5903, allocations: 7.938 kB / 487.6 MB, free: 352 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/0.5926, allocations: 1.216 MB / 488.8 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003944/0.593, allocations: 192.1 kB / 489 MB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.5932, allocations: 16 kB / 489 MB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/0.5937, allocations: 40.03 kB / 489.1 MB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.5938, allocations: 36.34 kB / 489.1 MB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/0.594, allocations: 67.91 kB / 489.2 MB, free: 14.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006442/0.5946, allocations: 379.1 kB / 489.5 MB, free: 14.33 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.157e-06/0.5946, allocations: 0 / 489.5 MB, free: 14.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001084/0.5957, allocations: 203.9 kB / 489.7 MB, free: 14.13 MB / 426.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.0003529/0.5961, allocations: 179.7 kB / 489.9 MB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002065/0.5982, allocations: 0.9565 MB / 490.9 MB, free: 12.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.307e-06/0.5982, allocations: 0 / 490.9 MB, free: 12.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009032/0.5991, allocations: 492.4 kB / 491.4 MB, free: 12.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.6002, allocations: 144.6 kB / 491.5 MB, free: 12.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/0.6032, allocations: 1.18 MB / 492.7 MB, free: 11.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009448/0.6042, allocations: 1.025 MB / 493.7 MB, free: 10.03 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007766/0.605, allocations: 157.8 kB / 493.9 MB, free: 9.871 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.6052, allocations: 47.44 kB / 493.9 MB, free: 9.828 MB / 426.7 MB Notification: Performance of SimCode: time 1.764e-06/0.6052, allocations: 0 / 493.9 MB, free: 9.828 MB / 426.7 MB Notification: Performance of Templates: time 0.02342/0.6286, allocations: 7.586 MB / 0.4897 GB, free: 2.281 MB / 426.7 MB