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.347/2.347, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.034e-05/4.026e-05, allocations: 4 kB / 304.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3946, allocations: 53.21 MB / 357.6 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.008374/0.4031, allocations: 4.975 MB / 362.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003323/0.4065, allocations: 1.216 MB / 363.8 MB, free: 9.598 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005851/0.4071, allocations: 28.78 kB / 363.8 MB, free: 9.586 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003748/0.4075, allocations: 89.45 kB / 363.9 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.4085, allocations: 237.7 kB / 364.1 MB, free: 9.289 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005424/0.4091, allocations: 138 kB / 364.3 MB, free: 9.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006697/0.4098, allocations: 271.1 kB / 364.5 MB, free: 8.988 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002843/0.4101, allocations: 112.3 kB / 364.6 MB, free: 8.938 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000499/0.4106, allocations: 199 kB / 364.8 MB, free: 8.824 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005805/0.4112, allocations: 223.7 kB / 365 MB, free: 8.703 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.4113, allocations: 16.84 kB / 365.1 MB, free: 8.703 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.088e-05/0.4114, allocations: 15.94 kB / 365.1 MB, free: 8.703 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002606/0.4116, allocations: 167.4 kB / 365.2 MB, free: 8.605 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.4118, allocations: 46.06 kB / 365.3 MB, free: 8.605 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006379/0.4125, allocations: 405.2 kB / 365.7 MB, free: 8.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4125, allocations: 0 / 365.7 MB, free: 8.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4125, allocations: 1.5 kB / 365.7 MB, free: 8.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.4125, allocations: 0 / 365.7 MB, free: 8.34 MB / 298.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.001776/0.4143, allocations: 0.6988 MB / 366.4 MB, free: 7.727 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4144, allocations: 9.562 kB / 366.4 MB, free: 7.727 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.4146, allocations: 50.22 kB / 366.4 MB, free: 7.703 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.4156, allocations: 424.2 kB / 366.8 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.723e-05/0.4157, allocations: 29.11 kB / 366.9 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.4158, allocations: 35.72 kB / 366.9 MB, free: 7.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.417, allocations: 485.8 kB / 367.4 MB, free: 6.992 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.4171, allocations: 1.438 kB / 367.4 MB, free: 6.992 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.942e-05/0.4172, allocations: 16.19 kB / 367.4 MB, free: 6.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001975/0.4174, allocations: 29.28 kB / 367.4 MB, free: 6.969 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.4184, allocations: 366.1 kB / 367.8 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003728/0.4221, allocations: 1.719 MB / 369.5 MB, free: 5.379 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.4232, allocations: 415.5 kB / 369.9 MB, free: 4.973 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.4232, allocations: 4.062 kB / 369.9 MB, free: 4.969 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006614/0.4239, allocations: 285.4 kB / 370.2 MB, free: 4.668 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 3.246e-06/0.424, allocations: 0 / 370.2 MB, free: 4.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.003778/0.4277, allocations: 1.473 MB / 371.7 MB, free: 3.062 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.4279, allocations: 140.5 kB / 371.8 MB, free: 2.895 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005992/0.4285, allocations: 328.8 kB / 372.1 MB, free: 2.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.217e-05/0.4286, allocations: 33.7 kB / 372.2 MB, free: 2.531 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.4288, allocations: 306.4 kB / 372.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.429, allocations: 106.6 kB / 372.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.4291, allocations: 8 kB / 372.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4292, allocations: 330.8 kB / 372.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/0.4296, allocations: 133 kB / 373 MB, free: 1.656 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/0.4301, allocations: 256.1 kB / 373.3 MB, free: 1.359 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004613/0.4306, allocations: 181.3 kB / 373.5 MB, free: 1.176 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.4306, allocations: 4 kB / 373.5 MB, free: 1.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001445/0.4321, allocations: 0.5193 MB / 374 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.425e-05/0.4321, allocations: 34.47 kB / 374 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.4322, allocations: 4 kB / 374 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004109/0.4326, allocations: 90.17 kB / 374.1 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005145/0.4331, allocations: 67.84 kB / 374.2 MB, free: 440 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003354/0.4365, allocations: 2.806 MB / 377 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005899/0.4371, allocations: 36.28 kB / 377 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-05/0.4372, allocations: 23.95 kB / 377 MB, free: 13.29 MB / 314.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,$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,$whenCondition1,$PRE.relay.cnt,relay.cnt) * 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.0004308/0.4376, allocations: 235.2 kB / 377.3 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.473e-05/0.4377, allocations: 43.47 kB / 377.3 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.4391, allocations: 0.489 MB / 377.8 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.4392, allocations: 7.953 kB / 377.8 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.4392, allocations: 3.984 kB / 377.8 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.4392, allocations: 3.984 kB / 377.8 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.4417, allocations: 1.045 MB / 378.9 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.4418, allocations: 4.031 kB / 378.9 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003513/0.4421, allocations: 39.92 kB / 378.9 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004339/0.4426, allocations: 85.55 kB / 379 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/0.4426, allocations: 19.98 kB / 379 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003261/0.4459, allocations: 2.818 MB / 381.8 MB, free: 8.129 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.446, allocations: 0 / 381.8 MB, free: 8.129 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/0.4479, allocations: 0.7989 MB / 382.6 MB, free: 7.285 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.4482, allocations: 108.6 kB / 382.7 MB, free: 7.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.4483, allocations: 15.98 kB / 382.7 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004254/0.4487, allocations: 19.98 kB / 382.8 MB, free: 7.125 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.4489, allocations: 39.88 kB / 382.8 MB, free: 7.086 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/0.449, allocations: 12 kB / 382.8 MB, free: 7.074 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004369/0.4494, allocations: 259.1 kB / 383.1 MB, free: 6.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4494, allocations: 0 / 383.1 MB, free: 6.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007306/0.4502, allocations: 112 kB / 383.2 MB, free: 6.711 MB / 314.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.0002178/0.4504, allocations: 123.1 kB / 383.3 MB, free: 6.582 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.452, allocations: 0.6488 MB / 383.9 MB, free: 5.895 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.452, allocations: 0.9375 kB / 383.9 MB, free: 5.895 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.4531, allocations: 496.7 kB / 384.4 MB, free: 5.371 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007788/0.4539, allocations: 81.45 kB / 384.5 MB, free: 5.293 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.4566, allocations: 1.243 MB / 385.7 MB, free: 4.004 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006123/0.4573, allocations: 0.8742 MB / 386.6 MB, free: 3.102 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/0.4575, allocations: 35.44 kB / 386.7 MB, free: 3.066 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.4575, allocations: 0 / 386.7 MB, free: 3.066 MB / 314.7 MB Notification: Performance of Templates: time 0.01879/0.4763, allocations: 8.848 MB / 395.5 MB, free: 10.23 MB / 330.7 MB