Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.FaultRXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.FaultRXline") Notification: Performance of loadModel(PowerSystems): time 2.115/2.115, allocations: 233 MB / 245.6 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.324e-05/3.332e-05, allocations: 4 kB / 301.3 MB, free: 7.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 53.24 MB / 354.5 MB, free: 2.625 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3798/0.485, allocations: 101 MB / 455.5 MB, free: 1.035 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.4853, allocations: 87.95 kB / 455.6 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1027/0.588, allocations: 25.12 MB / 480.7 MB, free: 7.559 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.892e-06/0.588, allocations: 0 / 480.7 MB, free: 7.559 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.248e-05/0.5881, allocations: 24 kB / 480.7 MB, free: 7.535 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.003152/0.5913, allocations: 1.384 MB / 482.1 MB, free: 6.066 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.5913, allocations: 12.03 kB / 482.1 MB, free: 6.055 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.5927, allocations: 202.2 kB / 482.3 MB, free: 5.855 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004339/0.597, allocations: 1.29 MB / 483.6 MB, free: 4.523 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.5972, allocations: 82.66 kB / 483.7 MB, free: 4.441 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002622/0.5974, allocations: 107.9 kB / 483.8 MB, free: 4.336 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003395/0.6009, allocations: 1.56 MB / 485.4 MB, free: 2.691 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.4e-05/0.6009, allocations: 7.938 kB / 485.4 MB, free: 2.684 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001716/0.6011, allocations: 47.92 kB / 485.4 MB, free: 2.637 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/0.6012, allocations: 69.98 kB / 485.5 MB, free: 2.566 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003136/0.6044, allocations: 1.367 MB / 486.8 MB, free: 1.199 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01126/0.6157, allocations: 5.765 MB / 492.6 MB, free: 11.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/0.618, allocations: 1.066 MB / 493.7 MB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.6197, allocations: 0.8266 MB / 494.5 MB, free: 9.344 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.22e-05/0.6198, allocations: 20.95 kB / 494.5 MB, free: 9.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002159/0.622, allocations: 1.129 MB / 495.7 MB, free: 8.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=161): time 5.193e-06/0.622, allocations: 1.5 kB / 495.7 MB, free: 8.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=162): time 0.008461/0.6305, allocations: 3.913 MB / 499.6 MB, free: 4.152 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001818/0.6307, allocations: 246.9 kB / 499.8 MB, free: 3.859 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008966/0.6316, allocations: 0.497 MB / 0.4886 GB, free: 3.355 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001438/0.6317, allocations: 57.7 kB / 0.4886 GB, free: 3.293 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004458/0.6322, allocations: 491 kB / 0.4891 GB, free: 2.809 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005622/0.6328, allocations: 485.4 kB / 0.4896 GB, free: 2.328 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.6329, allocations: 32 kB / 0.4896 GB, free: 2.297 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000237/0.6332, allocations: 386.7 kB / 0.49 GB, free: 1.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/0.6347, allocations: 0.6873 MB / 0.4906 GB, free: 1.223 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.6366, allocations: 0.9717 MB / 0.4916 GB, free: 148 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/0.6384, allocations: 0.8556 MB / 0.4924 GB, free: 15.28 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.6384, allocations: 4 kB / 0.4924 GB, free: 15.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.007392/0.6458, allocations: 2.777 MB / 0.4951 GB, free: 12.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.899e-05/0.6459, allocations: 59.41 kB / 0.4952 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006219/0.6521, allocations: 2.353 MB / 0.4975 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004521/0.6567, allocations: 1.072 MB / 0.4985 GB, free: 8.973 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007401/0.6574, allocations: 147.6 kB / 0.4987 GB, free: 8.828 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01794/0.6754, allocations: 8.212 MB / 0.5067 GB, free: 484 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.6766, allocations: 99.8 kB / 0.5068 GB, free: 384 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/0.6767, allocations: 56 kB / 0.5068 GB, free: 328 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.0004946/0.6772, allocations: 295.9 kB / 0.5071 GB, free: 12 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003335/0.6776, allocations: 106.9 kB / 0.5072 GB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004138/0.6817, allocations: 1.869 MB / 0.5091 GB, free: 14.01 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.825e-05/0.6818, allocations: 39.98 kB / 0.5091 GB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.503e-06/0.6819, allocations: 0 / 0.5091 GB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/0.6819, allocations: 7.984 kB / 0.5091 GB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007809/0.6897, allocations: 3.519 MB / 0.5125 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.711e-06/0.6898, allocations: 0 / 0.5125 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00257/0.6923, allocations: 380.3 kB / 0.5129 GB, free: 9.992 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002231/0.6926, allocations: 52.81 kB / 0.5129 GB, free: 9.938 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/0.6927, allocations: 39.92 kB / 0.513 GB, free: 9.898 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/0.6946, allocations: 1.564 MB / 0.5145 GB, free: 8.203 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.163e-06/0.6946, allocations: 0 / 0.5145 GB, free: 8.203 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00608/0.7007, allocations: 2.98 MB / 0.5174 GB, free: 5.148 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007033/0.7014, allocations: 307.8 kB / 0.5177 GB, free: 4.828 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/0.7016, allocations: 41.67 kB / 0.5178 GB, free: 4.789 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008264/0.7025, allocations: 79.88 kB / 0.5178 GB, free: 4.711 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003768/0.7029, allocations: 132.8 kB / 0.518 GB, free: 4.582 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/0.7031, allocations: 43.98 kB / 0.518 GB, free: 4.539 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00069/0.7038, allocations: 399.2 kB / 0.5184 GB, free: 4.148 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.11e-07/0.7038, allocations: 0 / 0.5184 GB, free: 4.148 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001643/0.7054, allocations: 416 kB / 0.5188 GB, free: 3.742 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.0004635/0.7059, allocations: 223 kB / 0.519 GB, free: 3.516 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005832/0.7118, allocations: 2.463 MB / 0.5214 GB, free: 1.016 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.599e-06/0.7118, allocations: 0 / 0.5214 GB, free: 1.016 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2362/0.948, allocations: 1.203 MB / 0.5226 GB, free: 132.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.9491, allocations: 135.6 kB / 0.5227 GB, free: 132.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005708/0.9548, allocations: 2.601 MB / 0.5252 GB, free: 132.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/0.956, allocations: 1.242 MB / 0.5265 GB, free: 131.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006042/0.9566, allocations: 82.2 kB / 0.5265 GB, free: 131.4 MB / 458.7 MB Notification: Performance of SimCode: time 2.242e-06/0.9566, allocations: 0.9062 kB / 0.5265 GB, free: 131.4 MB / 458.7 MB Notification: Performance of Templates: time 0.03358/0.9902, allocations: 18.93 MB / 0.545 GB, free: 130.6 MB / 458.7 MB