Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Breaker") Notification: Performance of loadModel(PowerSystems): time 2.213/2.213, allocations: 233 MB / 246.1 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.235e-05, allocations: 0 / 302.2 MB, free: 7.492 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09451/0.09457, allocations: 53.24 MB / 355.4 MB, free: 2.141 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3797/0.4743, allocations: 100.3 MB / 455.7 MB, free: 1.469 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.4746, allocations: 87.95 kB / 455.8 MB, free: 1.383 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08133/0.556, allocations: 19.48 MB / 475.3 MB, free: 13.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.556, allocations: 0 / 475.3 MB, free: 13.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.682e-05/0.5561, allocations: 19.47 kB / 475.3 MB, free: 13.72 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.002469/0.5585, allocations: 1.051 MB / 476.4 MB, free: 12.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.5586, allocations: 16.03 kB / 476.4 MB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008745/0.5595, allocations: 136.1 kB / 476.5 MB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003447/0.563, allocations: 1.019 MB / 477.5 MB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.5631, allocations: 69.88 kB / 477.6 MB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/0.5633, allocations: 68 kB / 477.7 MB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/0.5655, allocations: 1.033 MB / 478.7 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.5656, allocations: 0 / 478.7 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/0.5657, allocations: 39.97 kB / 478.7 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-05/0.5658, allocations: 42 kB / 478.8 MB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002001/0.5678, allocations: 0.8628 MB / 479.6 MB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00732/0.5752, allocations: 4.131 MB / 483.8 MB, free: 4.922 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.5768, allocations: 0.6876 MB / 484.5 MB, free: 4.215 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009369/0.5778, allocations: 458.5 kB / 484.9 MB, free: 3.766 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-05/0.5779, allocations: 16.55 kB / 484.9 MB, free: 3.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001322/0.5792, allocations: 0.6416 MB / 485.6 MB, free: 3.082 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 4.431e-06/0.5792, allocations: 0 / 485.6 MB, free: 3.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.005449/0.5847, allocations: 2.301 MB / 487.9 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.5849, allocations: 153.3 kB / 488 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007009/0.5856, allocations: 407 kB / 488.4 MB, free: 116 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.5857, allocations: 49.7 kB / 488.5 MB, free: 60 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004576/0.5862, allocations: 375.9 kB / 488.8 MB, free: 15.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003631/0.5865, allocations: 295.9 kB / 489.1 MB, free: 15.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.832e-05/0.5866, allocations: 20 kB / 489.1 MB, free: 15.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002462/0.5869, allocations: 386.7 kB / 489.5 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009128/0.5878, allocations: 394.2 kB / 489.9 MB, free: 14.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.589, allocations: 0.5921 MB / 490.5 MB, free: 13.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.5901, allocations: 0.4942 MB / 491 MB, free: 13.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.631e-06/0.5901, allocations: 0 / 491 MB, free: 13.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004113/0.5942, allocations: 1.493 MB / 492.5 MB, free: 11.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.899e-05/0.5943, allocations: 34.23 kB / 492.5 MB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003268/0.5976, allocations: 1.183 MB / 493.7 MB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001739/0.5994, allocations: 436.5 kB / 494.1 MB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007532/0.6001, allocations: 139.7 kB / 494.3 MB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009997/0.6102, allocations: 4.692 MB / 498.9 MB, free: 5.293 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009009/0.6111, allocations: 75.89 kB / 499 MB, free: 5.219 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.6113, allocations: 47.91 kB / 499.1 MB, free: 5.172 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.0003613/0.6116, allocations: 226.4 kB / 499.3 MB, free: 4.941 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.6119, allocations: 67.16 kB / 499.4 MB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002757/0.6146, allocations: 1.148 MB / 0.4888 GB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.674e-05/0.6147, allocations: 19.98 kB / 0.4888 GB, free: 3.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.514e-06/0.6147, allocations: 0 / 0.4888 GB, free: 3.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.6148, allocations: 7.984 kB / 0.4888 GB, free: 3.672 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005198/0.62, allocations: 2.213 MB / 0.491 GB, free: 1.383 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.149e-06/0.62, allocations: 3.938 kB / 0.491 GB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009261/0.621, allocations: 131.8 kB / 0.4911 GB, free: 1.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002317/0.6212, allocations: 94.48 kB / 0.4912 GB, free: 1.148 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.038e-05/0.6213, allocations: 20 kB / 0.4912 GB, free: 1.129 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004255/0.6256, allocations: 3.903 MB / 0.495 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.6256, allocations: 0 / 0.495 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004083/0.6297, allocations: 1.825 MB / 0.4968 GB, free: 10.94 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002775/0.6301, allocations: 144.3 kB / 0.4969 GB, free: 10.78 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.6302, allocations: 27.98 kB / 0.497 GB, free: 10.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006685/0.6309, allocations: 63.94 kB / 0.497 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/0.6312, allocations: 84.59 kB / 0.4971 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.6313, allocations: 27.98 kB / 0.4971 GB, free: 10.58 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005577/0.6319, allocations: 309.2 kB / 0.4974 GB, free: 10.28 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.08e-07/0.6319, allocations: 3.938 kB / 0.4974 GB, free: 10.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0013/0.6332, allocations: 275.9 kB / 0.4977 GB, free: 10 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.0003962/0.6336, allocations: 182.1 kB / 0.4979 GB, free: 9.816 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003039/0.6367, allocations: 1.328 MB / 0.4992 GB, free: 8.469 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.6367, allocations: 0 / 0.4992 GB, free: 8.469 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001628/0.6383, allocations: 0.9255 MB / 0.5001 GB, free: 7.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007917/0.6392, allocations: 110.7 kB / 0.5002 GB, free: 7.395 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003436/0.6426, allocations: 1.451 MB / 0.5016 GB, free: 5.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009733/0.6436, allocations: 1.049 MB / 0.5026 GB, free: 4.836 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008839/0.6445, allocations: 193.8 kB / 0.5028 GB, free: 4.645 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/0.6448, allocations: 59.38 kB / 0.5028 GB, free: 4.586 MB / 442.7 MB Notification: Performance of SimCode: time 2.158e-06/0.6449, allocations: 0 / 0.5028 GB, free: 4.586 MB / 442.7 MB Notification: Performance of Templates: time 0.02902/0.6739, allocations: 11.07 MB / 0.5137 GB, free: 9.555 MB / 458.7 MB