Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.471/2.471, allocations: 233 MB / 246.1 MB, free: 15.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.018e-05/4.027e-05, allocations: 4 kB / 302.3 MB, free: 7.594 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1172, allocations: 53.24 MB / 355.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4649/0.5822, allocations: 93.53 MB / 449.1 MB, free: 8.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003932/0.5826, allocations: 87.95 kB / 449.2 MB, free: 8.094 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05069/0.6333, allocations: 10.02 MB / 459.2 MB, free: 13.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6334, allocations: 0 / 459.2 MB, free: 13.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.103e-05/0.6334, allocations: 11.94 kB / 459.2 MB, free: 13.97 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.002037/0.6355, allocations: 0.7268 MB / 459.9 MB, free: 13.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.6356, allocations: 12.03 kB / 459.9 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002564/0.6358, allocations: 70.53 kB / 460 MB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/0.6361, allocations: 51.42 kB / 460 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00409/0.6402, allocations: 0.8748 MB / 460.9 MB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.481e-05/0.6403, allocations: 32.77 kB / 460.9 MB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.6404, allocations: 36.67 kB / 461 MB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.6417, allocations: 466.4 kB / 461.4 MB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.6418, allocations: 0 / 461.4 MB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.844e-05/0.6418, allocations: 22.05 kB / 461.5 MB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.6419, allocations: 8 kB / 461.5 MB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.643, allocations: 345.3 kB / 461.8 MB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004279/0.6473, allocations: 1.712 MB / 463.5 MB, free: 9.418 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009849/0.6483, allocations: 305.5 kB / 463.8 MB, free: 9.102 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008556/0.6492, allocations: 217.9 kB / 464 MB, free: 8.883 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.6493, allocations: 8.219 kB / 464 MB, free: 8.875 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006865/0.65, allocations: 275.5 kB / 464.3 MB, free: 8.578 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 3.577e-06/0.65, allocations: 4 kB / 464.3 MB, free: 8.574 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.003089/0.6531, allocations: 1.051 MB / 465.4 MB, free: 7.445 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.6533, allocations: 144.4 kB / 465.5 MB, free: 7.273 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006405/0.654, allocations: 319.6 kB / 465.8 MB, free: 6.957 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.6541, allocations: 33.7 kB / 465.8 MB, free: 6.918 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/0.6544, allocations: 260 kB / 466.1 MB, free: 6.656 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002247/0.6546, allocations: 106.5 kB / 466.2 MB, free: 6.551 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.6547, allocations: 12 kB / 466.2 MB, free: 6.539 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.6549, allocations: 350.8 kB / 466.6 MB, free: 6.188 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004108/0.6553, allocations: 129.1 kB / 466.7 MB, free: 6.059 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004774/0.6558, allocations: 251 kB / 466.9 MB, free: 5.766 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004807/0.6563, allocations: 177.1 kB / 467.1 MB, free: 5.586 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.6563, allocations: 9.875 kB / 467.1 MB, free: 5.578 MB / 394.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001521/0.6579, allocations: 0.5151 MB / 467.6 MB, free: 5.043 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.406e-05/0.658, allocations: 38.16 kB / 467.7 MB, free: 5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.658, allocations: 4 kB / 467.7 MB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004112/0.6584, allocations: 81.62 kB / 467.7 MB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005968/0.659, allocations: 67.89 kB / 467.8 MB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003459/0.6625, allocations: 2.756 MB / 470.6 MB, free: 1.824 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006262/0.6632, allocations: 27.98 kB / 470.6 MB, free: 1.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.248e-05/0.6633, allocations: 19.95 kB / 470.6 MB, free: 1.777 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.0002708/0.6636, allocations: 170.7 kB / 470.8 MB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.6637, allocations: 43.44 kB / 470.8 MB, free: 1.555 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.6652, allocations: 465 kB / 471.3 MB, free: 1.082 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.6653, allocations: 7.953 kB / 471.3 MB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6653, allocations: 0 / 471.3 MB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.6653, allocations: 4 kB / 471.3 MB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/0.6681, allocations: 1.029 MB / 472.3 MB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.6682, allocations: 4 kB / 472.3 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003886/0.6686, allocations: 31.98 kB / 472.4 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004301/0.6691, allocations: 85.58 kB / 472.4 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-05/0.6692, allocations: 16.02 kB / 472.5 MB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003492/0.6727, allocations: 2.759 MB / 475.2 MB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/0.6727, allocations: 4.031 kB / 475.2 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.6747, allocations: 0.7532 MB / 476 MB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/0.675, allocations: 120.6 kB / 476.1 MB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.6751, allocations: 8 kB / 476.1 MB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004651/0.6756, allocations: 32.03 kB / 476.1 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.6758, allocations: 31.95 kB / 476.2 MB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.133e-05/0.6758, allocations: 8 kB / 476.2 MB, free: 11.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004827/0.6763, allocations: 254.1 kB / 476.4 MB, free: 11.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6763, allocations: 0 / 476.4 MB, free: 11.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000859/0.6772, allocations: 116 kB / 476.5 MB, free: 11.42 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.002531/0.6798, allocations: 1.461 MB / 478 MB, free: 9.902 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.6814, allocations: 0.6125 MB / 478.6 MB, free: 9.258 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.6815, allocations: 0 / 478.6 MB, free: 9.258 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.6826, allocations: 478.8 kB / 479.1 MB, free: 8.758 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008575/0.6835, allocations: 83.97 kB / 479.2 MB, free: 8.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.6864, allocations: 0.8412 MB / 480 MB, free: 7.797 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006921/0.6872, allocations: 0.882 MB / 480.9 MB, free: 6.891 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005058/0.6877, allocations: 71.34 kB / 480.9 MB, free: 6.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003514/0.6881, allocations: 155.4 kB / 481.1 MB, free: 6.668 MB / 410.7 MB Notification: Performance of SimCode: time 1.342e-06/0.6881, allocations: 0 / 481.1 MB, free: 6.668 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0462/0.7343, allocations: 8.895 MB / 490 MB, free: 13.86 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000387/0.7348, allocations: 175.4 kB / 490.2 MB, free: 13.64 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.849/3.583, allocations: 3.938 kB / 490.2 MB, free: 13.64 MB / 426.7 MB