Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.467/2.467, allocations: 233 MB / 246.1 MB, free: 14.87 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.619e-05/3.632e-05, allocations: 3.938 kB / 302.3 MB, free: 7.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1218, allocations: 53.25 MB / 355.5 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4749/0.5967, allocations: 92.95 MB / 448.5 MB, free: 8.641 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.5971, allocations: 87.95 kB / 448.6 MB, free: 8.555 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07066/0.6678, allocations: 16.11 MB / 464.7 MB, free: 8.281 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.6678, allocations: 0 / 464.7 MB, free: 8.281 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.925e-05/0.6679, allocations: 16 kB / 464.7 MB, free: 8.266 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.004166/0.6721, allocations: 0.8675 MB / 465.6 MB, free: 7.348 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.749e-05/0.6722, allocations: 11.97 kB / 465.6 MB, free: 7.336 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005562/0.6728, allocations: 107.8 kB / 465.7 MB, free: 7.223 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004309/0.6732, allocations: 71.16 kB / 465.8 MB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006774/0.68, allocations: 1.153 MB / 466.9 MB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000316/0.6804, allocations: 120.7 kB / 467 MB, free: 5.828 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003223/0.6807, allocations: 56 kB / 467.1 MB, free: 5.773 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/0.6836, allocations: 0.7153 MB / 467.8 MB, free: 5.016 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.6837, allocations: 0 / 467.8 MB, free: 5.016 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.6838, allocations: 24 kB / 467.8 MB, free: 4.992 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.079e-05/0.6839, allocations: 16 kB / 467.8 MB, free: 4.977 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/0.6864, allocations: 0.5173 MB / 468.3 MB, free: 4.457 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009067/0.6955, allocations: 2.496 MB / 470.8 MB, free: 1.867 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/0.6975, allocations: 413.2 kB / 471.2 MB, free: 1.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008046/0.6983, allocations: 183.2 kB / 471.4 MB, free: 1.242 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.133e-05/0.6984, allocations: 4.281 kB / 471.4 MB, free: 1.238 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008117/0.6992, allocations: 228.1 kB / 471.7 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of pre-optimization done (n=36): time 4.629e-06/0.6993, allocations: 0 / 471.7 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002637/0.7019, allocations: 431.5 kB / 472.1 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.7021, allocations: 144.6 kB / 472.2 MB, free: 400 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009811/0.7031, allocations: 347.1 kB / 472.6 MB, free: 48 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.453e-05/0.7032, allocations: 29.7 kB / 472.6 MB, free: 12 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004938/0.7037, allocations: 321.2 kB / 472.9 MB, free: 15.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.704, allocations: 114.4 kB / 473 MB, free: 15.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/0.704, allocations: 8 kB / 473 MB, free: 15.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002347/0.7043, allocations: 362.7 kB / 473.4 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005654/0.7049, allocations: 112.9 kB / 473.5 MB, free: 15.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006692/0.7056, allocations: 229.1 kB / 473.7 MB, free: 14.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006821/0.7063, allocations: 156.6 kB / 473.9 MB, free: 14.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.7063, allocations: 0 / 473.9 MB, free: 14.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003062/0.7094, allocations: 0.5084 MB / 474.4 MB, free: 14.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/0.7095, allocations: 7.938 kB / 474.4 MB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/0.7095, allocations: 4 kB / 474.4 MB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000807/0.7103, allocations: 129.7 kB / 474.5 MB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.7114, allocations: 83.83 kB / 474.6 MB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005794/0.7173, allocations: 1.935 MB / 476.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009931/0.7183, allocations: 51.64 kB / 476.6 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.487e-05/0.7184, allocations: 20 kB / 476.6 MB, free: 11.8 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: chopper.modulator.t1:DISCRETE(unit = "s" fixed = false protected = true ) type: Real chopper.modulator.t0:DISCRETE(unit = "s" fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,$whenCondition1,$PRE.chopper.modulator.t0,chopper.modulator.t0,$PRE.chopper.modulator.t1,chopper.modulator.t1,chopper.chopper.gate,chopper.chopper.diode.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003127/0.7187, allocations: 142.6 kB / 476.7 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.7189, allocations: 51.39 kB / 476.8 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002757/0.7217, allocations: 454.7 kB / 477.2 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.7217, allocations: 4 kB / 477.2 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.7218, allocations: 0 / 477.2 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.7218, allocations: 0 / 477.2 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002034/0.7239, allocations: 0.6829 MB / 477.9 MB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.7239, allocations: 0 / 477.9 MB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009251/0.7248, allocations: 55.91 kB / 478 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000722/0.7256, allocations: 116.8 kB / 478.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.77e-05/0.7257, allocations: 15.98 kB / 478.1 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005668/0.7314, allocations: 1.917 MB / 480 MB, free: 8.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.7314, allocations: 0 / 480 MB, free: 8.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/0.7351, allocations: 0.6767 MB / 480.7 MB, free: 7.434 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005076/0.7356, allocations: 148.5 kB / 480.8 MB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.7358, allocations: 12 kB / 480.8 MB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006951/0.7365, allocations: 19.98 kB / 480.9 MB, free: 7.238 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002362/0.7368, allocations: 39.89 kB / 480.9 MB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-05/0.7369, allocations: 12 kB / 480.9 MB, free: 7.188 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008238/0.7377, allocations: 273.2 kB / 481.2 MB, free: 6.926 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.503e-06/0.7378, allocations: 0 / 481.2 MB, free: 6.926 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001481/0.7392, allocations: 167.5 kB / 481.3 MB, free: 6.762 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (meterDCin.pav,meterDCout.pav,load.i) * Number of discrete variables: 6 ($whenCondition1,chopper.modulator.t0,chopper.modulator.t1,chopper.chopper.gate,chopper.chopper.diode.on,system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004409/0.7437, allocations: 1.472 MB / 482.8 MB, free: 5.238 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002131/0.7459, allocations: 473.5 kB / 483.3 MB, free: 4.766 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.7459, allocations: 0 / 483.3 MB, free: 4.766 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.7471, allocations: 297.5 kB / 483.6 MB, free: 4.465 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/0.7489, allocations: 142.9 kB / 483.7 MB, free: 4.324 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004419/0.7533, allocations: 1.053 MB / 484.8 MB, free: 3.223 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.7544, allocations: 0.9445 MB / 485.7 MB, free: 2.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008313/0.7553, allocations: 84.62 kB / 485.8 MB, free: 2.168 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005489/0.7559, allocations: 191.4 kB / 486 MB, free: 1.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/0.7559, allocations: 0 / 486 MB, free: 1.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06421/0.8201, allocations: 12.58 MB / 498.6 MB, free: 5.477 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002755/0.8205, allocations: 174.2 kB / 498.7 MB, free: 5.254 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.785/3.605, allocations: 8.062 kB / 498.7 MB, free: 5.246 MB / 426.7 MB