Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_DCDC_ChopperStepDown_ChopperStepDown_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.046/2.046, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.409e-05/3.427e-05, allocations: 0 / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1136, allocations: 44.52 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4417/0.5554, allocations: 77.92 MB / 377.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/0.5558, allocations: 86.05 kB / 378 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02947/0.5853, allocations: 6.883 MB / 384.9 MB, free: 12 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5854, allocations: 0 / 384.9 MB, free: 12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.309e-05/0.5854, allocations: 9.781 kB / 384.9 MB, free: 12 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001812/0.5872, allocations: 0.6986 MB / 385.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.5873, allocations: 9.938 kB / 385.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.5875, allocations: 80.25 kB / 385.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.5877, allocations: 58.39 kB / 385.7 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007265/0.5884, allocations: 357.4 kB / 386.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.399e-05/0.5885, allocations: 34.72 kB / 386.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.5886, allocations: 46.67 kB / 386.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.5896, allocations: 432.8 kB / 386.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.5897, allocations: 3.906 kB / 386.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.607e-05/0.5898, allocations: 16.94 kB / 386.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.5898, allocations: 11.69 kB / 386.6 MB, free: 11.08 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007096/0.5905, allocations: 274.3 kB / 386.9 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003615/0.5941, allocations: 1.671 MB / 388.5 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009455/0.5951, allocations: 283.9 kB / 388.8 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004295/0.5956, allocations: 148.4 kB / 389 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.329e-05/0.5957, allocations: 3.875 kB / 389 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005037/0.5962, allocations: 235.2 kB / 389.2 MB, free: 10.13 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 4.849e-06/0.5962, allocations: 0 / 389.2 MB, free: 10.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009285/0.5971, allocations: 331 kB / 389.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.5972, allocations: 135.4 kB / 389.7 MB, free: 9.898 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004826/0.5977, allocations: 311 kB / 390 MB, free: 9.793 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/0.5978, allocations: 40.17 kB / 390 MB, free: 9.758 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.598, allocations: 225.2 kB / 390.2 MB, free: 9.621 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.75e-05/0.5981, allocations: 107.9 kB / 390.3 MB, free: 9.559 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.5981, allocations: 5.375 kB / 390.3 MB, free: 9.559 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.5982, allocations: 356.1 kB / 390.7 MB, free: 9.246 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.5985, allocations: 90.47 kB / 390.8 MB, free: 9.242 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.5988, allocations: 225 kB / 391 MB, free: 9.094 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.5992, allocations: 139.2 kB / 391.1 MB, free: 9.051 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.5992, allocations: 4 kB / 391.1 MB, free: 9.047 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009407/0.6001, allocations: 442.8 kB / 391.6 MB, free: 8.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003002/0.6005, allocations: 1.436 MB / 393 MB, free: 7.426 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.6005, allocations: 3.75 kB / 393 MB, free: 7.426 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004261/0.6009, allocations: 72.62 kB / 393.1 MB, free: 7.418 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/0.6014, allocations: 71.39 kB / 393.1 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.6035, allocations: 1.749 MB / 394.9 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006917/0.6042, allocations: 71.12 kB / 395 MB, free: 6.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.6043, allocations: 15.44 kB / 395 MB, free: 6.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.6043, allocations: 3.844 kB / 395 MB, free: 6.02 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001048/0.6053, allocations: 391.7 kB / 395.4 MB, free: 21.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6054, allocations: 3.844 kB / 395.4 MB, free: 21.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003336/0.6057, allocations: 81.78 kB / 395.4 MB, free: 21.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/0.6061, allocations: 57.06 kB / 395.5 MB, free: 21.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/0.6083, allocations: 1.761 MB / 397.3 MB, free: 20.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006005/0.609, allocations: 57.55 kB / 397.3 MB, free: 20.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.609, allocations: 15.69 kB / 397.3 MB, free: 20.54 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$PRE.meanCurrent.y,meanCurrent.y,$PRE.meanVoltage.y,meanVoltage.y,$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 (43): * Single equations (assignments): 41 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002227/0.6093, allocations: 142 kB / 397.5 MB, free: 20.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-05/0.6094, allocations: 45.77 kB / 397.5 MB, free: 20.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.6095, allocations: 41.12 kB / 397.6 MB, free: 20.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.6095, allocations: 3.875 kB / 397.6 MB, free: 20.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6095, allocations: 0 / 397.6 MB, free: 20.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.6096, allocations: 10.86 kB / 397.6 MB, free: 20.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.6113, allocations: 0.9774 MB / 398.5 MB, free: 19.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.6114, allocations: 0 / 398.5 MB, free: 19.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.6117, allocations: 34.14 kB / 398.6 MB, free: 19.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003047/0.612, allocations: 70.94 kB / 398.6 MB, free: 19.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/0.6121, allocations: 5.953 kB / 398.7 MB, free: 19.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.6142, allocations: 1.677 MB / 400.3 MB, free: 18.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6142, allocations: 4.062 kB / 400.3 MB, free: 18.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.6155, allocations: 0.5603 MB / 400.9 MB, free: 18.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/0.6158, allocations: 146.3 kB / 401 MB, free: 18.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-05/0.6159, allocations: 11.88 kB / 401 MB, free: 18.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005037/0.6164, allocations: 34.48 kB / 401.1 MB, free: 18.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.6166, allocations: 40.34 kB / 401.1 MB, free: 18.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.6166, allocations: 10.02 kB / 401.1 MB, free: 18.26 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003679/0.617, allocations: 239.1 kB / 401.4 MB, free: 18.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.617, allocations: 0 / 401.4 MB, free: 18.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00111/0.6181, allocations: 200.8 kB / 401.6 MB, free: 18.16 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,meanVoltage.x,inductor.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,meanVoltage.y) * 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 (29): * Single equations (assignments): 22 * 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.00161/0.6198, allocations: 1.188 MB / 402.7 MB, free: 17.37 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001757/0.6216, allocations: 0.8501 MB / 403.6 MB, free: 16.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.6216, allocations: 3.938 kB / 403.6 MB, free: 16.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005156/0.6221, allocations: 281.6 kB / 403.9 MB, free: 16.83 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006434/0.6228, allocations: 67.39 kB / 403.9 MB, free: 16.81 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.625, allocations: 0.6774 MB / 404.6 MB, free: 16.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.6254, allocations: 0.8266 MB / 405.4 MB, free: 15.8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004038/0.6259, allocations: 64.22 kB / 405.5 MB, free: 15.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.6261, allocations: 128.6 kB / 405.6 MB, free: 15.78 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6261, allocations: 0 / 405.6 MB, free: 15.78 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04113/0.6672, allocations: 9.788 MB / 415.4 MB, free: 13.08 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002987/0.6676, allocations: 219.7 kB / 415.6 MB, free: 12.85 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.01/3.677, allocations: 0 / 415.6 MB, free: 12.85 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL_res.mat does not exist to compare? outputFormat=mat