Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.Tline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.Tline") Notification: Performance of loadModel(PowerSystems): time 2.232/2.232, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.527e-05/3.543e-05, allocations: 4 kB / 302.2 MB, free: 7.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0997/0.09975, allocations: 53.22 MB / 355.4 MB, free: 2.141 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4413/0.5411, allocations: 102.5 MB / 457.9 MB, free: 15.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.5414, allocations: 83.95 kB / 458 MB, free: 15.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1326/0.674, allocations: 29.52 MB / 487.5 MB, free: 1.418 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.996e-06/0.6741, allocations: 0 / 487.5 MB, free: 1.418 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000105/0.6742, allocations: 27.98 kB / 487.5 MB, free: 1.391 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.007351/0.6816, allocations: 1.529 MB / 489.1 MB, free: 15.78 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/0.6817, allocations: 9.531 kB / 489.1 MB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003391/0.6851, allocations: 226.5 kB / 489.3 MB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01037/0.6955, allocations: 1.615 MB / 490.9 MB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003092/0.6959, allocations: 89.98 kB / 491 MB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008447/0.6968, allocations: 111.8 kB / 491.1 MB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009025/0.7058, allocations: 1.623 MB / 492.7 MB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.855e-05/0.706, allocations: 7.938 kB / 492.7 MB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004289/0.7064, allocations: 43.98 kB / 492.8 MB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006377/0.7071, allocations: 65.97 kB / 492.9 MB, free: 11.87 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003878/0.711, allocations: 1.41 MB / 494.3 MB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02169/0.7327, allocations: 8.008 MB / 0.4905 GB, free: 2.285 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003324/0.7361, allocations: 1.512 MB / 0.492 GB, free: 0.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002431/0.7386, allocations: 1.213 MB / 0.4932 GB, free: 15.53 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.7388, allocations: 24.84 kB / 0.4932 GB, free: 15.51 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003573/0.7423, allocations: 1.757 MB / 0.4949 GB, free: 13.72 MB / 442.7 MB Notification: Performance of pre-optimization done (n=177): time 5.675e-06/0.7424, allocations: 1.5 kB / 0.4949 GB, free: 13.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=178): time 0.02733/0.7697, allocations: 8.107 MB / 0.5028 GB, free: 5.492 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002121/0.77, allocations: 242.9 kB / 0.503 GB, free: 5.203 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.7712, allocations: 0.5893 MB / 0.5036 GB, free: 4.605 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004424/0.7717, allocations: 65.69 kB / 0.5037 GB, free: 4.535 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005812/0.7723, allocations: 476.8 kB / 0.5041 GB, free: 4.062 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001007/0.7733, allocations: 0.594 MB / 0.5047 GB, free: 3.461 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.7736, allocations: 39.98 kB / 0.5048 GB, free: 3.422 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003621/0.7739, allocations: 442.6 kB / 0.5052 GB, free: 2.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002873/0.7768, allocations: 1.246 MB / 0.5064 GB, free: 1.734 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003338/0.7802, allocations: 1.518 MB / 0.5079 GB, free: 140 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003306/0.7835, allocations: 1.418 MB / 0.5093 GB, free: 14.71 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.736e-05/0.7836, allocations: 4 kB / 0.5093 GB, free: 14.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.03065/0.8142, allocations: 7.558 MB / 0.5167 GB, free: 7.113 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.629e-05/0.8144, allocations: 63.39 kB / 0.5167 GB, free: 7.039 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02345/0.8378, allocations: 6.133 MB / 0.5227 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.33/1.168, allocations: 7.285 MB / 0.5298 GB, free: 123.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009229/1.169, allocations: 159.3 kB / 0.53 GB, free: 123.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0505/1.219, allocations: 23.43 MB / 0.5528 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/1.221, allocations: 158.4 kB / 0.553 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004373/1.222, allocations: 197.9 kB / 0.5532 GB, free: 119.5 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.0006297/1.222, allocations: 306.8 kB / 0.5535 GB, free: 119.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004427/1.223, allocations: 115.6 kB / 0.5536 GB, free: 119.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02155/1.244, allocations: 5.512 MB / 0.559 GB, free: 117.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001088/1.244, allocations: 42.5 kB / 0.559 GB, free: 117.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.45e-05/1.244, allocations: 0 / 0.559 GB, free: 117.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-05/1.245, allocations: 7.453 kB / 0.559 GB, free: 117.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02947/1.274, allocations: 8.078 MB / 0.5669 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.671e-05/1.274, allocations: 1.969 kB / 0.5669 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009509/1.275, allocations: 148.1 kB / 0.567 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03536/1.31, allocations: 8.157 MB / 0.575 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006185/1.311, allocations: 258.7 kB / 0.5753 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02522/1.336, allocations: 21.49 MB / 0.5962 GB, free: 93.59 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.901e-06/1.336, allocations: 0 / 0.5962 GB, free: 93.59 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02188/1.358, allocations: 6.735 MB / 0.6028 GB, free: 87.18 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003931/1.359, allocations: 190.5 kB / 0.603 GB, free: 86.97 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007024/1.359, allocations: 220.8 kB / 0.6032 GB, free: 86.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/1.361, allocations: 145 kB / 0.6033 GB, free: 86.62 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008712/1.362, allocations: 267.3 kB / 0.6036 GB, free: 86.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003691/1.362, allocations: 203.6 kB / 0.6038 GB, free: 86.17 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007285/1.363, allocations: 459.1 kB / 0.6042 GB, free: 85.72 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.74e-07/1.363, allocations: 0 / 0.6042 GB, free: 85.72 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002888/1.366, allocations: 0.6858 MB / 0.6049 GB, free: 85.04 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.0006506/1.367, allocations: 269.2 kB / 0.6052 GB, free: 84.79 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009682/1.376, allocations: 4.019 MB / 0.6091 GB, free: 80.76 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.867e-06/1.376, allocations: 0 / 0.6091 GB, free: 80.76 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0108/1.387, allocations: 3.088 MB / 0.6121 GB, free: 77.57 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/1.389, allocations: 187.3 kB / 0.6123 GB, free: 77.39 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01536/1.405, allocations: 4.539 MB / 0.6167 GB, free: 72.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001649/1.406, allocations: 1.313 MB / 0.618 GB, free: 71.61 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00199/1.409, allocations: 258.4 kB / 0.6182 GB, free: 71.37 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007222/1.409, allocations: 91.42 kB / 0.6183 GB, free: 71.28 MB / 458.7 MB Notification: Performance of SimCode: time 2.592e-06/1.409, allocations: 0 / 0.6183 GB, free: 71.28 MB / 458.7 MB Notification: Performance of Templates: time 0.1164/1.526, allocations: 45.3 MB / 0.6626 GB, free: 26.23 MB / 458.7 MB