Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") Notification: Performance of loadModel(PowerSystems): time 2.253/2.253, allocations: 233 MB / 246.1 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.474e-05, allocations: 7.938 kB / 302.2 MB, free: 7.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09406/0.09412, allocations: 53.24 MB / 355.4 MB, free: 2.129 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3725/0.4666, allocations: 94.97 MB / 450.4 MB, free: 6.777 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.467, allocations: 87.95 kB / 450.5 MB, free: 6.691 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07151/0.5385, allocations: 16.9 MB / 467.4 MB, free: 5.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.078e-06/0.5386, allocations: 0 / 467.4 MB, free: 5.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.364e-05/0.5386, allocations: 23.94 kB / 467.4 MB, free: 5.566 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.002144/0.5408, allocations: 0.9961 MB / 468.4 MB, free: 4.512 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.5408, allocations: 8.031 kB / 468.4 MB, free: 4.504 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002596/0.5411, allocations: 94.88 kB / 468.5 MB, free: 4.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006074/0.5472, allocations: 1.683 MB / 470.2 MB, free: 2.684 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.591e-05/0.5473, allocations: 49.3 kB / 470.2 MB, free: 2.633 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.5475, allocations: 64 kB / 470.3 MB, free: 2.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.5492, allocations: 0.7917 MB / 471.1 MB, free: 1.746 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.5493, allocations: 0 / 471.1 MB, free: 1.746 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-05/0.5494, allocations: 28 kB / 471.1 MB, free: 1.719 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.861e-05/0.5495, allocations: 37.3 kB / 471.2 MB, free: 1.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.5509, allocations: 0.5842 MB / 471.8 MB, free: 1.098 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005196/0.5561, allocations: 2.642 MB / 474.4 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.5575, allocations: 0.5933 MB / 475 MB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000852/0.5584, allocations: 375.2 kB / 475.4 MB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.273e-05/0.5585, allocations: 8.375 kB / 475.4 MB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008376/0.5593, allocations: 474.2 kB / 475.8 MB, free: 12.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=63): time 3.901e-06/0.5593, allocations: 0 / 475.8 MB, free: 12.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=64): time 0.003745/0.5631, allocations: 1.747 MB / 477.6 MB, free: 11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001749/0.5633, allocations: 251.9 kB / 477.8 MB, free: 10.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008904/0.5642, allocations: 491.3 kB / 478.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.871e-05/0.5643, allocations: 42.53 kB / 478.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004344/0.5648, allocations: 403.5 kB / 478.7 MB, free: 9.762 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/0.565, allocations: 209 kB / 478.9 MB, free: 9.555 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/0.5651, allocations: 16 kB / 479 MB, free: 9.539 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000256/0.5654, allocations: 390.7 kB / 479.3 MB, free: 9.148 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005409/0.5659, allocations: 213.9 kB / 479.5 MB, free: 8.941 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007125/0.5667, allocations: 435.9 kB / 480 MB, free: 8.418 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006661/0.5673, allocations: 334.8 kB / 480.3 MB, free: 8.078 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.5674, allocations: 4 kB / 480.3 MB, free: 8.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002222/0.5696, allocations: 0.9072 MB / 481.2 MB, free: 7.145 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.703e-05/0.5697, allocations: 69.73 kB / 481.3 MB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.5697, allocations: 8 kB / 481.3 MB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005192/0.5703, allocations: 105.9 kB / 481.4 MB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007137/0.571, allocations: 151.7 kB / 481.5 MB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004185/0.5752, allocations: 3.193 MB / 484.7 MB, free: 3.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007425/0.576, allocations: 43.97 kB / 484.8 MB, free: 3.297 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.5761, allocations: 55.97 kB / 484.8 MB, free: 3.242 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.0003188/0.5765, allocations: 221.9 kB / 485 MB, free: 3.008 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.5766, allocations: 75.14 kB / 485.1 MB, free: 2.934 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/0.5783, allocations: 0.7778 MB / 485.9 MB, free: 2.133 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.5784, allocations: 8 kB / 485.9 MB, free: 2.125 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.421e-06/0.5784, allocations: 0 / 485.9 MB, free: 2.125 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.908e-05/0.5784, allocations: 7.938 kB / 485.9 MB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003388/0.5818, allocations: 1.549 MB / 487.5 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.969e-06/0.5819, allocations: 0 / 487.5 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006949/0.5826, allocations: 111.9 kB / 487.6 MB, free: 392 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.772e-05/0.5826, allocations: 12.05 kB / 487.6 MB, free: 380 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.403e-05/0.5827, allocations: 23.92 kB / 487.6 MB, free: 356 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.064e-06/0.5827, allocations: 4 kB / 487.6 MB, free: 352 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.159e-06/0.5827, allocations: 3.938 kB / 487.6 MB, free: 348 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002363/0.5851, allocations: 1.212 MB / 488.8 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004148/0.5856, allocations: 196.1 kB / 489 MB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.5857, allocations: 16 kB / 489 MB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004796/0.5862, allocations: 27.98 kB / 489.1 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.5863, allocations: 60.31 kB / 489.1 MB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.5865, allocations: 51.94 kB / 489.2 MB, free: 14.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006653/0.5872, allocations: 383.1 kB / 489.5 MB, free: 14.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.41e-07/0.5872, allocations: 0 / 489.5 MB, free: 14.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001082/0.5883, allocations: 196 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.0003779/0.5887, allocations: 184.2 kB / 489.9 MB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002055/0.5907, allocations: 0.9499 MB / 490.9 MB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.913e-06/0.5908, allocations: 4.125 kB / 490.9 MB, free: 12.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008443/0.5916, allocations: 492.4 kB / 491.3 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.0009789/0.5926, allocations: 150 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.002929/0.5956, allocations: 1.172 MB / 492.7 MB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009259/0.5965, allocations: 1.029 MB / 493.7 MB, free: 10.03 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007448/0.5973, allocations: 153.8 kB / 493.8 MB, free: 9.875 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.5975, allocations: 55.42 kB / 493.9 MB, free: 9.824 MB / 426.7 MB Notification: Performance of SimCode: time 1.793e-06/0.5975, allocations: 4 kB / 493.9 MB, free: 9.82 MB / 426.7 MB Notification: Performance of Templates: time 0.02291/0.6204, allocations: 7.582 MB / 0.4897 GB, free: 2.281 MB / 426.7 MB