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") Notification: Performance of loadModel(PowerSystems): time 2.172/2.172, allocations: 233 MB / 245.6 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.061e-05/3.067e-05, allocations: 7.938 kB / 301.3 MB, free: 7.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08867/0.08872, allocations: 53.24 MB / 354.5 MB, free: 2.617 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.365/0.4537, allocations: 94.97 MB / 449.5 MB, free: 7.059 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.4541, allocations: 87.94 kB / 449.6 MB, free: 6.973 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06883/0.5229, allocations: 16.9 MB / 466.5 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.805e-06/0.523, allocations: 0 / 466.5 MB, free: 5.871 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.2e-05/0.523, allocations: 20 kB / 466.5 MB, free: 5.852 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.001953/0.525, allocations: 1.008 MB / 467.5 MB, free: 4.785 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.5251, allocations: 12.03 kB / 467.5 MB, free: 4.773 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.5253, allocations: 90.88 kB / 467.6 MB, free: 4.684 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005647/0.5309, allocations: 1.683 MB / 469.3 MB, free: 2.957 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.668e-05/0.531, allocations: 53.3 kB / 469.3 MB, free: 2.902 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.5312, allocations: 64 kB / 469.4 MB, free: 2.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.5328, allocations: 0.784 MB / 470.2 MB, free: 2.023 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.5329, allocations: 1.219 kB / 470.2 MB, free: 2.023 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-05/0.533, allocations: 31.98 kB / 470.2 MB, free: 1.992 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.016e-05/0.5331, allocations: 33.31 kB / 470.2 MB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.5344, allocations: 0.5881 MB / 470.8 MB, free: 1.371 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004739/0.5392, allocations: 2.642 MB / 473.5 MB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.5405, allocations: 0.5972 MB / 474.1 MB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007891/0.5413, allocations: 363.1 kB / 474.4 MB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.5413, allocations: 4.438 kB / 474.4 MB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007744/0.5421, allocations: 482.2 kB / 474.9 MB, free: 13.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=63): time 7.243e-06/0.5422, allocations: 0 / 474.9 MB, free: 13.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=64): time 0.003451/0.5456, allocations: 1.747 MB / 476.6 MB, free: 11.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001606/0.5458, allocations: 251.9 kB / 476.9 MB, free: 10.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008048/0.5466, allocations: 495.4 kB / 477.4 MB, free: 10.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.031e-05/0.5467, allocations: 38.36 kB / 477.4 MB, free: 10.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003689/0.5471, allocations: 425.9 kB / 477.8 MB, free: 10.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/0.5474, allocations: 213 kB / 478 MB, free: 9.809 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.5474, allocations: 12 kB / 478 MB, free: 9.797 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.5476, allocations: 342.8 kB / 478.4 MB, free: 9.453 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004835/0.5481, allocations: 213.9 kB / 478.6 MB, free: 9.246 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006755/0.5488, allocations: 443.9 kB / 479 MB, free: 8.715 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006336/0.5495, allocations: 340.5 kB / 479.3 MB, free: 8.371 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.478e-06/0.5495, allocations: 4 kB / 479.3 MB, free: 8.367 MB / 410.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002003/0.5515, allocations: 0.8742 MB / 480.2 MB, free: 7.469 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.921e-05/0.5516, allocations: 63.97 kB / 480.3 MB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.5516, allocations: 4 kB / 480.3 MB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005728/0.5522, allocations: 109.7 kB / 480.4 MB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006753/0.5529, allocations: 147.7 kB / 480.5 MB, free: 7.133 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003966/0.5569, allocations: 3.185 MB / 483.7 MB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007116/0.5576, allocations: 51.86 kB / 483.8 MB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.5578, allocations: 56.03 kB / 483.8 MB, free: 3.574 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.0002954/0.5581, allocations: 225.9 kB / 484.1 MB, free: 3.336 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.5582, allocations: 71.16 kB / 484.1 MB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.5598, allocations: 0.7779 MB / 484.9 MB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.5598, allocations: 7.984 kB / 484.9 MB, free: 2.457 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.563e-06/0.5599, allocations: 4 kB / 484.9 MB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.5599, allocations: 7.953 kB / 484.9 MB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003079/0.563, allocations: 1.534 MB / 486.5 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.563, allocations: 7.984 kB / 486.5 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006681/0.5637, allocations: 119.8 kB / 486.6 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.5637, allocations: 3.953 kB / 486.6 MB, free: 0.707 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/0.5638, allocations: 23.98 kB / 486.6 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.514e-06/0.5638, allocations: 4 kB / 486.6 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3e-06/0.5638, allocations: 0 / 486.6 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002227/0.5661, allocations: 1.228 MB / 487.8 MB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003745/0.5665, allocations: 184.3 kB / 488 MB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.5666, allocations: 20 kB / 488 MB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004728/0.5671, allocations: 40.03 kB / 488.1 MB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.5672, allocations: 40.34 kB / 488.1 MB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/0.5674, allocations: 59.92 kB / 488.2 MB, free: 15.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006369/0.568, allocations: 387.1 kB / 488.5 MB, free: 14.65 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.568, allocations: 0 / 488.5 MB, free: 14.65 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001044/0.5691, allocations: 192 kB / 488.7 MB, free: 14.46 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.0003352/0.5694, allocations: 183.6 kB / 488.9 MB, free: 14.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001872/0.5713, allocations: 0.9526 MB / 489.9 MB, free: 13.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5714, allocations: 0 / 489.9 MB, free: 13.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007948/0.5722, allocations: 0.4925 MB / 490.4 MB, free: 12.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009134/0.5731, allocations: 138.6 kB / 490.5 MB, free: 12.63 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.5759, allocations: 1.244 MB / 491.7 MB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008889/0.5768, allocations: 1.029 MB / 492.8 MB, free: 10.28 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.577, allocations: 55.38 kB / 492.8 MB, free: 10.23 MB / 426.7 MB Notification: Performance of SimCode: time 1.656e-06/0.577, allocations: 0 / 492.8 MB, free: 10.23 MB / 426.7 MB Notification: Performance of Templates: time 0.02113/0.5982, allocations: 11.9 MB / 0.4929 GB, free: 14.34 MB / 442.7 MB