Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.RXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline") Notification: Performance of loadModel(PowerSystems): time 2.198/2.198, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.689e-05/4.706e-05, allocations: 4 kB / 302.2 MB, free: 7.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1264, allocations: 53.25 MB / 355.4 MB, free: 2.125 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4168/0.5433, allocations: 97.53 MB / 453 MB, free: 4.207 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004257/0.5438, allocations: 86.14 kB / 453.1 MB, free: 4.125 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1261/0.6699, allocations: 21.92 MB / 475 MB, free: 13.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.353e-06/0.6699, allocations: 0 / 475 MB, free: 13.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.475e-05/0.67, allocations: 23.94 kB / 475 MB, free: 13.95 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.002641/0.6727, allocations: 1.164 MB / 476.2 MB, free: 12.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.6727, allocations: 16.02 kB / 476.2 MB, free: 12.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.6738, allocations: 155.3 kB / 476.3 MB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004367/0.6782, allocations: 1.206 MB / 477.5 MB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.6784, allocations: 66 kB / 477.6 MB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002535/0.6786, allocations: 91.98 kB / 477.7 MB, free: 11.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003144/0.6818, allocations: 1.244 MB / 478.9 MB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.41e-05/0.6819, allocations: 11.84 kB / 478.9 MB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/0.682, allocations: 39.98 kB / 479 MB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/0.6822, allocations: 53.98 kB / 479 MB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002871/0.685, allocations: 1.097 MB / 480.1 MB, free: 8.625 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00932/0.6944, allocations: 4.567 MB / 484.7 MB, free: 3.902 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.6962, allocations: 0.8037 MB / 485.5 MB, free: 3.078 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.6975, allocations: 0.6482 MB / 486.2 MB, free: 2.426 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.517e-05/0.6976, allocations: 12.78 kB / 486.2 MB, free: 2.414 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001717/0.6994, allocations: 0.8857 MB / 487.1 MB, free: 1.496 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 4.715e-06/0.6994, allocations: 0 / 487.1 MB, free: 1.496 MB / 410.7 MB Notification: Performance of matching and sorting (n=127): time 0.006748/0.7061, allocations: 3.084 MB / 490.1 MB, free: 14.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001858/0.7064, allocations: 242.6 kB / 490.4 MB, free: 14.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007665/0.7072, allocations: 427.7 kB / 490.8 MB, free: 13.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001618/0.7073, allocations: 57.69 kB / 490.9 MB, free: 13.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004045/0.7077, allocations: 392.2 kB / 491.2 MB, free: 13.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004727/0.7082, allocations: 378.8 kB / 491.6 MB, free: 12.78 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.301e-05/0.7083, allocations: 28 kB / 491.6 MB, free: 12.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000266/0.7086, allocations: 395.3 kB / 492 MB, free: 12.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.7098, allocations: 0.5226 MB / 492.5 MB, free: 11.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.7113, allocations: 0.7501 MB / 493.3 MB, free: 11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.7127, allocations: 0.656 MB / 493.9 MB, free: 10.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.7127, allocations: 4 kB / 493.9 MB, free: 10.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.005272/0.718, allocations: 2.032 MB / 496 MB, free: 8.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.786e-05/0.7181, allocations: 68.62 kB / 496 MB, free: 8.191 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004268/0.7224, allocations: 1.661 MB / 497.7 MB, free: 6.527 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002641/0.7251, allocations: 0.6564 MB / 498.4 MB, free: 5.867 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007281/0.7259, allocations: 135.7 kB / 498.5 MB, free: 5.734 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/0.7381, allocations: 5.911 MB / 0.4926 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009036/0.739, allocations: 63.94 kB / 0.4926 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.7392, allocations: 47.98 kB / 0.4927 GB, free: 15.57 MB / 442.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: 67 (system.initime,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.switch1.switch_a.arc,switch1.switch_a.arc,$PRE.switch1.switch_a.open,switch1.switch_a.open,switch1.switch_a.closed,$PRE.switch1.switch_b.arc,switch1.switch_b.arc,$PRE.switch1.switch_b.open,switch1.switch_b.open,switch1.switch_b.closed,$PRE.switch1.switch_c.arc,switch1.switch_c.arc,$PRE.switch1.switch_c.open,switch1.switch_c.open,switch1.switch_c.closed,$PRE.switch2.switch_a.arc,switch2.switch_a.arc,$PRE.switch2.switch_a.open,switch2.switch_a.open,switch2.switch_a.closed,$PRE.switch2.switch_b.arc,switch2.switch_b.arc,$PRE.switch2.switch_b.open,switch2.switch_b.open,switch2.switch_b.closed,$PRE.switch2.switch_c.arc,switch2.switch_c.arc,$PRE.switch2.switch_c.open,switch2.switch_c.open,switch2.switch_c.closed,$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 (122): * Single equations (assignments): 116 * 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: 1 {(7,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004473/0.7397, allocations: 273.3 kB / 0.493 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/0.7399, allocations: 83.05 kB / 0.493 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00314/0.7431, allocations: 1.422 MB / 0.4944 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.516e-05/0.7432, allocations: 35.98 kB / 0.4945 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.236e-06/0.7432, allocations: 0 / 0.4945 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/0.7432, allocations: 11.94 kB / 0.4945 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/0.7538, allocations: 2.801 MB / 0.4972 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.06e-05/0.7539, allocations: 3.984 kB / 0.4972 GB, free: 10.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002607/0.7565, allocations: 227.8 kB / 0.4974 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.822e-05/0.7566, allocations: 4 kB / 0.4974 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002566/0.7569, allocations: 27.98 kB / 0.4975 GB, free: 10.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.855e-05/0.7569, allocations: 11.94 kB / 0.4975 GB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.432e-06/0.7569, allocations: 0 / 0.4975 GB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005407/0.7624, allocations: 2.332 MB / 0.4997 GB, free: 8.172 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/0.7627, allocations: 152.1 kB / 0.4999 GB, free: 8.004 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/0.763, allocations: 39.92 kB / 0.4999 GB, free: 7.965 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006726/0.7637, allocations: 55.94 kB / 0.5 GB, free: 7.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003245/0.764, allocations: 116.5 kB / 0.5001 GB, free: 7.797 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.7641, allocations: 27.98 kB / 0.5001 GB, free: 7.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005651/0.7647, allocations: 329.6 kB / 0.5004 GB, free: 7.445 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.7647, allocations: 1.406 kB / 0.5004 GB, free: 7.445 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001419/0.7662, allocations: 328 kB / 0.5007 GB, free: 7.125 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 47 (switch1.switch_b.closed,switch1.switch_c.closed,switch1.switch_a.closed,switch2.switch_a.closed,switch2.switch_b.closed,switch2.switch_c.closed,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,switch1.switch_a.arc,switch1.switch_a.open,switch1.switch_b.arc,switch1.switch_b.open,switch1.switch_c.arc,switch1.switch_c.open,switch2.switch_a.arc,switch2.switch_a.open,switch2.switch_b.arc,switch2.switch_b.open,switch2.switch_c.arc,switch2.switch_c.open,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: 16 (relay2.y[3],relay2.y[2],relay2.y[1],relay2.cnt,$whenCondition2,relay1.y[3],relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,switch2.switch_c.open,switch2.switch_a.open,switch2.switch_b.open,switch1.switch_b.open,switch1.switch_c.open,switch1.switch_a.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 88 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 7 * 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.000454/0.7666, allocations: 207 kB / 0.5009 GB, free: 6.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004106/0.7708, allocations: 1.827 MB / 0.5027 GB, free: 5.051 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.476e-06/0.7708, allocations: 0.5625 kB / 0.5027 GB, free: 5.051 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.7726, allocations: 0.9002 MB / 0.5036 GB, free: 4.129 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000868/0.7735, allocations: 107.7 kB / 0.5037 GB, free: 4.023 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004418/0.7779, allocations: 1.87 MB / 0.5055 GB, free: 2.117 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/0.779, allocations: 1.125 MB / 0.5066 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00102/0.7801, allocations: 242.8 kB / 0.5069 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003355/0.7804, allocations: 63.44 kB / 0.5069 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of SimCode: time 2.1e-06/0.7804, allocations: 0 / 0.5069 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of Templates: time 0.03263/0.8131, allocations: 12.43 MB / 0.5191 GB, free: 4.258 MB / 458.7 MB