Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Breaker,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Breaker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.378/2.378, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.085e-05/4.09e-05, allocations: 7.922 kB / 302.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1149, allocations: 53.23 MB / 355.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5671/0.6822, allocations: 100.3 MB / 455.8 MB, free: 1.305 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003773/0.6826, allocations: 98.89 kB / 455.9 MB, free: 1.211 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.096/0.7786, allocations: 19.48 MB / 475.4 MB, free: 13.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.7787, allocations: 0 / 475.4 MB, free: 13.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.189e-05/0.7788, allocations: 16 kB / 475.4 MB, free: 13.54 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.003492/0.7823, allocations: 1.059 MB / 476.5 MB, free: 12.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.7823, allocations: 8.031 kB / 476.5 MB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003363/0.7827, allocations: 130.8 kB / 476.6 MB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.7838, allocations: 133.6 kB / 476.7 MB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00423/0.788, allocations: 1.035 MB / 477.8 MB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-05/0.7882, allocations: 58 kB / 477.8 MB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002122/0.7884, allocations: 68 kB / 477.9 MB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002797/0.7912, allocations: 1.037 MB / 478.9 MB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.7913, allocations: 0 / 478.9 MB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.7915, allocations: 28 kB / 479 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.7916, allocations: 45.98 kB / 479 MB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002539/0.7941, allocations: 0.8666 MB / 479.9 MB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009331/0.8035, allocations: 4.131 MB / 484 MB, free: 4.609 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/0.8055, allocations: 0.6837 MB / 484.7 MB, free: 3.906 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.8067, allocations: 462.5 kB / 485.1 MB, free: 3.453 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.452e-05/0.8068, allocations: 12.55 kB / 485.1 MB, free: 3.441 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00158/0.8084, allocations: 0.6537 MB / 485.8 MB, free: 2.762 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 4.338e-06/0.8084, allocations: 4 kB / 485.8 MB, free: 2.758 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.006423/0.8149, allocations: 2.29 MB / 488.1 MB, free: 396 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.8151, allocations: 157.2 kB / 488.2 MB, free: 208 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008447/0.8159, allocations: 407 kB / 488.6 MB, free: 15.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001544/0.8161, allocations: 49.73 kB / 488.7 MB, free: 15.74 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004205/0.8165, allocations: 369 kB / 489 MB, free: 15.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004153/0.817, allocations: 303.9 kB / 489.3 MB, free: 15.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.524e-05/0.8171, allocations: 20 kB / 489.4 MB, free: 15.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002304/0.8173, allocations: 386.7 kB / 489.7 MB, free: 14.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001109/0.8184, allocations: 394.2 kB / 490.1 MB, free: 14.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.8197, allocations: 0.5922 MB / 490.7 MB, free: 13.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.821, allocations: 0.4903 MB / 491.2 MB, free: 13.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.821, allocations: 4 kB / 491.2 MB, free: 13.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.005288/0.8263, allocations: 1.498 MB / 492.7 MB, free: 11.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.655e-05/0.8264, allocations: 33.7 kB / 492.7 MB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004373/0.8308, allocations: 1.175 MB / 493.9 MB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002346/0.8332, allocations: 432.5 kB / 494.3 MB, free: 9.945 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.8344, allocations: 136.8 kB / 494.5 MB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01224/0.8466, allocations: 4.709 MB / 499.2 MB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.8479, allocations: 75.89 kB / 499.3 MB, free: 4.898 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.848, allocations: 39.94 kB / 499.3 MB, free: 4.859 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.0003949/0.8484, allocations: 218.5 kB / 499.5 MB, free: 4.637 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/0.8486, allocations: 75.08 kB / 499.6 MB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003249/0.8519, allocations: 1.148 MB / 0.489 GB, free: 3.387 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-05/0.852, allocations: 16 kB / 0.489 GB, free: 3.371 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.852, allocations: 0 / 0.489 GB, free: 3.371 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.852, allocations: 7.984 kB / 0.489 GB, free: 3.363 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005964/0.858, allocations: 2.213 MB / 0.4912 GB, free: 1.074 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.8581, allocations: 0 / 0.4912 GB, free: 1.074 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.8594, allocations: 135.7 kB / 0.4913 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000256/0.8597, allocations: 86.59 kB / 0.4914 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/0.8598, allocations: 31.97 kB / 0.4914 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003937/0.8638, allocations: 3.899 MB / 0.4952 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.8638, allocations: 8.219 kB / 0.4952 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004751/0.8686, allocations: 1.825 MB / 0.497 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000309/0.8689, allocations: 140.3 kB / 0.4972 GB, free: 10.47 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/0.8691, allocations: 20 kB / 0.4972 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009299/0.8701, allocations: 67.92 kB / 0.4972 GB, free: 10.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000306/0.8704, allocations: 84.66 kB / 0.4973 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.8705, allocations: 24 kB / 0.4973 GB, free: 10.28 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006007/0.8711, allocations: 317.1 kB / 0.4976 GB, free: 9.965 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.8712, allocations: 0 / 0.4976 GB, free: 9.965 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001454/0.8726, allocations: 271.9 kB / 0.4979 GB, free: 9.699 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.005452/0.8781, allocations: 2.657 MB / 0.5005 GB, free: 6.984 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004061/0.8822, allocations: 1.328 MB / 0.5018 GB, free: 5.633 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.8823, allocations: 0 / 0.5018 GB, free: 5.633 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002005/0.8843, allocations: 0.93 MB / 0.5027 GB, free: 4.656 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009427/0.8853, allocations: 97.98 kB / 0.5028 GB, free: 4.562 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005118/0.8904, allocations: 1.66 MB / 0.5044 GB, free: 2.855 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009701/0.8914, allocations: 1.057 MB / 0.5055 GB, free: 1.773 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001096/0.8926, allocations: 193.7 kB / 0.5056 GB, free: 1.582 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007136/0.8933, allocations: 287.3 kB / 0.5059 GB, free: 1.301 MB / 442.7 MB Notification: Performance of SimCode: time 1.212e-06/0.8933, allocations: 0 / 0.5059 GB, free: 1.301 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.374/1.267, allocations: 17.86 MB / 0.5234 GB, free: 133.3 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003333/1.268, allocations: 190.9 kB / 0.5235 GB, free: 133.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.116/4.383, allocations: 2.469 kB / 0.5235 GB, free: 133.1 MB / 458.7 MB