Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCDC_ChopperStepDown_ChopperStepDown_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.17/2.17, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.85e-05/4.877e-05, allocations: 4 kB / 292.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.121, allocations: 50.41 MB / 342.7 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4444/0.5654, allocations: 86.22 MB / 428.9 MB, free: 7.695 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/0.5658, allocations: 83.5 kB / 429 MB, free: 7.648 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04827/0.614, allocations: 10.06 MB / 439 MB, free: 15.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6141, allocations: 0 / 439 MB, free: 15.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.363e-05/0.6142, allocations: 12 kB / 439 MB, free: 15.05 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002342/0.6165, allocations: 0.7756 MB / 439.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.6166, allocations: 8.031 kB / 439.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001906/0.6168, allocations: 88.58 kB / 439.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002988/0.6171, allocations: 71.25 kB / 440 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/0.6192, allocations: 404.4 kB / 440.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.588e-05/0.6193, allocations: 38.67 kB / 440.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.6194, allocations: 53.47 kB / 440.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.6207, allocations: 481.9 kB / 440.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.6207, allocations: 0 / 440.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.157e-05/0.6208, allocations: 29.69 kB / 441 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-05/0.6209, allocations: 12 kB / 441 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009373/0.6218, allocations: 311.7 kB / 441.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004812/0.6267, allocations: 1.867 MB / 443.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/0.6288, allocations: 371.6 kB / 443.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000835/0.6297, allocations: 227.2 kB / 443.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.751e-05/0.6298, allocations: 4.328 kB / 443.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006887/0.6305, allocations: 261.7 kB / 444 MB, free: 10.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 3.677e-06/0.6305, allocations: 0 / 444 MB, free: 10.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001352/0.6319, allocations: 376.3 kB / 444.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.294e-05/0.632, allocations: 118.1 kB / 444.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006139/0.6326, allocations: 333.6 kB / 444.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.601e-05/0.6327, allocations: 39.89 kB / 444.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/0.633, allocations: 251.3 kB / 445.1 MB, free: 9.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.6332, allocations: 144.2 kB / 445.2 MB, free: 9.859 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.6333, allocations: 6.812 kB / 445.2 MB, free: 9.859 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.6335, allocations: 358.8 kB / 445.6 MB, free: 9.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/0.6338, allocations: 113.8 kB / 445.7 MB, free: 9.453 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004678/0.6343, allocations: 239.7 kB / 445.9 MB, free: 9.227 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.6347, allocations: 157.8 kB / 446.1 MB, free: 9.109 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.6347, allocations: 0 / 446.1 MB, free: 9.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001254/0.636, allocations: 0.4894 MB / 446.6 MB, free: 8.715 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006283/0.6366, allocations: 1.331 MB / 447.9 MB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.6367, allocations: 7.938 kB / 447.9 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004644/0.6372, allocations: 73.09 kB / 448 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007111/0.6379, allocations: 99 kB / 448.1 MB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/0.6402, allocations: 1.695 MB / 449.8 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007607/0.641, allocations: 65.62 kB / 449.8 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/0.6411, allocations: 19.56 kB / 449.9 MB, free: 5.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.6411, allocations: 4 kB / 449.9 MB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001104/0.6423, allocations: 432.5 kB / 450.3 MB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.6423, allocations: 4.406 kB / 450.3 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003332/0.6426, allocations: 78.53 kB / 450.4 MB, free: 5.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006291/0.6433, allocations: 83.89 kB / 450.4 MB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.6455, allocations: 1.692 MB / 452.1 MB, free: 3.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000668/0.6462, allocations: 65.92 kB / 452.2 MB, free: 3.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/0.6462, allocations: 19.25 kB / 452.2 MB, free: 3.254 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$PRE.meanCurrent.y_last,meanCurrent.y_last,$PRE.meanVoltage.y_last,meanVoltage.y_last,$whenCondition2,$whenCondition1,$whenCondition4,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition3,chopperStepDown.andCondition_p.y,chopperStepDown.fire_p,chopperStepDown.transistor.off,chopperStepDown.diode.off,$PRE.signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.sawtooth.T_start,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * 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: 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002378/0.6465, allocations: 143 kB / 452.4 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.6466, allocations: 47.39 kB / 452.4 MB, free: 3.074 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.6478, allocations: 422.3 kB / 452.8 MB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.6478, allocations: 4 kB / 452.8 MB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.6478, allocations: 4 kB / 452.8 MB, free: 2.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.6478, allocations: 3.984 kB / 452.8 MB, free: 2.766 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/0.65, allocations: 1.028 MB / 453.9 MB, free: 1.918 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.6501, allocations: 4 kB / 453.9 MB, free: 1.914 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007008/0.6508, allocations: 79.45 kB / 453.9 MB, free: 1.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000328/0.6511, allocations: 66 kB / 454 MB, free: 1.789 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/0.6512, allocations: 11 kB / 454 MB, free: 1.785 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002337/0.6535, allocations: 1.683 MB / 455.7 MB, free: 156 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/0.6536, allocations: 11.97 kB / 455.7 MB, free: 144 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.6551, allocations: 0.6663 MB / 456.4 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002879/0.6554, allocations: 159.6 kB / 456.5 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.6556, allocations: 17.33 kB / 456.5 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006143/0.6562, allocations: 43.39 kB / 456.6 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.6564, allocations: 49.69 kB / 456.6 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.987e-05/0.6564, allocations: 19.36 kB / 456.7 MB, free: 15.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004666/0.6569, allocations: 254.7 kB / 456.9 MB, free: 15.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6569, allocations: 0 / 456.9 MB, free: 15.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001329/0.6583, allocations: 249 kB / 457.1 MB, free: 14.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (meanCurrent.x,meanVoltage.x,inductor.i,capacitor.v,loadInductor.i) * Number of discrete variables: 15 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chopperStepDown.andCondition_p.y,chopperStepDown.fire_p,chopperStepDown.transistor.off,chopperStepDown.diode.off,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,meanCurrent.y_last,meanVoltage.y_last) * Number of discrete states: 4 (signalPWM.sawtooth.count,meanCurrent.x,meanVoltage.x,signalPWM.zeroOrderHold.ySample) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002031/0.6603, allocations: 1.395 MB / 458.5 MB, free: 13.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002138/0.6625, allocations: 0.881 MB / 459.4 MB, free: 12.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.6626, allocations: 0.5625 kB / 459.4 MB, free: 12.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007219/0.6633, allocations: 321.5 kB / 459.7 MB, free: 12.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007758/0.6641, allocations: 69.84 kB / 459.8 MB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.6672, allocations: 0.9333 MB / 460.7 MB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005531/0.6678, allocations: 0.8681 MB / 461.6 MB, free: 10.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000539/0.6684, allocations: 72.16 kB / 461.7 MB, free: 10.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/0.6688, allocations: 179.4 kB / 461.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6688, allocations: 0 / 461.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04754/0.7163, allocations: 11.31 MB / 473.2 MB, free: 15.11 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003688/0.7168, allocations: 220.6 kB / 473.4 MB, free: 14.88 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.06/3.777, allocations: 0 / 473.4 MB, free: 14.88 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL_res.mat does not exist to compare? outputFormat=mat