Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") Notification: Performance of loadModel(Modelica): time 1.803/1.803, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.69e-05/2.697e-05, allocations: 4 kB / 269.4 MB, free: 6.387 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08328/0.08333, allocations: 47.57 MB / 316.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3372/0.4206, allocations: 83.55 MB / 400.5 MB, free: 4.605 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.4209, allocations: 86.58 kB / 400.6 MB, free: 4.559 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02836/0.4493, allocations: 7.281 MB / 407.9 MB, free: 14.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.021e-06/0.4494, allocations: 0 / 407.9 MB, free: 14.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.64e-05/0.4494, allocations: 15.94 kB / 407.9 MB, free: 14.36 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001439/0.4509, allocations: 0.6956 MB / 408.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.4509, allocations: 8.031 kB / 408.6 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.4511, allocations: 55.34 kB / 408.6 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006855/0.4518, allocations: 372.8 kB / 409 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.106e-05/0.4518, allocations: 38.05 kB / 409 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.806e-05/0.4519, allocations: 54.08 kB / 409.1 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009284/0.4529, allocations: 427.4 kB / 409.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.4529, allocations: 3.75 kB / 409.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.787e-05/0.453, allocations: 14.25 kB / 409.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.453, allocations: 12 kB / 409.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000686/0.4537, allocations: 264.8 kB / 409.8 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003181/0.4569, allocations: 1.686 MB / 411.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007544/0.4577, allocations: 279.9 kB / 411.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003931/0.4581, allocations: 154.1 kB / 411.9 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.4582, allocations: 8 kB / 411.9 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004911/0.4587, allocations: 231.3 kB / 412.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 3.307e-06/0.4587, allocations: 0 / 412.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008097/0.4595, allocations: 318.2 kB / 412.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.4596, allocations: 148.3 kB / 412.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/0.4601, allocations: 317 kB / 412.9 MB, free: 10.03 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/0.4602, allocations: 37.58 kB / 412.9 MB, free: 9.996 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.4604, allocations: 229.6 kB / 413.2 MB, free: 9.824 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.4606, allocations: 105.6 kB / 413.3 MB, free: 9.738 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.4606, allocations: 7.812 kB / 413.3 MB, free: 9.734 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.4608, allocations: 353.7 kB / 413.6 MB, free: 9.398 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.4611, allocations: 99.31 kB / 413.7 MB, free: 9.336 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/0.4615, allocations: 216.9 kB / 413.9 MB, free: 9.113 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/0.4618, allocations: 144.1 kB / 414.1 MB, free: 9 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.123e-06/0.4618, allocations: 0 / 414.1 MB, free: 9 MB / 330.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009699/0.4628, allocations: 440.1 kB / 414.5 MB, free: 8.652 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008016/0.4636, allocations: 1.421 MB / 415.9 MB, free: 7.141 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.4636, allocations: 4 kB / 415.9 MB, free: 7.137 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003704/0.464, allocations: 77.88 kB / 416 MB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.4644, allocations: 70.84 kB / 416.1 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/0.4668, allocations: 1.755 MB / 417.8 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004715/0.4673, allocations: 67.19 kB / 417.9 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-05/0.4674, allocations: 19.38 kB / 417.9 MB, free: 5.258 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.4674, allocations: 7.938 kB / 417.9 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008735/0.4683, allocations: 383.8 kB / 418.3 MB, free: 4.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.895e-06/0.4683, allocations: 8 kB / 418.3 MB, free: 4.965 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002916/0.4686, allocations: 76 kB / 418.4 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.4689, allocations: 67.78 kB / 418.4 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.4712, allocations: 1.745 MB / 420.2 MB, free: 3.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004039/0.4717, allocations: 61.84 kB / 420.2 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.4717, allocations: 15.88 kB / 420.3 MB, free: 3.105 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.0001826/0.4719, allocations: 137.5 kB / 420.4 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.132e-05/0.472, allocations: 39.53 kB / 420.4 MB, free: 2.938 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.4722, allocations: 41.89 kB / 420.5 MB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.4722, allocations: 4 kB / 420.5 MB, free: 2.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.998e-06/0.4722, allocations: 7.984 kB / 420.5 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.4722, allocations: 11.94 kB / 420.5 MB, free: 2.891 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.474, allocations: 0.9758 MB / 421.5 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.425e-06/0.474, allocations: 7.938 kB / 421.5 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.4743, allocations: 27.98 kB / 421.5 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002723/0.4746, allocations: 70.3 kB / 421.6 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.834e-05/0.4746, allocations: 14.25 kB / 421.6 MB, free: 1.969 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.4768, allocations: 1.687 MB / 423.3 MB, free: 344 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.861e-06/0.4768, allocations: 0 / 423.3 MB, free: 344 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.4779, allocations: 0.5585 MB / 423.8 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002286/0.4782, allocations: 149 kB / 424 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.86e-05/0.4783, allocations: 10.12 kB / 424 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.4787, allocations: 34.22 kB / 424 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.4788, allocations: 38.25 kB / 424.1 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.79e-05/0.4789, allocations: 11.38 kB / 424.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003808/0.4793, allocations: 244.2 kB / 424.3 MB, free: 15.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.18e-07/0.4793, allocations: 4 kB / 424.3 MB, free: 15.47 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001104/0.4804, allocations: 214.3 kB / 424.5 MB, free: 15.28 MB / 346.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.0002124/0.4806, allocations: 130.4 kB / 424.6 MB, free: 15.15 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.4822, allocations: 0.8063 MB / 425.5 MB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.4822, allocations: 0 / 425.5 MB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004896/0.4827, allocations: 276 kB / 425.7 MB, free: 14.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.4832, allocations: 75.12 kB / 425.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.4848, allocations: 0.5875 MB / 426.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/0.4854, allocations: 0.8357 MB / 427.2 MB, free: 12.76 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003509/0.4858, allocations: 63.23 kB / 427.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.759e-05/0.4859, allocations: 26.69 kB / 427.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of SimCode: time 1.635e-06/0.4859, allocations: 3.938 kB / 427.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of Templates: time 0.01729/0.5032, allocations: 6.399 MB / 433.7 MB, free: 6.328 MB / 346.7 MB