Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCDC_ChopperStepUp_ChopperStepUp_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.057/2.057, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.104e-05/5.111e-05, allocations: 4 kB / 292.3 MB, free: 8.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1437, allocations: 50.41 MB / 342.7 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4703/0.614, allocations: 86.04 MB / 428.7 MB, free: 7.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003371/0.6144, allocations: 88.31 kB / 428.8 MB, free: 7.789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04631/0.6607, allocations: 9.713 MB / 438.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.812e-06/0.6608, allocations: 3.984 kB / 438.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.685e-05/0.6609, allocations: 19.94 kB / 438.5 MB, free: 15.47 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002434/0.6633, allocations: 0.7623 MB / 439.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.6634, allocations: 8.031 kB / 439.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002255/0.6636, allocations: 88.52 kB / 439.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/0.6639, allocations: 67.23 kB / 439.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009762/0.6648, allocations: 386.2 kB / 439.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.484e-05/0.6649, allocations: 35.12 kB / 439.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.6651, allocations: 52.86 kB / 439.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.6663, allocations: 468.3 kB / 440.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.6664, allocations: 0 / 440.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.062e-05/0.6665, allocations: 22.42 kB / 440.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.6665, allocations: 12 kB / 440.4 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009567/0.6675, allocations: 301 kB / 440.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004586/0.6721, allocations: 1.784 MB / 442.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.6735, allocations: 366.7 kB / 442.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007091/0.6743, allocations: 207.5 kB / 443 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.585e-05/0.6744, allocations: 4 kB / 443 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000676/0.6751, allocations: 264 kB / 443.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 4.158e-06/0.6751, allocations: 0 / 443.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.001138/0.6762, allocations: 364.5 kB / 443.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.964e-05/0.6764, allocations: 114.6 kB / 443.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006132/0.677, allocations: 331.5 kB / 444.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.725e-05/0.6771, allocations: 36.95 kB / 444.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.6774, allocations: 246.3 kB / 444.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.6776, allocations: 124.2 kB / 444.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.6776, allocations: 11.12 kB / 444.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.6778, allocations: 354.7 kB / 444.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.6781, allocations: 107.2 kB / 444.9 MB, free: 10.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004666/0.6786, allocations: 233.3 kB / 445.2 MB, free: 9.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/0.679, allocations: 150.3 kB / 445.3 MB, free: 9.727 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.6791, allocations: 4 kB / 445.3 MB, free: 9.723 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001281/0.6804, allocations: 476.3 kB / 445.8 MB, free: 9.348 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000594/0.681, allocations: 1.339 MB / 447.1 MB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.681, allocations: 4 kB / 447.1 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004629/0.6815, allocations: 68.02 kB / 447.2 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007238/0.6822, allocations: 94.75 kB / 447.3 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.6846, allocations: 1.696 MB / 449 MB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007566/0.6854, allocations: 63.34 kB / 449.1 MB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-05/0.6855, allocations: 19.75 kB / 449.1 MB, free: 6.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.6855, allocations: 12 kB / 449.1 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0011/0.6866, allocations: 415.7 kB / 449.5 MB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.6866, allocations: 4 kB / 449.5 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003787/0.687, allocations: 74.78 kB / 449.6 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006458/0.6877, allocations: 87.64 kB / 449.7 MB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/0.69, allocations: 1.686 MB / 451.3 MB, free: 3.973 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007394/0.6908, allocations: 59.47 kB / 451.4 MB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.328e-05/0.6908, allocations: 15.94 kB / 451.4 MB, free: 3.91 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,chopperStepUp.andCondition_p.y,chopperStepUp.fire_p,chopperStepUp.transistor.off,chopperStepUp.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 (50): * Single equations (assignments): 48 * 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.0002507/0.6911, allocations: 142.6 kB / 451.6 MB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.6912, allocations: 47.52 kB / 451.6 MB, free: 3.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.6924, allocations: 395.3 kB / 452 MB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.6924, allocations: 11.95 kB / 452 MB, free: 3.438 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.6924, allocations: 0 / 452 MB, free: 3.438 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.006e-06/0.6925, allocations: 0 / 452 MB, free: 3.438 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.6948, allocations: 0.9845 MB / 453 MB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.6948, allocations: 0 / 453 MB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006621/0.6955, allocations: 71.84 kB / 453 MB, free: 2.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003518/0.6959, allocations: 70.47 kB / 453.1 MB, free: 2.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.295e-05/0.696, allocations: 15.11 kB / 453.1 MB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002255/0.6982, allocations: 1.686 MB / 454.8 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6983, allocations: 0 / 454.8 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.6999, allocations: 0.6499 MB / 455.5 MB, free: 356 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003257/0.7003, allocations: 148.8 kB / 455.6 MB, free: 204 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.7004, allocations: 9.312 kB / 455.6 MB, free: 200 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006278/0.701, allocations: 41.77 kB / 455.7 MB, free: 164 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.7012, allocations: 44.25 kB / 455.7 MB, free: 128 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.7013, allocations: 15.12 kB / 455.7 MB, free: 116 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004703/0.7018, allocations: 255 kB / 456 MB, free: 15.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7018, allocations: 0 / 456 MB, free: 15.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00141/0.7032, allocations: 236 kB / 456.2 MB, free: 15.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanCurrent.x,meanVoltage.x,inductor.i,capacitor.v) * Number of discrete variables: 15 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chopperStepUp.andCondition_p.y,chopperStepUp.fire_p,chopperStepUp.transistor.off,chopperStepUp.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 (36): * Single equations (assignments): 29 * 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.00199/0.7052, allocations: 1.285 MB / 457.5 MB, free: 14.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002124/0.7074, allocations: 0.8663 MB / 458.4 MB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.7075, allocations: 0 / 458.4 MB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007188/0.7082, allocations: 297.5 kB / 458.6 MB, free: 13.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007957/0.709, allocations: 82.42 kB / 458.7 MB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003099/0.7122, allocations: 0.8124 MB / 459.5 MB, free: 12.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005602/0.7128, allocations: 0.8563 MB / 460.4 MB, free: 11.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005521/0.7133, allocations: 67.42 kB / 460.5 MB, free: 11.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003562/0.7137, allocations: 163.4 kB / 460.6 MB, free: 11.42 MB / 378.7 MB Notification: Performance of SimCode: time 1.363e-06/0.7137, allocations: 0 / 460.6 MB, free: 11.42 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05004/0.7638, allocations: 10.97 MB / 471.6 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000363/0.7642, allocations: 214.5 kB / 471.8 MB, free: 432 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.125/3.89, allocations: 7.203 kB / 471.8 MB, free: 428 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R_res.mat does not exist to compare? outputFormat=mat