Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.354/2.354, allocations: 233 MB / 246.1 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.46e-05/4.48e-05, allocations: 4 kB / 302.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.129, allocations: 53.23 MB / 355.5 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5321/0.6612, allocations: 97.04 MB / 452.6 MB, free: 4.539 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004936/0.6618, allocations: 87.94 kB / 452.7 MB, free: 4.453 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06908/0.7309, allocations: 14.28 MB / 466.9 MB, free: 6.047 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.731, allocations: 0 / 466.9 MB, free: 6.047 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.253e-05/0.7311, allocations: 24.16 kB / 467 MB, free: 6.023 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002727/0.7338, allocations: 0.9565 MB / 467.9 MB, free: 5.008 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.7339, allocations: 8.031 kB / 467.9 MB, free: 5 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002801/0.7342, allocations: 110.5 kB / 468 MB, free: 4.883 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002866/0.7345, allocations: 86.97 kB / 468.1 MB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005294/0.7398, allocations: 1.174 MB / 469.3 MB, free: 3.582 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.74, allocations: 116.7 kB / 469.4 MB, free: 3.453 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003041/0.7404, allocations: 78.42 kB / 469.5 MB, free: 3.379 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/0.7429, allocations: 0.8021 MB / 470.3 MB, free: 2.531 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.245e-05/0.743, allocations: 3.984 kB / 470.3 MB, free: 2.527 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001773/0.7432, allocations: 28 kB / 470.3 MB, free: 2.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.309e-05/0.7433, allocations: 16 kB / 470.3 MB, free: 2.484 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/0.745, allocations: 0.5413 MB / 470.9 MB, free: 1.941 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006738/0.7517, allocations: 2.755 MB / 473.6 MB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.7539, allocations: 0.8068 MB / 474.4 MB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006262/0.7545, allocations: 245.1 kB / 474.7 MB, free: 13.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/0.7546, allocations: 8.328 kB / 474.7 MB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006976/0.7553, allocations: 298.5 kB / 475 MB, free: 13.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=41): time 3.096e-06/0.7553, allocations: 0 / 475 MB, free: 13.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.003663/0.759, allocations: 1.372 MB / 476.4 MB, free: 12.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.503e-05/0.7591, allocations: 122.7 kB / 476.5 MB, free: 12.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008581/0.76, allocations: 452.6 kB / 476.9 MB, free: 11.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.872e-05/0.7601, allocations: 41.7 kB / 477 MB, free: 11.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003987/0.7605, allocations: 351.8 kB / 477.3 MB, free: 11.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.7607, allocations: 142.2 kB / 477.4 MB, free: 11.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.7608, allocations: 12 kB / 477.4 MB, free: 11.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.761, allocations: 370.8 kB / 477.8 MB, free: 10.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005536/0.7615, allocations: 197.3 kB / 478 MB, free: 10.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007012/0.7623, allocations: 357.9 kB / 478.4 MB, free: 10.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006873/0.763, allocations: 291.1 kB / 478.6 MB, free: 9.754 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.763, allocations: 0 / 478.6 MB, free: 9.754 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001933/0.7649, allocations: 0.8085 MB / 479.4 MB, free: 8.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.7651, allocations: 49.69 kB / 479.5 MB, free: 8.855 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.7651, allocations: 8.062 kB / 479.5 MB, free: 8.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000554/0.7657, allocations: 70.44 kB / 479.6 MB, free: 8.773 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.7669, allocations: 107.8 kB / 479.7 MB, free: 8.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005085/0.772, allocations: 2.841 MB / 482.5 MB, free: 5.559 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.7733, allocations: 31.89 kB / 482.5 MB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/0.7735, allocations: 47.97 kB / 482.6 MB, free: 5.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,$whenCondition1,$PRE.dc_ac.modulator.gates[1],dc_ac.modulator.gates[1],$PRE.dc_ac.modulator.gates[2],dc_ac.modulator.gates[2],$PRE.dc_ac.modulator.gates[3],dc_ac.modulator.gates[3],$PRE.dc_ac.modulator.gates[4],dc_ac.modulator.gates[4],$PRE.dc_ac.modulator.sigdel_t,dc_ac.modulator.sigdel_t,$PRE.dc_ac.modulator.t0,dc_ac.modulator.t0) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * 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.000344/0.7739, allocations: 148.8 kB / 482.7 MB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.7741, allocations: 59.33 kB / 482.8 MB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/0.7763, allocations: 0.5912 MB / 483.4 MB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.7764, allocations: 8.891 kB / 483.4 MB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.7764, allocations: 4 kB / 483.4 MB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.7764, allocations: 4 kB / 483.4 MB, free: 4.625 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003842/0.7803, allocations: 1.437 MB / 484.8 MB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/0.7803, allocations: 8.062 kB / 484.8 MB, free: 3.082 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005952/0.7809, allocations: 55.97 kB / 484.9 MB, free: 3.027 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003857/0.7813, allocations: 77.44 kB / 485 MB, free: 2.945 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.969e-05/0.7814, allocations: 15.98 kB / 485 MB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00311/0.7845, allocations: 2.825 MB / 487.8 MB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.7846, allocations: 0 / 487.8 MB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/0.7867, allocations: 0.9406 MB / 488.8 MB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000369/0.7871, allocations: 172.3 kB / 488.9 MB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.7872, allocations: 31.98 kB / 489 MB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007361/0.788, allocations: 55.89 kB / 489 MB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.7881, allocations: 27.97 kB / 489 MB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.026e-05/0.7882, allocations: 11.98 kB / 489.1 MB, free: 14.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006741/0.7889, allocations: 353.5 kB / 489.4 MB, free: 14.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7889, allocations: 0 / 489.4 MB, free: 14.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001057/0.79, allocations: 156 kB / 489.6 MB, free: 14.03 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 8 ($whenCondition1,dc_ac.modulator.gates[1],dc_ac.modulator.gates[2],dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.sigdel_t,dc_ac.modulator.t0,system.initime) * Number of discrete states: 6 (dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.gates[1],dc_ac.modulator.gates[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.002523/0.7925, allocations: 1.718 MB / 491.3 MB, free: 12.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001812/0.7943, allocations: 0.8094 MB / 492.1 MB, free: 11.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.7943, allocations: 0 / 492.1 MB, free: 11.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009452/0.7953, allocations: 439.3 kB / 492.5 MB, free: 10.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.7964, allocations: 139.2 kB / 492.6 MB, free: 10.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003592/0.8, allocations: 1.296 MB / 493.9 MB, free: 9.473 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008267/0.8009, allocations: 0.9913 MB / 494.9 MB, free: 8.453 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000626/0.8015, allocations: 108.9 kB / 495 MB, free: 8.348 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004651/0.802, allocations: 227.4 kB / 495.3 MB, free: 8.125 MB / 426.7 MB Notification: Performance of SimCode: time 1.022e-06/0.802, allocations: 0 / 495.3 MB, free: 8.125 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04516/0.8472, allocations: 12.22 MB / 0.4956 GB, free: 11.98 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/0.8475, allocations: 180.3 kB / 0.4958 GB, free: 11.76 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.889/3.736, allocations: 0 / 0.4958 GB, free: 11.76 MB / 442.7 MB