Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") Notification: Performance of loadModel(PowerSystems): time 2.259/2.259, allocations: 233 MB / 245.6 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.593e-05/4.619e-05, allocations: 4 kB / 301.3 MB, free: 7.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09988/0.09996, allocations: 53.25 MB / 354.5 MB, free: 2.617 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3681/0.4681, allocations: 93.54 MB / 448 MB, free: 8.512 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.4685, allocations: 87.95 kB / 448.1 MB, free: 8.426 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04257/0.5111, allocations: 10.02 MB / 458.1 MB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.141e-06/0.5111, allocations: 0 / 458.1 MB, free: 14.31 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.791e-05/0.5112, allocations: 8 kB / 458.2 MB, free: 14.3 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.00145/0.5126, allocations: 0.7182 MB / 458.9 MB, free: 13.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.5127, allocations: 8.031 kB / 458.9 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.5128, allocations: 55.44 kB / 458.9 MB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002997/0.5159, allocations: 0.8671 MB / 459.8 MB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.558e-05/0.5159, allocations: 28.78 kB / 459.8 MB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-05/0.516, allocations: 40.67 kB / 459.9 MB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.5171, allocations: 466.4 kB / 460.3 MB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.5171, allocations: 3.938 kB / 460.3 MB, free: 12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.073e-05/0.5172, allocations: 16 kB / 460.3 MB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.5172, allocations: 8 kB / 460.4 MB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008368/0.5181, allocations: 341.4 kB / 460.7 MB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003292/0.5214, allocations: 1.716 MB / 462.4 MB, free: 9.844 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008178/0.5222, allocations: 306.1 kB / 462.7 MB, free: 9.527 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006492/0.5229, allocations: 221.9 kB / 462.9 MB, free: 9.305 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.523, allocations: 4.234 kB / 462.9 MB, free: 9.301 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005628/0.5235, allocations: 279.4 kB / 463.2 MB, free: 9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 3.904e-06/0.5236, allocations: 0 / 463.2 MB, free: 9 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002551/0.5261, allocations: 1.051 MB / 464.2 MB, free: 7.871 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.5263, allocations: 144.9 kB / 464.4 MB, free: 7.699 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005311/0.5268, allocations: 319.7 kB / 464.7 MB, free: 7.383 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.145e-05/0.5269, allocations: 37.7 kB / 464.7 MB, free: 7.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.5272, allocations: 302.4 kB / 465 MB, free: 7.039 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.5273, allocations: 110.5 kB / 465.1 MB, free: 6.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.5274, allocations: 12 kB / 465.2 MB, free: 6.918 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.5276, allocations: 324.3 kB / 465.5 MB, free: 6.594 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003294/0.5279, allocations: 129.1 kB / 465.6 MB, free: 6.465 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000428/0.5283, allocations: 247 kB / 465.8 MB, free: 6.176 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003934/0.5288, allocations: 185.1 kB / 466 MB, free: 5.988 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.925e-06/0.5288, allocations: 0 / 466 MB, free: 5.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001205/0.53, allocations: 0.5002 MB / 466.5 MB, free: 5.469 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.017e-05/0.5301, allocations: 37.77 kB / 466.6 MB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.5301, allocations: 4 kB / 466.6 MB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003504/0.5304, allocations: 73.67 kB / 466.6 MB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/0.5309, allocations: 67.84 kB / 466.7 MB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/0.5339, allocations: 2.756 MB / 469.5 MB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004699/0.5344, allocations: 27.98 kB / 469.5 MB, free: 2.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/0.5345, allocations: 19.95 kB / 469.5 MB, free: 2.211 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 18 (system.initime,$whenCondition1,$PRE.relay.cnt,relay.cnt,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.relay.y[1],relay.y[1],$PRE.breaker.breaker_1.arc,breaker.breaker_1.arc,$PRE.breaker.breaker_1.open,breaker.breaker_1.open,breaker.breaker_1.closed,$PRE.breaker.breaker_1.t0,breaker.breaker_1.t0,breaker.breaker_1.opening) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002386/0.5348, allocations: 174.6 kB / 469.7 MB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.5349, allocations: 39.53 kB / 469.7 MB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.5361, allocations: 468.9 kB / 470.2 MB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.5361, allocations: 9.172 kB / 470.2 MB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.017e-06/0.5361, allocations: 4 kB / 470.2 MB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.5361, allocations: 3.984 kB / 470.2 MB, free: 1.496 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.5383, allocations: 1.025 MB / 471.2 MB, free: 408 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.346e-06/0.5383, allocations: 0 / 471.2 MB, free: 408 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.5386, allocations: 39.92 kB / 471.2 MB, free: 368 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003458/0.5389, allocations: 85.66 kB / 471.3 MB, free: 276 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.48e-05/0.539, allocations: 8 kB / 471.3 MB, free: 268 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002932/0.542, allocations: 2.748 MB / 474.1 MB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.656e-06/0.542, allocations: 8.188 kB / 474.1 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/0.5436, allocations: 0.7569 MB / 474.9 MB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.5438, allocations: 112.6 kB / 475 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.906e-05/0.5439, allocations: 23.98 kB / 475 MB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/0.5443, allocations: 24.64 kB / 475 MB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.5444, allocations: 31.95 kB / 475 MB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/0.5445, allocations: 11.98 kB / 475.1 MB, free: 12.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004058/0.5449, allocations: 250.2 kB / 475.3 MB, free: 11.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.03e-07/0.5449, allocations: 0 / 475.3 MB, free: 11.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007171/0.5456, allocations: 120 kB / 475.4 MB, free: 11.85 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 13 (breaker.breaker_1.closed,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,relay.y[1],relay.cnt,breaker.breaker_1.arc,breaker.breaker_1.open,breaker.breaker_1.t0,breaker.breaker_1.opening,system.initime) * Number of discrete states: 5 (breaker.breaker_1.arc,relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_1.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.000238/0.5459, allocations: 135.1 kB / 475.5 MB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.5472, allocations: 0.6142 MB / 476.2 MB, free: 11.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.344e-06/0.5472, allocations: 0 / 476.2 MB, free: 11.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008566/0.5481, allocations: 466.8 kB / 476.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005884/0.5487, allocations: 92.06 kB / 476.7 MB, free: 10.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.5505, allocations: 0.763 MB / 477.5 MB, free: 9.691 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006547/0.5512, allocations: 0.8781 MB / 478.3 MB, free: 8.789 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.5514, allocations: 39.44 kB / 478.4 MB, free: 8.75 MB / 410.7 MB Notification: Performance of SimCode: time 1.919e-06/0.5514, allocations: 0 / 478.4 MB, free: 8.75 MB / 410.7 MB Notification: Performance of Templates: time 0.01557/0.567, allocations: 8.863 MB / 487.2 MB, free: 15.89 MB / 426.7 MB