Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.RXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.RXline") Notification: Performance of loadModel(PowerSystems): time 2.311/2.311, allocations: 233 MB / 245.6 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.568e-05/3.577e-05, allocations: 5.719 kB / 301.3 MB, free: 7.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08957/0.08963, allocations: 53.23 MB / 354.5 MB, free: 2.633 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3739/0.4635, allocations: 97.54 MB / 452 MB, free: 4.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.4639, allocations: 87.94 kB / 452.1 MB, free: 4.434 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09083/0.5547, allocations: 21.92 MB / 474 MB, free: 14.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.271e-06/0.5548, allocations: 0 / 474 MB, free: 14.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.234e-05/0.5548, allocations: 19.94 kB / 474.1 MB, free: 14.26 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.002624/0.5575, allocations: 1.168 MB / 475.2 MB, free: 13.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.5575, allocations: 12.03 kB / 475.2 MB, free: 13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.5586, allocations: 163.3 kB / 475.4 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004093/0.5627, allocations: 1.199 MB / 476.6 MB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.5628, allocations: 70 kB / 476.7 MB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002083/0.563, allocations: 87.97 kB / 476.7 MB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/0.5658, allocations: 1.249 MB / 478 MB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.965e-05/0.5658, allocations: 7.844 kB / 478 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/0.566, allocations: 46.14 kB / 478 MB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/0.5661, allocations: 53.98 kB / 478.1 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002482/0.5686, allocations: 1.093 MB / 479.2 MB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008619/0.5772, allocations: 4.569 MB / 483.8 MB, free: 4.211 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.579, allocations: 0.7998 MB / 484.6 MB, free: 3.391 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.5803, allocations: 0.6521 MB / 485.2 MB, free: 2.734 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.022e-05/0.5804, allocations: 16.78 kB / 485.2 MB, free: 2.719 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001744/0.5822, allocations: 0.8857 MB / 486.1 MB, free: 1.801 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 5.028e-06/0.5822, allocations: 0 / 486.1 MB, free: 1.801 MB / 410.7 MB Notification: Performance of matching and sorting (n=127): time 0.006709/0.5889, allocations: 3.085 MB / 489.2 MB, free: 14.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001738/0.5891, allocations: 238.5 kB / 489.4 MB, free: 14.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000781/0.5899, allocations: 427.7 kB / 489.9 MB, free: 13.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000162/0.5901, allocations: 57.69 kB / 489.9 MB, free: 13.85 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003814/0.5905, allocations: 426.8 kB / 490.3 MB, free: 13.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004701/0.591, allocations: 386.8 kB / 490.7 MB, free: 13.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.983e-05/0.5911, allocations: 20 kB / 490.7 MB, free: 13.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.5913, allocations: 366.8 kB / 491.1 MB, free: 12.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.5925, allocations: 0.5187 MB / 491.6 MB, free: 12.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.5939, allocations: 0.754 MB / 492.4 MB, free: 11.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.5953, allocations: 0.6599 MB / 493 MB, free: 10.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.5953, allocations: 0 / 493 MB, free: 10.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.005079/0.6004, allocations: 2.013 MB / 495 MB, free: 8.594 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.393e-05/0.6005, allocations: 60.72 kB / 495.1 MB, free: 8.523 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004179/0.6047, allocations: 1.661 MB / 496.7 MB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00262/0.6074, allocations: 0.6527 MB / 497.4 MB, free: 6.203 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007183/0.6081, allocations: 139.7 kB / 497.5 MB, free: 6.066 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/0.6203, allocations: 5.903 MB / 0.4916 GB, free: 28 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008845/0.6212, allocations: 67.84 kB / 0.4917 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.6214, allocations: 43.98 kB / 0.4917 GB, free: 15.92 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.0004359/0.6218, allocations: 274.6 kB / 0.492 GB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/0.6221, allocations: 83.05 kB / 0.4921 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003134/0.6253, allocations: 1.434 MB / 0.4935 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.223e-05/0.6253, allocations: 27.98 kB / 0.4935 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.482e-06/0.6254, allocations: 0 / 0.4935 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.7e-05/0.6254, allocations: 7.938 kB / 0.4935 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006081/0.6315, allocations: 2.799 MB / 0.4963 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/0.6315, allocations: 4.734 kB / 0.4963 GB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001522/0.6331, allocations: 235.8 kB / 0.4965 GB, free: 10.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.708e-05/0.6331, allocations: 4 kB / 0.4965 GB, free: 10.94 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/0.6332, allocations: 27.98 kB / 0.4965 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.224e-05/0.6333, allocations: 7.938 kB / 0.4965 GB, free: 10.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.893e-06/0.6333, allocations: 4 kB / 0.4965 GB, free: 10.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004647/0.6379, allocations: 2.332 MB / 0.4988 GB, free: 8.504 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/0.6383, allocations: 152.1 kB / 0.499 GB, free: 8.336 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.6385, allocations: 37.33 kB / 0.499 GB, free: 8.301 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006477/0.6392, allocations: 51.94 kB / 0.499 GB, free: 8.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003169/0.6395, allocations: 116.5 kB / 0.4991 GB, free: 8.137 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.6396, allocations: 31.98 kB / 0.4992 GB, free: 8.105 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005971/0.6402, allocations: 329.6 kB / 0.4995 GB, free: 7.781 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.3e-07/0.6403, allocations: 0 / 0.4995 GB, free: 7.781 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001366/0.6416, allocations: 328 kB / 0.4998 GB, free: 7.461 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.0004312/0.6421, allocations: 203 kB / 0.5 GB, free: 7.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004073/0.6462, allocations: 1.823 MB / 0.5018 GB, free: 5.395 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.325e-06/0.6462, allocations: 8.062 kB / 0.5018 GB, free: 5.387 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001656/0.6479, allocations: 0.8844 MB / 0.5026 GB, free: 4.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008938/0.6488, allocations: 110.8 kB / 0.5028 GB, free: 4.375 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00448/0.6533, allocations: 1.95 MB / 0.5047 GB, free: 2.383 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.6544, allocations: 1.117 MB / 0.5058 GB, free: 1.234 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004542/0.6549, allocations: 75.42 kB / 0.5058 GB, free: 1.16 MB / 442.7 MB Notification: Performance of SimCode: time 1.898e-06/0.6549, allocations: 0 / 0.5058 GB, free: 1.16 MB / 442.7 MB Notification: Performance of Templates: time 0.02583/0.6807, allocations: 13.81 MB / 0.5193 GB, free: 3.316 MB / 458.7 MB