Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Breaker") Notification: Performance of loadModel(PowerSystems): time 2.118/2.118, allocations: 233 MB / 245.6 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.006e-05/3.028e-05, allocations: 8 kB / 301.3 MB, free: 7.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08813/0.08818, allocations: 53.25 MB / 354.5 MB, free: 2.621 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3758/0.464, allocations: 100.3 MB / 454.8 MB, free: 1.762 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.4644, allocations: 92.56 kB / 454.9 MB, free: 1.672 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07783/0.5422, allocations: 19.48 MB / 474.3 MB, free: 14.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5423, allocations: 4 kB / 474.3 MB, free: 14.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.273e-05/0.5423, allocations: 20.64 kB / 474.4 MB, free: 14 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.002422/0.5448, allocations: 1.047 MB / 475.4 MB, free: 12.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.5448, allocations: 11.97 kB / 475.4 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008389/0.5457, allocations: 144.2 kB / 475.6 MB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003243/0.5489, allocations: 1.019 MB / 476.6 MB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.129e-05/0.549, allocations: 65.94 kB / 476.7 MB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.5492, allocations: 72 kB / 476.7 MB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.5514, allocations: 1.03 MB / 477.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/0.5515, allocations: 3.938 kB / 477.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.5516, allocations: 36 kB / 477.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.868e-05/0.5517, allocations: 41.98 kB / 477.8 MB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00198/0.5537, allocations: 0.8628 MB / 478.7 MB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006925/0.5606, allocations: 4.131 MB / 482.8 MB, free: 5.211 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.5622, allocations: 0.6891 MB / 483.5 MB, free: 4.504 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008925/0.5631, allocations: 454.5 kB / 484 MB, free: 4.059 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.03e-05/0.5632, allocations: 16.55 kB / 484 MB, free: 4.043 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001279/0.5645, allocations: 0.6454 MB / 484.6 MB, free: 3.371 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 4.45e-06/0.5645, allocations: 0 / 484.6 MB, free: 3.371 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.005171/0.5697, allocations: 2.305 MB / 486.9 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.5698, allocations: 153.2 kB / 487.1 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006698/0.5705, allocations: 403 kB / 487.5 MB, free: 412 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.432e-05/0.5706, allocations: 49.7 kB / 487.5 MB, free: 356 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003637/0.571, allocations: 410.3 kB / 487.9 MB, free: 15.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/0.5713, allocations: 299.9 kB / 488.2 MB, free: 15.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.339e-05/0.5714, allocations: 24.03 kB / 488.2 MB, free: 15.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.5716, allocations: 354.8 kB / 488.6 MB, free: 15.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008766/0.5725, allocations: 394.2 kB / 489 MB, free: 14.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.5736, allocations: 0.5933 MB / 489.6 MB, free: 14.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.5747, allocations: 0.4907 MB / 490 MB, free: 13.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.823e-06/0.5747, allocations: 4 kB / 490.1 MB, free: 13.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003923/0.5786, allocations: 1.47 MB / 491.5 MB, free: 12.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.032e-05/0.5787, allocations: 33.7 kB / 491.6 MB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003129/0.5819, allocations: 1.184 MB / 492.7 MB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001714/0.5836, allocations: 432.5 kB / 493.2 MB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006747/0.5843, allocations: 139.7 kB / 493.3 MB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009609/0.5939, allocations: 4.703 MB / 498 MB, free: 5.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008742/0.5948, allocations: 75.89 kB / 498.1 MB, free: 5.516 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.595, allocations: 47.92 kB / 498.1 MB, free: 5.469 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.0003463/0.5953, allocations: 218.5 kB / 498.3 MB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.5955, allocations: 67.16 kB / 498.4 MB, free: 5.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00264/0.5982, allocations: 1.144 MB / 499.5 MB, free: 4.008 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.474e-05/0.5983, allocations: 23.98 kB / 499.6 MB, free: 3.984 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.613e-06/0.5983, allocations: 8 kB / 499.6 MB, free: 3.977 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.5983, allocations: 3.984 kB / 499.6 MB, free: 3.973 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00482/0.6031, allocations: 2.208 MB / 0.49 GB, free: 1.688 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-06/0.6032, allocations: 0 / 0.49 GB, free: 1.688 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008894/0.6041, allocations: 135.8 kB / 0.4902 GB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002176/0.6043, allocations: 94.56 kB / 0.4902 GB, free: 1.453 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.309e-05/0.6044, allocations: 23.97 kB / 0.4903 GB, free: 1.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003708/0.6081, allocations: 3.899 MB / 0.4941 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.768e-06/0.6082, allocations: 3.984 kB / 0.4941 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003765/0.612, allocations: 1.821 MB / 0.4959 GB, free: 11.24 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002207/0.6122, allocations: 140.3 kB / 0.496 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.6124, allocations: 27.98 kB / 0.496 GB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006436/0.613, allocations: 63.94 kB / 0.4961 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/0.6133, allocations: 84.59 kB / 0.4962 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.6134, allocations: 31.98 kB / 0.4962 GB, free: 10.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005174/0.6139, allocations: 309.1 kB / 0.4965 GB, free: 10.58 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.58e-07/0.614, allocations: 0 / 0.4965 GB, free: 10.58 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001207/0.6152, allocations: 279.9 kB / 0.4968 GB, free: 10.3 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.0003674/0.6156, allocations: 182.1 kB / 0.4969 GB, free: 10.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002874/0.6185, allocations: 1.32 MB / 0.4982 GB, free: 8.781 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.275e-06/0.6185, allocations: 3.938 kB / 0.4982 GB, free: 8.777 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001541/0.62, allocations: 0.9254 MB / 0.4991 GB, free: 7.809 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006566/0.6207, allocations: 102.7 kB / 0.4992 GB, free: 7.711 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/0.624, allocations: 1.512 MB / 0.5007 GB, free: 6.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009332/0.6249, allocations: 1.061 MB / 0.5017 GB, free: 5.074 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003346/0.6253, allocations: 63.38 kB / 0.5018 GB, free: 5.012 MB / 442.7 MB Notification: Performance of SimCode: time 1.702e-06/0.6253, allocations: 0 / 0.5018 GB, free: 5.012 MB / 442.7 MB Notification: Performance of Templates: time 0.02607/0.6514, allocations: 15.91 MB / 0.5173 GB, free: 5.098 MB / 458.7 MB