Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.Tline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline") Notification: Performance of loadModel(PowerSystems): time 2.232/2.232, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.496e-05/3.505e-05, allocations: 7.938 kB / 302.2 MB, free: 7.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09288/0.09294, allocations: 53.24 MB / 355.4 MB, free: 2.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3818/0.4748, allocations: 102.5 MB / 457.9 MB, free: 15.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/0.4751, allocations: 87.94 kB / 458 MB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1212/0.5964, allocations: 29.52 MB / 487.5 MB, free: 1.387 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.609e-06/0.5964, allocations: 0 / 487.5 MB, free: 1.387 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.655e-05/0.5965, allocations: 24 kB / 487.5 MB, free: 1.363 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.004225/0.6007, allocations: 1.525 MB / 489.1 MB, free: 15.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.6008, allocations: 8.031 kB / 489.1 MB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/0.6028, allocations: 234.5 kB / 489.3 MB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006082/0.6089, allocations: 1.607 MB / 490.9 MB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.6091, allocations: 78.02 kB / 491 MB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003466/0.6095, allocations: 123.9 kB / 491.1 MB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003927/0.6134, allocations: 1.63 MB / 492.7 MB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.331e-05/0.6135, allocations: 3.938 kB / 492.7 MB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001874/0.6137, allocations: 43.98 kB / 492.8 MB, free: 11.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000277/0.614, allocations: 63.58 kB / 492.9 MB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003642/0.6176, allocations: 1.406 MB / 494.3 MB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02291/0.6406, allocations: 8.012 MB / 0.4905 GB, free: 2.262 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003375/0.644, allocations: 1.512 MB / 0.492 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002614/0.6467, allocations: 1.209 MB / 0.4932 GB, free: 15.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.6468, allocations: 21.34 kB / 0.4932 GB, free: 15.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003809/0.6507, allocations: 1.756 MB / 0.4949 GB, free: 13.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=177): time 6.465e-06/0.6507, allocations: 0 / 0.4949 GB, free: 13.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=178): time 0.02851/0.6792, allocations: 8.115 MB / 0.5028 GB, free: 5.469 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002244/0.6795, allocations: 242.9 kB / 0.503 GB, free: 5.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.6807, allocations: 0.5815 MB / 0.5036 GB, free: 4.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003741/0.6811, allocations: 65.69 kB / 0.5037 GB, free: 4.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005148/0.6816, allocations: 484.8 kB / 0.5041 GB, free: 4.039 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000814/0.6825, allocations: 0.594 MB / 0.5047 GB, free: 3.438 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.6827, allocations: 36 kB / 0.5048 GB, free: 3.402 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003172/0.683, allocations: 442.6 kB / 0.5052 GB, free: 2.961 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002952/0.686, allocations: 1.247 MB / 0.5064 GB, free: 1.715 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003122/0.6891, allocations: 1.514 MB / 0.5079 GB, free: 124 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003172/0.6923, allocations: 1.422 MB / 0.5093 GB, free: 14.68 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.374e-06/0.6924, allocations: 4 kB / 0.5093 GB, free: 14.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.03093/0.7233, allocations: 7.558 MB / 0.5166 GB, free: 7.094 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.836e-05/0.7234, allocations: 63.5 kB / 0.5167 GB, free: 7.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02874/0.7522, allocations: 6.141 MB / 0.5227 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3882/1.14, allocations: 7.276 MB / 0.5298 GB, free: 123.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009432/1.141, allocations: 158.2 kB / 0.53 GB, free: 123.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05102/1.192, allocations: 23.42 MB / 0.5528 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/1.194, allocations: 164.6 kB / 0.553 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003736/1.194, allocations: 198.3 kB / 0.5532 GB, free: 119.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 91 (system.initime,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.breaker1.breaker_a.arc,breaker1.breaker_a.arc,$PRE.breaker1.breaker_a.open,breaker1.breaker_a.open,breaker1.breaker_a.closed,$PRE.breaker1.breaker_a.t0,breaker1.breaker_a.t0,breaker1.breaker_a.opening,$PRE.breaker1.breaker_b.arc,breaker1.breaker_b.arc,$PRE.breaker1.breaker_b.open,breaker1.breaker_b.open,breaker1.breaker_b.closed,$PRE.breaker1.breaker_b.t0,breaker1.breaker_b.t0,breaker1.breaker_b.opening,$PRE.breaker1.breaker_c.arc,breaker1.breaker_c.arc,$PRE.breaker1.breaker_c.open,breaker1.breaker_c.open,breaker1.breaker_c.closed,$PRE.breaker1.breaker_c.t0,breaker1.breaker_c.t0,breaker1.breaker_c.opening,$PRE.breaker2.breaker_a.arc,breaker2.breaker_a.arc,$PRE.breaker2.breaker_a.open,breaker2.breaker_a.open,breaker2.breaker_a.closed,$PRE.breaker2.breaker_a.t0,breaker2.breaker_a.t0,breaker2.breaker_a.opening,$PRE.breaker2.breaker_b.arc,breaker2.breaker_b.arc,$PRE.breaker2.breaker_b.open,breaker2.breaker_b.open,breaker2.breaker_b.closed,$PRE.breaker2.breaker_b.t0,breaker2.breaker_b.t0,breaker2.breaker_b.opening,$PRE.breaker2.breaker_c.arc,breaker2.breaker_c.arc,$PRE.breaker2.breaker_c.open,breaker2.breaker_c.open,breaker2.breaker_c.closed,$PRE.breaker2.breaker_c.t0,breaker2.breaker_c.t0,breaker2.breaker_c.opening,$PRE.relay1.y[1],relay1.y[1],$PRE.relay1.y[2],relay1.y[2],$PRE.relay1.y[3],relay1.y[3],$PRE.relay2.y[1],relay2.y[1],$PRE.relay2.y[2],relay2.y[2],$PRE.relay2.y[3],relay2.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 152 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {27 48} Notification: Performance of prepare postOptimizeDAE: time 0.0005859/1.195, allocations: 309.3 kB / 0.5535 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004051/1.195, allocations: 116.7 kB / 0.5536 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02145/1.217, allocations: 5.512 MB / 0.559 GB, free: 118.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.558e-05/1.217, allocations: 32.72 kB / 0.559 GB, free: 118.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/1.217, allocations: 3.531 kB / 0.559 GB, free: 118.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.531e-05/1.217, allocations: 7.875 kB / 0.559 GB, free: 118.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0312/1.248, allocations: 8.083 MB / 0.5669 GB, free: 115.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.471e-05/1.248, allocations: 0 / 0.5669 GB, free: 115.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/1.25, allocations: 142.5 kB / 0.567 GB, free: 115.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03542/1.285, allocations: 8.159 MB / 0.575 GB, free: 114.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006403/1.286, allocations: 258.7 kB / 0.5753 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02548/1.312, allocations: 21.48 MB / 0.5962 GB, free: 93.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.384e-06/1.312, allocations: 6.719 kB / 0.5962 GB, free: 93.79 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02076/1.332, allocations: 6.734 MB / 0.6028 GB, free: 87.33 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003849/1.333, allocations: 191.7 kB / 0.603 GB, free: 87.12 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000621/1.334, allocations: 220.7 kB / 0.6032 GB, free: 86.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/1.335, allocations: 149.3 kB / 0.6034 GB, free: 86.77 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008198/1.336, allocations: 269.5 kB / 0.6036 GB, free: 86.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003519/1.336, allocations: 201.5 kB / 0.6038 GB, free: 86.32 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006865/1.337, allocations: 455.1 kB / 0.6042 GB, free: 85.88 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.35e-07/1.337, allocations: 0 / 0.6042 GB, free: 85.88 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002518/1.339, allocations: 0.685 MB / 0.6049 GB, free: 85.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 65 (breaker1.breaker_c.closed,breaker1.breaker_b.closed,breaker1.breaker_a.closed,breaker2.breaker_b.closed,breaker2.breaker_a.closed,breaker2.breaker_c.closed,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,breaker1.breaker_a.arc,breaker1.breaker_a.open,breaker1.breaker_a.t0,breaker1.breaker_a.opening,breaker1.breaker_b.arc,breaker1.breaker_b.open,breaker1.breaker_b.t0,breaker1.breaker_b.opening,breaker1.breaker_c.arc,breaker1.breaker_c.open,breaker1.breaker_c.t0,breaker1.breaker_c.opening,breaker2.breaker_a.arc,breaker2.breaker_a.open,breaker2.breaker_a.t0,breaker2.breaker_a.opening,breaker2.breaker_b.arc,breaker2.breaker_b.open,breaker2.breaker_b.t0,breaker2.breaker_b.opening,breaker2.breaker_c.arc,breaker2.breaker_c.open,breaker2.breaker_c.t0,breaker2.breaker_c.opening,relay1.y[1],relay1.y[2],relay1.y[3],relay1.cnt,relay2.y[1],relay2.y[2],relay2.y[3],relay2.cnt,system.initime) * Number of discrete states: 22 (breaker1.breaker_a.arc,breaker1.breaker_b.arc,breaker1.breaker_c.arc,breaker2.breaker_a.arc,breaker2.breaker_b.arc,breaker2.breaker_c.arc,relay2.y[3],relay2.y[2],relay2.y[1],relay2.cnt,$whenCondition2,relay1.y[3],relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,breaker2.breaker_a.open,breaker2.breaker_c.open,breaker2.breaker_b.open,breaker1.breaker_b.open,breaker1.breaker_c.open,breaker1.breaker_a.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 106 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {12,9} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005445/1.34, allocations: 263.9 kB / 0.6052 GB, free: 84.95 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008959/1.349, allocations: 4.024 MB / 0.6091 GB, free: 80.91 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/1.349, allocations: 0 / 0.6091 GB, free: 80.91 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006119/1.355, allocations: 3.086 MB / 0.6121 GB, free: 77.72 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/1.356, allocations: 183.5 kB / 0.6123 GB, free: 77.54 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00883/1.365, allocations: 4.539 MB / 0.6167 GB, free: 73.11 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009812/1.366, allocations: 1.317 MB / 0.618 GB, free: 71.76 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001069/1.367, allocations: 256.2 kB / 0.6182 GB, free: 71.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004151/1.368, allocations: 91.42 kB / 0.6183 GB, free: 71.43 MB / 458.7 MB Notification: Performance of SimCode: time 2.348e-06/1.368, allocations: 0 / 0.6183 GB, free: 71.43 MB / 458.7 MB Notification: Performance of Templates: time 0.1092/1.477, allocations: 45.31 MB / 0.6626 GB, free: 26.38 MB / 458.7 MB