Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Breaker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.169/2.169, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.414e-05/3.431e-05, allocations: 11.92 kB / 302.3 MB, free: 7.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1065, allocations: 53.23 MB / 355.5 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4303/0.5369, allocations: 93.54 MB / 449.1 MB, free: 8.062 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/0.5372, allocations: 87.95 kB / 449.2 MB, free: 7.977 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04402/0.5813, allocations: 10.02 MB / 459.2 MB, free: 13.87 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5813, allocations: 0 / 459.2 MB, free: 13.87 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.606e-05/0.5814, allocations: 12 kB / 459.2 MB, free: 13.86 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.001658/0.5831, allocations: 0.7263 MB / 459.9 MB, free: 13.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.5831, allocations: 8.031 kB / 459.9 MB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001381/0.5833, allocations: 78.53 kB / 460 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.5834, allocations: 47.44 kB / 460 MB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003342/0.5868, allocations: 0.8787 MB / 460.9 MB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-05/0.5869, allocations: 29.47 kB / 460.9 MB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.891e-05/0.587, allocations: 36 kB / 461 MB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.5881, allocations: 466.4 kB / 461.4 MB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.5881, allocations: 4 kB / 461.4 MB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-05/0.5882, allocations: 16 kB / 461.5 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.5882, allocations: 8 kB / 461.5 MB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009594/0.5892, allocations: 341.4 kB / 461.8 MB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00351/0.5927, allocations: 1.72 MB / 463.5 MB, free: 9.301 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008839/0.5936, allocations: 293.5 kB / 463.8 MB, free: 8.996 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00079/0.5945, allocations: 225.8 kB / 464 MB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.5945, allocations: 4.234 kB / 464 MB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006106/0.5951, allocations: 279.5 kB / 464.3 MB, free: 8.465 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 3.546e-06/0.5951, allocations: 0 / 464.3 MB, free: 8.465 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002695/0.5979, allocations: 1.055 MB / 465.4 MB, free: 7.332 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.867e-05/0.598, allocations: 144.4 kB / 465.5 MB, free: 7.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005562/0.5986, allocations: 319.6 kB / 465.8 MB, free: 6.844 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.327e-05/0.5986, allocations: 29.7 kB / 465.8 MB, free: 6.809 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.5989, allocations: 261.8 kB / 466.1 MB, free: 6.547 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.599, allocations: 114.6 kB / 466.2 MB, free: 6.434 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.5991, allocations: 8 kB / 466.2 MB, free: 6.426 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.5993, allocations: 350.8 kB / 466.6 MB, free: 6.074 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/0.5997, allocations: 129.1 kB / 466.7 MB, free: 5.945 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/0.6001, allocations: 251 kB / 466.9 MB, free: 5.652 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.6006, allocations: 177.1 kB / 467.1 MB, free: 5.473 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.6006, allocations: 4 kB / 467.1 MB, free: 5.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001354/0.602, allocations: 0.519 MB / 467.6 MB, free: 4.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.155e-05/0.602, allocations: 29.7 kB / 467.7 MB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.602, allocations: 4 kB / 467.7 MB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003673/0.6024, allocations: 82.08 kB / 467.7 MB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005101/0.6029, allocations: 75.84 kB / 467.8 MB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003065/0.606, allocations: 2.756 MB / 470.6 MB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005333/0.6066, allocations: 27.94 kB / 470.6 MB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/0.6067, allocations: 20 kB / 470.6 MB, free: 1.664 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.0002264/0.6069, allocations: 165.3 kB / 470.8 MB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.607, allocations: 47.53 kB / 470.8 MB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.6084, allocations: 476.9 kB / 471.3 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.6084, allocations: 4 kB / 471.3 MB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.6084, allocations: 1.688 kB / 471.3 MB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.6084, allocations: 3.984 kB / 471.3 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/0.6108, allocations: 1.021 MB / 472.3 MB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.6108, allocations: 4 kB / 472.3 MB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.6112, allocations: 39.97 kB / 472.4 MB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003808/0.6116, allocations: 85.58 kB / 472.4 MB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.596e-05/0.6117, allocations: 8 kB / 472.5 MB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002983/0.6147, allocations: 2.759 MB / 475.2 MB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.6147, allocations: 0 / 475.2 MB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.6165, allocations: 0.7571 MB / 476 MB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.6167, allocations: 116.6 kB / 476.1 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.854e-05/0.6168, allocations: 19.97 kB / 476.1 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/0.6172, allocations: 24.05 kB / 476.1 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.6174, allocations: 35.95 kB / 476.2 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.6175, allocations: 11.98 kB / 476.2 MB, free: 11.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004403/0.6179, allocations: 250.2 kB / 476.4 MB, free: 11.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6179, allocations: 0 / 476.4 MB, free: 11.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007428/0.6187, allocations: 116 kB / 476.5 MB, free: 11.3 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.002236/0.6209, allocations: 1.468 MB / 478 MB, free: 9.781 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.6224, allocations: 0.6078 MB / 478.6 MB, free: 9.141 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6224, allocations: 0 / 478.6 MB, free: 9.141 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009945/0.6234, allocations: 475.8 kB / 479.1 MB, free: 8.645 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007298/0.6242, allocations: 74.7 kB / 479.1 MB, free: 8.574 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.6267, allocations: 0.8465 MB / 480 MB, free: 7.688 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005969/0.6273, allocations: 0.882 MB / 480.9 MB, free: 6.781 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000446/0.6277, allocations: 75.34 kB / 480.9 MB, free: 6.707 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/0.6281, allocations: 151.4 kB / 481.1 MB, free: 6.559 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.6281, allocations: 0 / 481.1 MB, free: 6.559 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04/0.6681, allocations: 8.882 MB / 490 MB, free: 13.77 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.6683, allocations: 167.8 kB / 490.1 MB, free: 13.55 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/3.138, allocations: 4.062 kB / 490.1 MB, free: 13.54 MB / 426.7 MB