Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker") Notification: Performance of loadModel(PowerSystems): time 2.307/2.307, allocations: 233 MB / 246.1 MB, free: 14.83 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.957e-05/3.961e-05, allocations: 11.94 kB / 302.2 MB, free: 7.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09339/0.09345, allocations: 53.24 MB / 355.4 MB, free: 2.125 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3836/0.4771, allocations: 100.3 MB / 455.7 MB, free: 1.457 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.4774, allocations: 83.95 kB / 455.8 MB, free: 1.375 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08134/0.5588, allocations: 19.48 MB / 475.3 MB, free: 13.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.5588, allocations: 0 / 475.3 MB, free: 13.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.33e-05/0.5589, allocations: 16 kB / 475.3 MB, free: 13.71 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.00279/0.5617, allocations: 1.055 MB / 476.4 MB, free: 12.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.5617, allocations: 8.031 kB / 476.4 MB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.5628, allocations: 140.1 kB / 476.5 MB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003828/0.5667, allocations: 1.019 MB / 477.5 MB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.451e-05/0.5668, allocations: 61.89 kB / 477.6 MB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.567, allocations: 75.98 kB / 477.7 MB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/0.5695, allocations: 1.033 MB / 478.7 MB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.331e-05/0.5696, allocations: 0 / 478.7 MB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.5697, allocations: 37.28 kB / 478.7 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.605e-05/0.5698, allocations: 41.98 kB / 478.8 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.572, allocations: 0.8628 MB / 479.6 MB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008311/0.5803, allocations: 4.135 MB / 483.8 MB, free: 4.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.5821, allocations: 0.6876 MB / 484.5 MB, free: 4.203 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.5832, allocations: 459.7 kB / 484.9 MB, free: 3.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-05/0.5833, allocations: 12.55 kB / 484.9 MB, free: 3.738 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/0.5847, allocations: 0.6493 MB / 485.6 MB, free: 3.062 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 4.211e-06/0.5847, allocations: 0 / 485.6 MB, free: 3.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.005682/0.5904, allocations: 2.297 MB / 487.9 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.5906, allocations: 157.3 kB / 488 MB, free: 0.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007406/0.5913, allocations: 411 kB / 488.4 MB, free: 92 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001709/0.5915, allocations: 46.27 kB / 488.5 MB, free: 40 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000411/0.592, allocations: 371.8 kB / 488.8 MB, free: 15.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003988/0.5924, allocations: 295.9 kB / 489.1 MB, free: 15.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.337e-05/0.5925, allocations: 20 kB / 489.1 MB, free: 15.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002468/0.5927, allocations: 390.7 kB / 489.5 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009269/0.5937, allocations: 390.2 kB / 489.9 MB, free: 14.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.5948, allocations: 0.6011 MB / 490.5 MB, free: 13.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.5959, allocations: 0.4903 MB / 491 MB, free: 13.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.255e-06/0.5959, allocations: 0 / 491 MB, free: 13.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004228/0.6002, allocations: 1.497 MB / 492.5 MB, free: 11.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.814e-05/0.6003, allocations: 33.7 kB / 492.5 MB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00335/0.6036, allocations: 1.175 MB / 493.7 MB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001779/0.6055, allocations: 440.7 kB / 494.1 MB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007579/0.6063, allocations: 131.7 kB / 494.3 MB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/0.6163, allocations: 4.703 MB / 499 MB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009386/0.6173, allocations: 71.89 kB / 499 MB, free: 5.199 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.6175, allocations: 43.98 kB / 499.1 MB, free: 5.156 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 46 (system.initime,$whenCondition1,$PRE.relay.cnt,relay.cnt,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.breaker.breaker_a.arc,breaker.breaker_a.arc,$PRE.breaker.breaker_a.open,breaker.breaker_a.open,breaker.breaker_a.closed,$PRE.breaker.breaker_a.t0,breaker.breaker_a.t0,breaker.breaker_a.opening,$PRE.breaker.breaker_b.arc,breaker.breaker_b.arc,$PRE.breaker.breaker_b.open,breaker.breaker_b.open,breaker.breaker_b.closed,$PRE.breaker.breaker_b.t0,breaker.breaker_b.t0,breaker.breaker_b.opening,$PRE.breaker.breaker_c.arc,breaker.breaker_c.arc,$PRE.breaker.breaker_c.open,breaker.breaker_c.open,breaker.breaker_c.closed,$PRE.breaker.breaker_c.t0,breaker.breaker_c.t0,breaker.breaker_c.opening,$PRE.relay.y[1],relay.y[1],$PRE.relay.y[2],relay.y[2],$PRE.relay.y[3],relay.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 99 * Array equations: 2 * Algorithm blocks: 1 * 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 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.0003689/0.6178, allocations: 214.3 kB / 499.3 MB, free: 4.938 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/0.6181, allocations: 67.16 kB / 499.3 MB, free: 4.871 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00273/0.6208, allocations: 1.152 MB / 0.4888 GB, free: 3.691 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.445e-05/0.6209, allocations: 19.98 kB / 0.4888 GB, free: 3.672 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.6209, allocations: 4 kB / 0.4888 GB, free: 3.668 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.6209, allocations: 3.984 kB / 0.4888 GB, free: 3.664 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005254/0.6262, allocations: 2.213 MB / 0.491 GB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.6263, allocations: 0 / 0.491 GB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009111/0.6272, allocations: 139.8 kB / 0.4911 GB, free: 1.238 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002332/0.6274, allocations: 94.5 kB / 0.4912 GB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/0.6276, allocations: 23.94 kB / 0.4912 GB, free: 1.113 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003872/0.6315, allocations: 3.903 MB / 0.495 GB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.528e-06/0.6315, allocations: 0 / 0.495 GB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004084/0.6356, allocations: 1.821 MB / 0.4968 GB, free: 10.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/0.6359, allocations: 144.3 kB / 0.4969 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/0.6362, allocations: 27.98 kB / 0.497 GB, free: 10.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000685/0.6369, allocations: 55.94 kB / 0.497 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003023/0.6372, allocations: 92.59 kB / 0.4971 GB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.6373, allocations: 31.98 kB / 0.4971 GB, free: 10.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005437/0.6379, allocations: 301.2 kB / 0.4974 GB, free: 10.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.41e-07/0.6379, allocations: 3.938 kB / 0.4974 GB, free: 10.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001466/0.6393, allocations: 279.9 kB / 0.4977 GB, free: 9.992 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 33 (breaker.breaker_c.closed,breaker.breaker_b.closed,breaker.breaker_a.closed,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,breaker.breaker_a.arc,breaker.breaker_a.open,breaker.breaker_a.t0,breaker.breaker_a.opening,breaker.breaker_b.arc,breaker.breaker_b.open,breaker.breaker_b.t0,breaker.breaker_b.opening,breaker.breaker_c.arc,breaker.breaker_c.open,breaker.breaker_c.t0,breaker.breaker_c.opening,relay.y[1],relay.y[2],relay.y[3],relay.cnt,system.initime) * Number of discrete states: 11 (breaker.breaker_a.arc,breaker.breaker_b.arc,breaker.breaker_c.arc,relay.y[3],relay.y[2],relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_c.open,breaker.breaker_a.open,breaker.breaker_b.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 72 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.0004861/0.6399, allocations: 186.2 kB / 0.4979 GB, free: 9.801 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003397/0.6433, allocations: 1.324 MB / 0.4992 GB, free: 8.457 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.477e-06/0.6433, allocations: 0 / 0.4992 GB, free: 8.457 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001813/0.6452, allocations: 0.93 MB / 0.5001 GB, free: 7.484 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008404/0.646, allocations: 102 kB / 0.5002 GB, free: 7.387 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0036/0.6497, allocations: 1.44 MB / 0.5016 GB, free: 5.914 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000977/0.6507, allocations: 1.057 MB / 0.5026 GB, free: 4.832 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008966/0.6516, allocations: 201.7 kB / 0.5028 GB, free: 4.633 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/0.6519, allocations: 59.38 kB / 0.5028 GB, free: 4.574 MB / 442.7 MB Notification: Performance of SimCode: time 2.26e-06/0.6519, allocations: 0 / 0.5028 GB, free: 4.574 MB / 442.7 MB Notification: Performance of Templates: time 0.03003/0.682, allocations: 11.06 MB / 0.5136 GB, free: 9.555 MB / 458.7 MB