Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.FaultRXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.FaultRXline") Notification: Performance of loadModel(PowerSystems): time 2.215/2.215, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.849e-05/2.857e-05, allocations: 0 / 302.2 MB, free: 7.492 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09631/0.09637, allocations: 53.23 MB / 355.4 MB, free: 2.148 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5054/0.6018, allocations: 101 MB / 456.4 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.6022, allocations: 91.94 kB / 456.5 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1032/0.7054, allocations: 25.12 MB / 481.6 MB, free: 7.297 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.878e-06/0.7054, allocations: 0 / 481.6 MB, free: 7.297 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.669e-05/0.7055, allocations: 20 kB / 481.7 MB, free: 7.277 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.003657/0.7091, allocations: 1.388 MB / 483 MB, free: 5.805 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.7092, allocations: 8.031 kB / 483 MB, free: 5.797 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.7108, allocations: 202.2 kB / 483.2 MB, free: 5.598 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004623/0.7154, allocations: 1.297 MB / 484.5 MB, free: 4.258 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.7156, allocations: 82 kB / 484.6 MB, free: 4.176 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002893/0.7159, allocations: 111.9 kB / 484.7 MB, free: 4.066 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003492/0.7194, allocations: 1.556 MB / 486.3 MB, free: 2.426 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.906e-05/0.7194, allocations: 8.484 kB / 486.3 MB, free: 2.418 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001807/0.7196, allocations: 51.94 kB / 486.3 MB, free: 2.367 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001274/0.7198, allocations: 73.95 kB / 486.4 MB, free: 2.293 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00307/0.7229, allocations: 1.367 MB / 487.8 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01141/0.7343, allocations: 5.756 MB / 493.5 MB, free: 11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002239/0.7366, allocations: 1.07 MB / 494.6 MB, free: 9.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001656/0.7383, allocations: 0.8282 MB / 495.4 MB, free: 9.074 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.178e-05/0.7384, allocations: 16.95 kB / 495.5 MB, free: 9.055 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002189/0.7406, allocations: 1.118 MB / 496.6 MB, free: 7.906 MB / 426.7 MB Notification: Performance of pre-optimization done (n=161): time 4.965e-06/0.7406, allocations: 0 / 496.6 MB, free: 7.906 MB / 426.7 MB Notification: Performance of matching and sorting (n=162): time 0.008568/0.7492, allocations: 3.921 MB / 0.4888 GB, free: 3.891 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001855/0.7494, allocations: 250.9 kB / 0.489 GB, free: 3.594 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008902/0.7503, allocations: 0.493 MB / 0.4895 GB, free: 3.094 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001749/0.7505, allocations: 61.69 kB / 0.4895 GB, free: 3.027 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004764/0.751, allocations: 456.5 kB / 0.49 GB, free: 2.574 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006008/0.7516, allocations: 489.4 kB / 0.4904 GB, free: 2.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.7517, allocations: 32 kB / 0.4905 GB, free: 2.059 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003057/0.7521, allocations: 418.7 kB / 0.4909 GB, free: 1.641 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/0.7536, allocations: 0.6927 MB / 0.4916 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.7555, allocations: 0.9717 MB / 0.4925 GB, free: 15.87 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/0.7573, allocations: 0.8633 MB / 0.4933 GB, free: 15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.701e-06/0.7574, allocations: 0 / 0.4933 GB, free: 15 MB / 442.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.007702/0.7651, allocations: 2.815 MB / 0.4961 GB, free: 12.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.861e-05/0.7652, allocations: 63.39 kB / 0.4962 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00664/0.7719, allocations: 2.349 MB / 0.4984 GB, free: 9.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004688/0.7766, allocations: 1.071 MB / 0.4995 GB, free: 8.656 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000798/0.7774, allocations: 151.6 kB / 0.4996 GB, free: 8.508 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01839/0.7958, allocations: 8.196 MB / 0.5076 GB, free: 172 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.797, allocations: 91.81 kB / 0.5077 GB, free: 80 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/0.7972, allocations: 63.98 kB / 0.5078 GB, free: 16 kB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 84 (system.initime,$PRE.abc.fault_pp1.t0,abc.fault_pp1.t0,$PRE.abc.fault_pp2.t0,abc.fault_pp2.t0,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$whenCondition23,$whenCondition22,$whenCondition21,$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],$PRE.abc.theta_zero,abc.theta_zero,$PRE.abc.v_pos,abc.v_pos,$PRE.abc.first,abc.first,$PRE.abc.fault_pp1.on,abc.fault_pp1.on,$PRE.abc.fault_pp2.on,abc.fault_pp2.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 139 * Array equations: 4 * 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 {(12,81.9%) 41} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005212/0.7977, allocations: 295.9 kB / 0.5081 GB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003235/0.7981, allocations: 106.8 kB / 0.5082 GB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004194/0.8023, allocations: 1.873 MB / 0.51 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.077e-05/0.8024, allocations: 39.98 kB / 0.51 GB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.83e-06/0.8024, allocations: 1.594 kB / 0.51 GB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/0.8024, allocations: 11.97 kB / 0.5101 GB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008086/0.8105, allocations: 3.512 MB / 0.5135 GB, free: 10.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.8106, allocations: 4 kB / 0.5135 GB, free: 10.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002762/0.8134, allocations: 379.7 kB / 0.5139 GB, free: 9.688 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002424/0.8136, allocations: 52.81 kB / 0.5139 GB, free: 9.633 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001932/0.8139, allocations: 39.97 kB / 0.5139 GB, free: 9.594 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/0.8157, allocations: 1.564 MB / 0.5155 GB, free: 7.898 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8158, allocations: 0 / 0.5155 GB, free: 7.898 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006151/0.8219, allocations: 2.98 MB / 0.5184 GB, free: 4.844 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007767/0.8227, allocations: 303.8 kB / 0.5187 GB, free: 4.527 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/0.823, allocations: 39.98 kB / 0.5187 GB, free: 4.488 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008831/0.8239, allocations: 75.91 kB / 0.5188 GB, free: 4.414 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004021/0.8243, allocations: 140.8 kB / 0.5189 GB, free: 4.277 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/0.8245, allocations: 39.98 kB / 0.519 GB, free: 4.238 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006982/0.8252, allocations: 399.2 kB / 0.5193 GB, free: 3.848 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.7e-07/0.8252, allocations: 0 / 0.5193 GB, free: 3.848 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001704/0.8269, allocations: 415.9 kB / 0.5197 GB, free: 3.441 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (line.i1[1],line.i1[2],line.i1[3],line.i2[1],line.i2[2],line.i2[3]) * Number of discrete variables: 57 (switch1.switch_a.closed,switch1.switch_b.closed,switch1.switch_c.closed,switch2.switch_a.closed,switch2.switch_c.closed,switch2.switch_b.closed,$whenCondition23,$whenCondition22,$whenCondition21,$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,abc.theta_zero,abc.v_pos,abc.first,abc.fault_pp1.on,abc.fault_pp1.t0,abc.fault_pp2.on,abc.fault_pp2.t0,system.initime) * Number of discrete states: 21 (abc.theta_zero,abc.fault_pp1.on,abc.fault_pp2.on,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_b.open,switch2.switch_c.open,switch2.switch_a.open,abc.v_pos,abc.first,switch1.switch_c.open,switch1.switch_b.open,switch1.switch_a.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 107 * Array equations: 4 * Algorithm blocks: 2 * Record equations: 0 * When equations: 11 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004879/0.8274, allocations: 227 kB / 0.5199 GB, free: 3.211 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006048/0.8335, allocations: 2.467 MB / 0.5224 GB, free: 0.707 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.882e-06/0.8335, allocations: 0 / 0.5224 GB, free: 0.707 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.243/1.077, allocations: 1.223 MB / 0.5235 GB, free: 132.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/1.078, allocations: 135.9 kB / 0.5237 GB, free: 132.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005999/1.084, allocations: 2.515 MB / 0.5261 GB, free: 132.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/1.085, allocations: 1.247 MB / 0.5274 GB, free: 131.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00125/1.086, allocations: 277.1 kB / 0.5276 GB, free: 131.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004527/1.087, allocations: 76.61 kB / 0.5277 GB, free: 131.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.812e-06/1.087, allocations: 0 / 0.5277 GB, free: 131.7 MB / 458.7 MB Notification: Performance of Templates: time 0.04155/1.128, allocations: 16.53 MB / 0.5438 GB, free: 130.8 MB / 458.7 MB