Running command: translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger") Notification: Performance of loadModel(PowerSystems): time 2.144/2.144, allocations: 233 MB / 245.6 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.578e-05/3.582e-05, allocations: 7.984 kB / 301.3 MB, free: 7.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1349, allocations: 53.24 MB / 354.5 MB, free: 2.629 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3792/0.5142, allocations: 104.8 MB / 459.3 MB, free: 13.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.5145, allocations: 95.94 kB / 459.4 MB, free: 13.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2042/0.7188, allocations: 48.89 MB / 0.4964 GB, free: 11.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.842e-06/0.7188, allocations: 0 / 0.4964 GB, free: 11.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.777e-05/0.7189, allocations: 39.94 kB / 0.4964 GB, free: 11.62 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.003918/0.7228, allocations: 1.58 MB / 0.4979 GB, free: 9.969 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.7229, allocations: 12.03 kB / 0.498 GB, free: 9.957 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003585/0.7265, allocations: 449.3 kB / 0.4984 GB, free: 9.516 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007352/0.7339, allocations: 2.068 MB / 0.5004 GB, free: 7.402 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.734, allocations: 106.7 kB / 0.5005 GB, free: 7.297 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003599/0.7344, allocations: 143.9 kB / 0.5006 GB, free: 7.156 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004656/0.7391, allocations: 2.21 MB / 0.5028 GB, free: 4.793 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.945e-05/0.7392, allocations: 7.938 kB / 0.5028 GB, free: 4.785 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002111/0.7394, allocations: 63.92 kB / 0.5029 GB, free: 4.723 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000432/0.7399, allocations: 186.8 kB / 0.5031 GB, free: 4.539 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003868/0.7437, allocations: 1.68 MB / 0.5047 GB, free: 2.855 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.02165/0.7654, allocations: 9.296 MB / 0.5138 GB, free: 9.078 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00592/0.7714, allocations: 1.426 MB / 0.5152 GB, free: 7.625 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002707/0.7742, allocations: 0.6652 MB / 0.5158 GB, free: 6.953 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/0.7744, allocations: 24.97 kB / 0.5158 GB, free: 6.926 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003232/0.7776, allocations: 0.9172 MB / 0.5167 GB, free: 5.965 MB / 458.7 MB Notification: Performance of pre-optimization done (n=142): time 9.197e-06/0.7777, allocations: 0 / 0.5167 GB, free: 5.965 MB / 458.7 MB Notification: Performance of matching and sorting (n=143): time 0.01534/0.793, allocations: 3.745 MB / 0.5204 GB, free: 2.125 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003082/0.7934, allocations: 286.3 kB / 0.5207 GB, free: 1.781 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002613/0.796, allocations: 0.7639 MB / 0.5214 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002712/0.7964, allocations: 53.7 kB / 0.5215 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.7976, allocations: 0.7463 MB / 0.5222 GB, free: 180 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2605/1.058, allocations: 481.9 kB / 0.5227 GB, free: 117.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/1.058, allocations: 35.22 kB / 0.5227 GB, free: 117.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/1.058, allocations: 385.5 kB / 0.5231 GB, free: 117.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/1.06, allocations: 0.6061 MB / 0.5236 GB, free: 117.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/1.062, allocations: 1.133 MB / 0.5247 GB, free: 116.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001853/1.063, allocations: 0.8844 MB / 0.5256 GB, free: 116.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-05/1.064, allocations: 5.922 kB / 0.5256 GB, free: 116.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.005821/1.069, allocations: 2.417 MB / 0.528 GB, free: 116.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.822e-05/1.069, allocations: 69.98 kB / 0.528 GB, free: 116.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004188/1.074, allocations: 1.68 MB / 0.5297 GB, free: 116.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002129/1.076, allocations: 0.5353 MB / 0.5302 GB, free: 116.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/1.077, allocations: 326.6 kB / 0.5305 GB, free: 116.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/1.089, allocations: 8.658 MB / 0.539 GB, free: 111.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/1.09, allocations: 90.84 kB / 0.5391 GB, free: 111.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002269/1.09, allocations: 99.95 kB / 0.5392 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.0003985/1.091, allocations: 286.6 kB / 0.5394 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/1.091, allocations: 126.6 kB / 0.5396 GB, free: 111.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003546/1.095, allocations: 1.676 MB / 0.5412 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-05/1.095, allocations: 20.28 kB / 0.5412 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.405e-06/1.095, allocations: 2.359 kB / 0.5412 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-05/1.095, allocations: 6.328 kB / 0.5412 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006535/1.101, allocations: 3.197 MB / 0.5443 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/1.101, allocations: 1.375 kB / 0.5443 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001921/1.103, allocations: 316.8 kB / 0.5446 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.071e-05/1.103, allocations: 6.734 kB / 0.5446 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/1.103, allocations: 39.75 kB / 0.5447 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.42e-05/1.103, allocations: 6.016 kB / 0.5447 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.884e-06/1.103, allocations: 6.094 kB / 0.5447 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004721/1.108, allocations: 2.597 MB / 0.5472 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007216/1.109, allocations: 318.7 kB / 0.5475 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/1.109, allocations: 34.62 kB / 0.5476 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008535/1.11, allocations: 71.11 kB / 0.5476 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002225/1.11, allocations: 76.39 kB / 0.5477 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001956/1.11, allocations: 87.36 kB / 0.5478 GB, free: 109.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009766/1.111, allocations: 0.5658 MB / 0.5483 GB, free: 109.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.16e-07/1.111, allocations: 3.281 kB / 0.5484 GB, free: 109.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002015/1.113, allocations: 473.6 kB / 0.5488 GB, free: 109.8 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.0004784/1.114, allocations: 237.6 kB / 0.549 GB, free: 109.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00404/1.118, allocations: 2.318 MB / 0.5513 GB, free: 109.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.134e-06/1.118, allocations: 0 / 0.5513 GB, free: 109.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001444/1.12, allocations: 0.9359 MB / 0.5522 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.001203/1.121, allocations: 185.8 kB / 0.5524 GB, free: 108.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007431/1.128, allocations: 2.998 MB / 0.5553 GB, free: 107.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001783/1.13, allocations: 1.504 MB / 0.5568 GB, free: 106.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007617/1.131, allocations: 103.6 kB / 0.5569 GB, free: 106.9 MB / 458.7 MB Notification: Performance of SimCode: time 2.11e-06/1.131, allocations: 0 / 0.5569 GB, free: 106.9 MB / 458.7 MB Notification: Performance of Templates: time 0.03886/1.17, allocations: 27.66 MB / 0.5839 GB, free: 104.8 MB / 458.7 MB