Running command: translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger") Notification: Performance of loadModel(PowerSystems): time 2.427/2.427, allocations: 233 MB / 246.1 MB, free: 15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.28e-05/3.293e-05, allocations: 7.938 kB / 302.2 MB, free: 7.688 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09417/0.09423, allocations: 53.23 MB / 355.4 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4649/0.5592, allocations: 104.8 MB / 460.2 MB, free: 13.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004328/0.5597, allocations: 86.89 kB / 460.3 MB, free: 13.01 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2225/0.7822, allocations: 48.9 MB / 0.4973 GB, free: 11.51 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.208e-06/0.7823, allocations: 0 / 0.4973 GB, free: 11.51 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001172/0.7824, allocations: 39.94 kB / 0.4973 GB, free: 11.47 MB / 442.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.004761/0.7872, allocations: 1.588 MB / 0.4989 GB, free: 9.816 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.7872, allocations: 11.97 kB / 0.4989 GB, free: 9.805 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003819/0.7911, allocations: 449.3 kB / 0.4993 GB, free: 9.363 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007813/0.7989, allocations: 2.065 MB / 0.5013 GB, free: 7.254 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/0.7991, allocations: 102.7 kB / 0.5014 GB, free: 7.152 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005097/0.7996, allocations: 143.9 kB / 0.5016 GB, free: 7.012 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005405/0.8051, allocations: 2.209 MB / 0.5037 GB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.736e-05/0.8052, allocations: 15.88 kB / 0.5037 GB, free: 4.633 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00023/0.8054, allocations: 63.97 kB / 0.5038 GB, free: 4.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004413/0.8059, allocations: 186.7 kB / 0.504 GB, free: 4.387 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004525/0.8104, allocations: 1.676 MB / 0.5056 GB, free: 2.707 MB / 442.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.01709/0.8275, allocations: 9.289 MB / 0.5147 GB, free: 8.938 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00318/0.8308, allocations: 1.437 MB / 0.5161 GB, free: 7.473 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.8323, allocations: 0.6613 MB / 0.5167 GB, free: 6.805 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.8324, allocations: 20.98 kB / 0.5168 GB, free: 6.781 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001781/0.8342, allocations: 0.9095 MB / 0.5176 GB, free: 5.828 MB / 458.7 MB Notification: Performance of pre-optimization done (n=142): time 5.523e-06/0.8342, allocations: 4 kB / 0.5176 GB, free: 5.824 MB / 458.7 MB Notification: Performance of matching and sorting (n=143): time 0.008483/0.8427, allocations: 3.761 MB / 0.5213 GB, free: 1.969 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002007/0.843, allocations: 282.3 kB / 0.5216 GB, free: 1.629 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.8444, allocations: 0.7561 MB / 0.5223 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002157/0.8447, allocations: 49.7 kB / 0.5224 GB, free: 0.793 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008168/0.8455, allocations: 0.736 MB / 0.5231 GB, free: 44 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.318/1.164, allocations: 483.3 kB / 0.5236 GB, free: 118 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/1.164, allocations: 33.66 kB / 0.5236 GB, free: 118 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002641/1.164, allocations: 438.1 kB / 0.524 GB, free: 117.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/1.165, allocations: 0.6077 MB / 0.5246 GB, free: 117.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/1.167, allocations: 1.137 MB / 0.5257 GB, free: 117.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/1.169, allocations: 0.88 MB / 0.5266 GB, free: 117 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-05/1.169, allocations: 4.312 kB / 0.5266 GB, free: 117 MB / 458.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.006031/1.175, allocations: 2.469 MB / 0.529 GB, free: 116.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.301e-05/1.175, allocations: 74.56 kB / 0.529 GB, free: 116.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004392/1.18, allocations: 1.673 MB / 0.5307 GB, free: 116.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00222/1.182, allocations: 0.5464 MB / 0.5312 GB, free: 116.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/1.183, allocations: 322.7 kB / 0.5315 GB, free: 116.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/1.195, allocations: 8.647 MB / 0.54 GB, free: 111.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/1.197, allocations: 102.6 kB / 0.5401 GB, free: 111.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003104/1.197, allocations: 101.5 kB / 0.5402 GB, free: 111.5 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 () * 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.0004384/1.197, allocations: 278.7 kB / 0.5404 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/1.198, allocations: 124.8 kB / 0.5405 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003635/1.201, allocations: 1.676 MB / 0.5422 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-05/1.201, allocations: 22.58 kB / 0.5422 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.813e-06/1.201, allocations: 1.531 kB / 0.5422 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/1.201, allocations: 10.27 kB / 0.5422 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006662/1.208, allocations: 3.19 MB / 0.5453 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/1.208, allocations: 4.359 kB / 0.5453 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001935/1.21, allocations: 313.3 kB / 0.5456 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.095e-05/1.21, allocations: 8.391 kB / 0.5456 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/1.21, allocations: 38.25 kB / 0.5457 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.451e-05/1.21, allocations: 9.5 kB / 0.5457 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.179e-06/1.21, allocations: 8.891 kB / 0.5457 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004761/1.215, allocations: 2.611 MB / 0.5482 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007834/1.216, allocations: 310.5 kB / 0.5485 GB, free: 110 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/1.216, allocations: 32.53 kB / 0.5486 GB, free: 110 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008534/1.217, allocations: 70.61 kB / 0.5486 GB, free: 110 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002143/1.217, allocations: 82.08 kB / 0.5487 GB, free: 110 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001998/1.218, allocations: 84.39 kB / 0.5488 GB, free: 110 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009897/1.219, allocations: 0.5659 MB / 0.5494 GB, free: 109.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.85e-07/1.219, allocations: 1.125 kB / 0.5494 GB, free: 109.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00212/1.221, allocations: 472.3 kB / 0.5498 GB, free: 109.9 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) * 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.0004801/1.221, allocations: 249.4 kB / 0.55 GB, free: 109.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004165/1.225, allocations: 2.305 MB / 0.5523 GB, free: 109.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.173e-06/1.225, allocations: 0 / 0.5523 GB, free: 109.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001568/1.227, allocations: 0.9394 MB / 0.5532 GB, free: 108.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/1.228, allocations: 184.6 kB / 0.5534 GB, free: 108.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005772/1.234, allocations: 2.854 MB / 0.5562 GB, free: 107.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/1.235, allocations: 1.505 MB / 0.5576 GB, free: 107 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001733/1.237, allocations: 459.5 kB / 0.5581 GB, free: 106.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004375/1.238, allocations: 91.73 kB / 0.5582 GB, free: 106.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.988e-06/1.238, allocations: 0 / 0.5582 GB, free: 106.9 MB / 458.7 MB Notification: Performance of Templates: time 0.03915/1.277, allocations: 15.71 MB / 0.5735 GB, free: 106.1 MB / 458.7 MB