Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.Tline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline") Notification: Performance of loadModel(PowerSystems): time 2.17/2.17, allocations: 233 MB / 245.6 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.579e-05/3.59e-05, allocations: 7.938 kB / 301.3 MB, free: 7.973 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08901/0.08906, allocations: 53.24 MB / 354.5 MB, free: 2.617 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3851/0.4742, allocations: 102.5 MB / 457 MB, free: 15.55 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.4745, allocations: 87.94 kB / 457.1 MB, free: 15.47 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1184/0.5929, allocations: 29.51 MB / 486.6 MB, free: 1.707 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.8e-06/0.593, allocations: 0 / 486.6 MB, free: 1.707 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.862e-05/0.5931, allocations: 27.98 kB / 486.6 MB, free: 1.68 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003843/0.5969, allocations: 1.521 MB / 488.1 MB, free: 76 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.597, allocations: 8.031 kB / 488.1 MB, free: 68 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.5987, allocations: 230.5 kB / 488.4 MB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005815/0.6046, allocations: 1.611 MB / 490 MB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.6047, allocations: 95.72 kB / 490.1 MB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003267/0.6051, allocations: 107.9 kB / 490.2 MB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003628/0.6087, allocations: 1.631 MB / 491.8 MB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.914e-05/0.6088, allocations: 3.938 kB / 491.8 MB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001884/0.609, allocations: 43.98 kB / 491.8 MB, free: 12.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002553/0.6092, allocations: 65.97 kB / 491.9 MB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003275/0.6125, allocations: 1.406 MB / 493.3 MB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02139/0.6339, allocations: 8.004 MB / 0.4896 GB, free: 2.586 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003021/0.637, allocations: 1.52 MB / 0.4911 GB, free: 1.043 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002325/0.6394, allocations: 1.213 MB / 0.4922 GB, free: 15.83 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001264/0.6395, allocations: 20.92 kB / 0.4923 GB, free: 15.81 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003475/0.643, allocations: 1.764 MB / 0.494 GB, free: 14.01 MB / 442.7 MB Notification: Performance of pre-optimization done (n=177): time 5.652e-06/0.643, allocations: 0 / 0.494 GB, free: 14.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=178): time 0.02656/0.6696, allocations: 8.107 MB / 0.5019 GB, free: 5.781 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002092/0.6699, allocations: 242.9 kB / 0.5021 GB, free: 5.492 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.6711, allocations: 0.5854 MB / 0.5027 GB, free: 4.898 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003861/0.6715, allocations: 69.67 kB / 0.5028 GB, free: 4.824 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004804/0.6719, allocations: 499.3 kB / 0.5032 GB, free: 4.332 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008253/0.6728, allocations: 0.5911 MB / 0.5038 GB, free: 3.734 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.673, allocations: 35.98 kB / 0.5039 GB, free: 3.699 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002537/0.6733, allocations: 398.6 kB / 0.5042 GB, free: 3.301 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002658/0.6759, allocations: 1.25 MB / 0.5055 GB, free: 2.051 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002923/0.6789, allocations: 1.514 MB / 0.5069 GB, free: 468 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002963/0.6819, allocations: 1.415 MB / 0.5083 GB, free: 15.03 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.559e-06/0.6819, allocations: 8 kB / 0.5083 GB, free: 15.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.02964/0.7116, allocations: 7.519 MB / 0.5157 GB, free: 7.473 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.962e-05/0.7117, allocations: 63.39 kB / 0.5157 GB, free: 7.398 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02351/0.7352, allocations: 6.137 MB / 0.5217 GB, free: 1.254 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2788/1.014, allocations: 7.274 MB / 0.5288 GB, free: 123.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009004/1.015, allocations: 159 kB / 0.529 GB, free: 123.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04994/1.065, allocations: 23.42 MB / 0.5518 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/1.067, allocations: 174.8 kB / 0.552 GB, free: 119.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004701/1.067, allocations: 190.2 kB / 0.5522 GB, free: 119.6 MB / 458.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: 91 (system.initime,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.breaker1.breaker_a.arc,breaker1.breaker_a.arc,$PRE.breaker1.breaker_a.open,breaker1.breaker_a.open,breaker1.breaker_a.closed,$PRE.breaker1.breaker_a.t0,breaker1.breaker_a.t0,breaker1.breaker_a.opening,$PRE.breaker1.breaker_b.arc,breaker1.breaker_b.arc,$PRE.breaker1.breaker_b.open,breaker1.breaker_b.open,breaker1.breaker_b.closed,$PRE.breaker1.breaker_b.t0,breaker1.breaker_b.t0,breaker1.breaker_b.opening,$PRE.breaker1.breaker_c.arc,breaker1.breaker_c.arc,$PRE.breaker1.breaker_c.open,breaker1.breaker_c.open,breaker1.breaker_c.closed,$PRE.breaker1.breaker_c.t0,breaker1.breaker_c.t0,breaker1.breaker_c.opening,$PRE.breaker2.breaker_a.arc,breaker2.breaker_a.arc,$PRE.breaker2.breaker_a.open,breaker2.breaker_a.open,breaker2.breaker_a.closed,$PRE.breaker2.breaker_a.t0,breaker2.breaker_a.t0,breaker2.breaker_a.opening,$PRE.breaker2.breaker_b.arc,breaker2.breaker_b.arc,$PRE.breaker2.breaker_b.open,breaker2.breaker_b.open,breaker2.breaker_b.closed,$PRE.breaker2.breaker_b.t0,breaker2.breaker_b.t0,breaker2.breaker_b.opening,$PRE.breaker2.breaker_c.arc,breaker2.breaker_c.arc,$PRE.breaker2.breaker_c.open,breaker2.breaker_c.open,breaker2.breaker_c.closed,$PRE.breaker2.breaker_c.t0,breaker2.breaker_c.t0,breaker2.breaker_c.opening,$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 (158): * Single equations (assignments): 152 * 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: 0 * Non-linear torn systems: 1 {27 48} Notification: Performance of prepare postOptimizeDAE: time 0.0006393/1.068, allocations: 310.2 kB / 0.5525 GB, free: 119.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004537/1.068, allocations: 115.8 kB / 0.5526 GB, free: 119.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02114/1.09, allocations: 5.515 MB / 0.558 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-05/1.09, allocations: 36.42 kB / 0.558 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/1.09, allocations: 0 / 0.558 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.664e-05/1.09, allocations: 9.984 kB / 0.558 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02725/1.117, allocations: 8.077 MB / 0.5659 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.662e-05/1.117, allocations: 0 / 0.5659 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009676/1.118, allocations: 155.3 kB / 0.5661 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03537/1.153, allocations: 8.154 MB / 0.574 GB, free: 114.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006314/1.154, allocations: 264.7 kB / 0.5743 GB, free: 114.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02497/1.179, allocations: 21.47 MB / 0.5953 GB, free: 94.05 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/1.179, allocations: 4 kB / 0.5953 GB, free: 94.04 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02079/1.2, allocations: 6.736 MB / 0.6018 GB, free: 87.77 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000387/1.2, allocations: 187.7 kB / 0.602 GB, free: 87.56 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006918/1.201, allocations: 229.9 kB / 0.6022 GB, free: 87.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/1.203, allocations: 144.7 kB / 0.6024 GB, free: 87.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008404/1.203, allocations: 264.9 kB / 0.6026 GB, free: 86.94 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003646/1.204, allocations: 201.9 kB / 0.6028 GB, free: 86.75 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000697/1.205, allocations: 455.1 kB / 0.6032 GB, free: 86.31 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.69e-07/1.205, allocations: 0 / 0.6032 GB, free: 86.31 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002739/1.207, allocations: 0.6878 MB / 0.6039 GB, free: 85.63 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 65 (breaker1.breaker_c.closed,breaker1.breaker_b.closed,breaker1.breaker_a.closed,breaker2.breaker_b.closed,breaker2.breaker_a.closed,breaker2.breaker_c.closed,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,breaker1.breaker_a.arc,breaker1.breaker_a.open,breaker1.breaker_a.t0,breaker1.breaker_a.opening,breaker1.breaker_b.arc,breaker1.breaker_b.open,breaker1.breaker_b.t0,breaker1.breaker_b.opening,breaker1.breaker_c.arc,breaker1.breaker_c.open,breaker1.breaker_c.t0,breaker1.breaker_c.opening,breaker2.breaker_a.arc,breaker2.breaker_a.open,breaker2.breaker_a.t0,breaker2.breaker_a.opening,breaker2.breaker_b.arc,breaker2.breaker_b.open,breaker2.breaker_b.t0,breaker2.breaker_b.opening,breaker2.breaker_c.arc,breaker2.breaker_c.open,breaker2.breaker_c.t0,breaker2.breaker_c.opening,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: 22 (breaker1.breaker_a.arc,breaker1.breaker_b.arc,breaker1.breaker_c.arc,breaker2.breaker_a.arc,breaker2.breaker_b.arc,breaker2.breaker_c.arc,relay2.y[3],relay2.y[2],relay2.y[1],relay2.cnt,$whenCondition2,relay1.y[3],relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,breaker2.breaker_a.open,breaker2.breaker_c.open,breaker2.breaker_b.open,breaker1.breaker_b.open,breaker1.breaker_c.open,breaker1.breaker_a.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 106 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {12,9} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005601/1.208, allocations: 261.4 kB / 0.6042 GB, free: 85.38 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008797/1.217, allocations: 4.021 MB / 0.6081 GB, free: 81.34 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.546e-06/1.217, allocations: 0 / 0.6081 GB, free: 81.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005929/1.223, allocations: 3.074 MB / 0.6111 GB, free: 78.16 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/1.224, allocations: 184.2 kB / 0.6113 GB, free: 77.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008303/1.232, allocations: 4.622 MB / 0.6158 GB, free: 73.47 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009477/1.233, allocations: 1.322 MB / 0.6171 GB, free: 72.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005772/1.234, allocations: 91.42 kB / 0.6172 GB, free: 72.03 MB / 458.7 MB Notification: Performance of SimCode: time 1.617e-06/1.234, allocations: 0 / 0.6172 GB, free: 72.03 MB / 458.7 MB Notification: Performance of Templates: time 0.05719/1.291, allocations: 45.24 MB / 0.6613 GB, free: 26.95 MB / 458.7 MB