Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Breaker,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Breaker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.456/2.456, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.442e-05/4.448e-05, allocations: 3.938 kB / 302.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1342, allocations: 53.24 MB / 355.5 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5737/0.708, allocations: 100.3 MB / 455.8 MB, free: 1.379 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003356/0.7084, allocations: 91.94 kB / 455.9 MB, free: 1.289 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09504/0.8034, allocations: 19.48 MB / 475.4 MB, free: 13.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.8035, allocations: 0 / 475.4 MB, free: 13.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.552e-05/0.8035, allocations: 16 kB / 475.4 MB, free: 13.62 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.003363/0.8069, allocations: 1.055 MB / 476.5 MB, free: 12.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.807, allocations: 15.97 kB / 476.5 MB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003034/0.8073, allocations: 126.9 kB / 476.6 MB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.8085, allocations: 136.2 kB / 476.7 MB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004364/0.8129, allocations: 1.027 MB / 477.8 MB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.8131, allocations: 61.98 kB / 477.8 MB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002279/0.8133, allocations: 75.92 kB / 477.9 MB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002771/0.8161, allocations: 1.025 MB / 478.9 MB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.457e-05/0.8162, allocations: 7.938 kB / 478.9 MB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.8163, allocations: 37.84 kB / 479 MB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/0.8165, allocations: 45.98 kB / 479 MB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002533/0.819, allocations: 0.8589 MB / 479.9 MB, free: 8.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01079/0.8298, allocations: 4.131 MB / 484 MB, free: 4.684 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002515/0.8324, allocations: 0.6837 MB / 484.7 MB, free: 3.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.8339, allocations: 463.7 kB / 485.1 MB, free: 3.523 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.721e-05/0.834, allocations: 8.562 kB / 485.1 MB, free: 3.516 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002038/0.8361, allocations: 0.6532 MB / 485.8 MB, free: 2.836 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 5.21e-06/0.8361, allocations: 0 / 485.8 MB, free: 2.836 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.008878/0.845, allocations: 2.301 MB / 488.1 MB, free: 464 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001682/0.8452, allocations: 153.3 kB / 488.2 MB, free: 280 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.8464, allocations: 403.1 kB / 488.6 MB, free: 15.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001736/0.8466, allocations: 49.69 kB / 488.7 MB, free: 15.81 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005503/0.8472, allocations: 371.8 kB / 489.1 MB, free: 15.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000538/0.8477, allocations: 299.9 kB / 489.3 MB, free: 15.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.8479, allocations: 20 kB / 489.4 MB, free: 15.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002943/0.8482, allocations: 382.7 kB / 489.7 MB, free: 14.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.8497, allocations: 398.2 kB / 490.1 MB, free: 14.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/0.8515, allocations: 0.6016 MB / 490.7 MB, free: 13.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.8532, allocations: 494.1 kB / 491.2 MB, free: 13.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.8532, allocations: 0 / 491.2 MB, free: 13.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.007154/0.8604, allocations: 1.494 MB / 492.7 MB, free: 11.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.014e-05/0.8605, allocations: 37.64 kB / 492.7 MB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005929/0.8665, allocations: 1.184 MB / 493.9 MB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003052/0.8696, allocations: 436.5 kB / 494.3 MB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.8709, allocations: 135.7 kB / 494.5 MB, free: 9.879 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01645/0.8874, allocations: 4.694 MB / 499.2 MB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.889, allocations: 83.81 kB / 499.3 MB, free: 4.969 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/0.8892, allocations: 40 kB / 499.3 MB, free: 4.93 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.0004958/0.8897, allocations: 215.9 kB / 499.5 MB, free: 4.711 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002957/0.89, allocations: 71.16 kB / 499.6 MB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004395/0.8944, allocations: 1.144 MB / 0.489 GB, free: 3.469 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.475e-05/0.8945, allocations: 23.98 kB / 0.489 GB, free: 3.445 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.8945, allocations: 0 / 0.489 GB, free: 3.445 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/0.8945, allocations: 3.984 kB / 0.489 GB, free: 3.441 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007537/0.9021, allocations: 2.205 MB / 0.4912 GB, free: 1.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/0.9021, allocations: 0 / 0.4912 GB, free: 1.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/0.9035, allocations: 143.8 kB / 0.4913 GB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002552/0.9038, allocations: 90.47 kB / 0.4914 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.9039, allocations: 27.98 kB / 0.4914 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003927/0.9079, allocations: 3.903 MB / 0.4952 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.9079, allocations: 0 / 0.4952 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004684/0.9126, allocations: 1.825 MB / 0.497 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002718/0.9129, allocations: 136.3 kB / 0.4971 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/0.9131, allocations: 31.92 kB / 0.4972 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009133/0.914, allocations: 63.94 kB / 0.4972 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003094/0.9144, allocations: 84.59 kB / 0.4973 GB, free: 10.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.9145, allocations: 31.92 kB / 0.4973 GB, free: 10.35 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006163/0.9151, allocations: 309.2 kB / 0.4976 GB, free: 10.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.9151, allocations: 0 / 0.4976 GB, free: 10.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001451/0.9166, allocations: 275.9 kB / 0.4979 GB, free: 9.773 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.005336/0.9219, allocations: 2.657 MB / 0.5005 GB, free: 7.059 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003797/0.9258, allocations: 1.32 MB / 0.5018 GB, free: 5.715 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.9258, allocations: 0 / 0.5018 GB, free: 5.715 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002094/0.9279, allocations: 0.9378 MB / 0.5027 GB, free: 4.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009492/0.9289, allocations: 94.03 kB / 0.5028 GB, free: 4.641 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004909/0.9339, allocations: 1.664 MB / 0.5044 GB, free: 2.93 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009563/0.9349, allocations: 1.057 MB / 0.5054 GB, free: 1.848 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001095/0.936, allocations: 193.8 kB / 0.5056 GB, free: 1.656 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007033/0.9367, allocations: 283.3 kB / 0.5059 GB, free: 1.379 MB / 442.7 MB Notification: Performance of SimCode: time 1.242e-06/0.9367, allocations: 0 / 0.5059 GB, free: 1.379 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3796/1.316, allocations: 17.87 MB / 0.5233 GB, free: 133.6 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/1.317, allocations: 175.2 kB / 0.5235 GB, free: 133.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.105/4.422, allocations: 0 / 0.5235 GB, free: 133.4 MB / 458.7 MB