Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.FaultRXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.FaultRXline") Notification: Performance of loadModel(PowerSystems): time 2.368/2.368, allocations: 233 MB / 246.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.628e-05/3.622e-05, allocations: 8 kB / 302.2 MB, free: 7.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09207/0.09212, allocations: 53.24 MB / 355.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4134/0.5056, allocations: 101 MB / 456.4 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.5059, allocations: 91.95 kB / 456.5 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.115/0.6209, allocations: 25.11 MB / 481.6 MB, free: 7.414 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.46e-06/0.621, allocations: 4 kB / 481.6 MB, free: 7.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.361e-05/0.6211, allocations: 20 kB / 481.7 MB, free: 7.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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.003403/0.6245, allocations: 1.385 MB / 483 MB, free: 5.922 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.6245, allocations: 8.031 kB / 483.1 MB, free: 5.914 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/0.6261, allocations: 210.2 kB / 483.3 MB, free: 5.707 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004803/0.631, allocations: 1.297 MB / 484.6 MB, free: 4.367 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.6311, allocations: 81.98 kB / 484.6 MB, free: 4.285 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003873/0.6316, allocations: 111.9 kB / 484.7 MB, free: 4.176 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003956/0.6355, allocations: 1.553 MB / 486.3 MB, free: 2.539 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.385e-05/0.6356, allocations: 7.938 kB / 486.3 MB, free: 2.531 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/0.6358, allocations: 47.97 kB / 486.4 MB, free: 2.484 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001371/0.636, allocations: 73.97 kB / 486.4 MB, free: 2.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003524/0.6395, allocations: 1.363 MB / 487.8 MB, free: 1.047 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01537/0.6549, allocations: 5.76 MB / 493.5 MB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002704/0.6577, allocations: 1.075 MB / 494.6 MB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/0.6595, allocations: 0.827 MB / 495.4 MB, free: 9.188 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.569e-05/0.6597, allocations: 9 kB / 495.5 MB, free: 9.176 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00232/0.662, allocations: 1.125 MB / 496.6 MB, free: 8.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=161): time 5.547e-06/0.662, allocations: 0 / 496.6 MB, free: 8.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=162): time 0.008975/0.671, allocations: 3.923 MB / 0.4888 GB, free: 4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001929/0.6712, allocations: 244.2 kB / 0.489 GB, free: 3.711 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000948/0.6722, allocations: 0.4968 MB / 0.4895 GB, free: 3.207 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002379/0.6725, allocations: 61.69 kB / 0.4896 GB, free: 3.141 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005033/0.673, allocations: 456.5 kB / 0.49 GB, free: 2.688 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006883/0.6737, allocations: 493.4 kB / 0.4905 GB, free: 2.199 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.6738, allocations: 28 kB / 0.4905 GB, free: 2.172 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003149/0.6741, allocations: 422.7 kB / 0.4909 GB, free: 1.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.6757, allocations: 0.6873 MB / 0.4916 GB, free: 1.062 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001908/0.6777, allocations: 0.9717 MB / 0.4925 GB, free: 15.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/0.6796, allocations: 0.8594 MB / 0.4933 GB, free: 15.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/0.6796, allocations: 4 kB / 0.4934 GB, free: 15.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.007657/0.6873, allocations: 2.815 MB / 0.4961 GB, free: 12.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.613e-05/0.6874, allocations: 59.41 kB / 0.4962 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006412/0.6938, allocations: 2.349 MB / 0.4985 GB, free: 9.848 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004594/0.6985, allocations: 1.074 MB / 0.4995 GB, free: 8.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000806/0.6993, allocations: 151.6 kB / 0.4996 GB, free: 8.621 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01878/0.7181, allocations: 8.2 MB / 0.5077 GB, free: 284 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.7193, allocations: 99.77 kB / 0.5077 GB, free: 184 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/0.7195, allocations: 56 kB / 0.5078 GB, free: 128 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.0005343/0.7201, allocations: 299.9 kB / 0.5081 GB, free: 15.81 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003397/0.7204, allocations: 106.8 kB / 0.5082 GB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004287/0.7247, allocations: 1.862 MB / 0.51 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.996e-05/0.7249, allocations: 43.92 kB / 0.51 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.7249, allocations: 0 / 0.51 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.002e-05/0.7249, allocations: 7.984 kB / 0.5101 GB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01272/0.7376, allocations: 3.519 MB / 0.5135 GB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/0.7377, allocations: 0 / 0.5135 GB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005247/0.743, allocations: 383.7 kB / 0.5139 GB, free: 9.793 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004489/0.7435, allocations: 52.81 kB / 0.5139 GB, free: 9.738 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003971/0.7439, allocations: 35.98 kB / 0.5139 GB, free: 9.703 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003301/0.7473, allocations: 1.572 MB / 0.5155 GB, free: 8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.7473, allocations: 0 / 0.5155 GB, free: 8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01218/0.7595, allocations: 2.98 MB / 0.5184 GB, free: 4.945 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/0.761, allocations: 307.8 kB / 0.5187 GB, free: 4.625 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004765/0.7615, allocations: 39.97 kB / 0.5187 GB, free: 4.586 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/0.7633, allocations: 75.91 kB / 0.5188 GB, free: 4.512 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007144/0.764, allocations: 136.8 kB / 0.5189 GB, free: 4.379 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002872/0.7644, allocations: 43.97 kB / 0.519 GB, free: 4.336 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001328/0.7657, allocations: 399.2 kB / 0.5193 GB, free: 3.945 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.323e-06/0.7657, allocations: 0 / 0.5193 GB, free: 3.945 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003625/0.7694, allocations: 412 kB / 0.5197 GB, free: 3.543 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.0008799/0.7703, allocations: 215 kB / 0.5199 GB, free: 3.324 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01169/0.782, allocations: 2.47 MB / 0.5224 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.247e-06/0.7821, allocations: 3.938 kB / 0.5224 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3016/1.084, allocations: 1.224 MB / 0.5236 GB, free: 132.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/1.085, allocations: 137 kB / 0.5237 GB, free: 132.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005708/1.09, allocations: 2.502 MB / 0.5261 GB, free: 132.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/1.092, allocations: 1.244 MB / 0.5273 GB, free: 131.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001306/1.093, allocations: 286.1 kB / 0.5276 GB, free: 131.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004707/1.093, allocations: 76.55 kB / 0.5277 GB, free: 131.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.847e-06/1.093, allocations: 1.312 kB / 0.5277 GB, free: 131.4 MB / 458.7 MB Notification: Performance of Templates: time 0.04164/1.135, allocations: 16.53 MB / 0.5438 GB, free: 130.6 MB / 458.7 MB