Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.393/2.393, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.517e-05/6.536e-05, allocations: 7.938 kB / 302.3 MB, free: 7.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.123, allocations: 53.24 MB / 355.5 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5092/0.6323, allocations: 92.96 MB / 448.5 MB, free: 8.617 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/0.6327, allocations: 87.95 kB / 448.6 MB, free: 8.531 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07478/0.7075, allocations: 16.1 MB / 464.7 MB, free: 8.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.7076, allocations: 0 / 464.7 MB, free: 8.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.803e-05/0.7077, allocations: 16 kB / 464.7 MB, free: 8.254 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.003089/0.7108, allocations: 0.8674 MB / 465.6 MB, free: 7.336 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.7108, allocations: 12.03 kB / 465.6 MB, free: 7.324 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003542/0.7112, allocations: 106.5 kB / 465.7 MB, free: 7.211 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002666/0.7115, allocations: 75.16 kB / 465.7 MB, free: 7.137 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005136/0.7166, allocations: 1.157 MB / 466.9 MB, free: 5.938 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002578/0.717, allocations: 112.7 kB / 467 MB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002295/0.7172, allocations: 64 kB / 467.1 MB, free: 5.754 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.7193, allocations: 0.7082 MB / 467.8 MB, free: 5.004 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.7194, allocations: 7.984 kB / 467.8 MB, free: 4.996 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.873e-05/0.7195, allocations: 24 kB / 467.8 MB, free: 4.973 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.7195, allocations: 16 kB / 467.8 MB, free: 4.957 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/0.7212, allocations: 0.5212 MB / 468.4 MB, free: 4.434 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006423/0.7277, allocations: 2.488 MB / 470.8 MB, free: 1.852 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.7292, allocations: 404.4 kB / 471.2 MB, free: 1.426 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006276/0.7299, allocations: 195.2 kB / 471.4 MB, free: 1.227 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.528e-05/0.7299, allocations: 4.438 kB / 471.4 MB, free: 1.223 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005493/0.7305, allocations: 223.5 kB / 471.6 MB, free: 0.9805 MB / 394.7 MB Notification: Performance of pre-optimization done (n=36): time 3.607e-06/0.7305, allocations: 0 / 471.6 MB, free: 0.9805 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.001868/0.7324, allocations: 436.8 kB / 472.1 MB, free: 0.5469 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.7326, allocations: 136.5 kB / 472.2 MB, free: 392 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007137/0.7333, allocations: 351.2 kB / 472.6 MB, free: 36 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.7334, allocations: 37.75 kB / 472.6 MB, free: 15.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000377/0.7338, allocations: 316 kB / 472.9 MB, free: 15.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.734, allocations: 118.3 kB / 473 MB, free: 15.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.7341, allocations: 8 kB / 473 MB, free: 15.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.7343, allocations: 354.8 kB / 473.4 MB, free: 15.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.7347, allocations: 112.9 kB / 473.5 MB, free: 15.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004488/0.7351, allocations: 237.1 kB / 473.7 MB, free: 14.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004459/0.7356, allocations: 148.6 kB / 473.9 MB, free: 14.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.7356, allocations: 0 / 473.9 MB, free: 14.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001914/0.7376, allocations: 0.5161 MB / 474.4 MB, free: 14.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.7376, allocations: 8 kB / 474.4 MB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/0.7377, allocations: 8.828 kB / 474.4 MB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005355/0.7382, allocations: 124.9 kB / 474.5 MB, free: 14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006695/0.7389, allocations: 87.83 kB / 474.6 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00395/0.7429, allocations: 1.933 MB / 476.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006824/0.7436, allocations: 51.58 kB / 476.6 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/0.7437, allocations: 16.06 kB / 476.6 MB, free: 11.79 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.0002391/0.7439, allocations: 138.5 kB / 476.7 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.7441, allocations: 55.36 kB / 476.8 MB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.7459, allocations: 446.7 kB / 477.2 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/0.746, allocations: 4 kB / 477.2 MB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.746, allocations: 7.984 kB / 477.2 MB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.746, allocations: 0 / 477.2 MB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.7475, allocations: 0.679 MB / 477.9 MB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.7476, allocations: 8.031 kB / 477.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005764/0.7482, allocations: 51.91 kB / 478 MB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004575/0.7487, allocations: 120.8 kB / 478.1 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.196e-05/0.7487, allocations: 8 kB / 478.1 MB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003596/0.7524, allocations: 1.921 MB / 480 MB, free: 8.145 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/0.7524, allocations: 4.125 kB / 480 MB, free: 8.141 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/0.7547, allocations: 0.6727 MB / 480.7 MB, free: 7.418 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003402/0.7551, allocations: 148.5 kB / 480.8 MB, free: 7.254 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.607e-05/0.7552, allocations: 7.984 kB / 480.8 MB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004687/0.7557, allocations: 24.17 kB / 480.9 MB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/0.7559, allocations: 43.89 kB / 480.9 MB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.756, allocations: 11.94 kB / 480.9 MB, free: 7.168 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005219/0.7565, allocations: 269.2 kB / 481.2 MB, free: 6.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7565, allocations: 0 / 481.2 MB, free: 6.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001052/0.7576, allocations: 167.5 kB / 481.3 MB, free: 6.746 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.002969/0.7606, allocations: 1.48 MB / 482.8 MB, free: 5.215 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.762, allocations: 461.8 kB / 483.3 MB, free: 4.754 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.7621, allocations: 4.188 kB / 483.3 MB, free: 4.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000808/0.7629, allocations: 297.6 kB / 483.6 MB, free: 4.449 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.7641, allocations: 140.9 kB / 483.7 MB, free: 4.312 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003406/0.7676, allocations: 1.057 MB / 484.8 MB, free: 3.207 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000751/0.7684, allocations: 0.9406 MB / 485.7 MB, free: 2.238 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005929/0.769, allocations: 88.62 kB / 485.8 MB, free: 2.152 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004216/0.7695, allocations: 195.4 kB / 486 MB, free: 1.961 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.7695, allocations: 0 / 486 MB, free: 1.961 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05269/0.8222, allocations: 12.6 MB / 498.6 MB, free: 5.438 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002914/0.8225, allocations: 181.8 kB / 498.8 MB, free: 5.215 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.737/3.56, allocations: 0 / 498.8 MB, free: 5.215 MB / 426.7 MB