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.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") Notification: Performance of loadModel(Modelica): time 1.74/1.74, allocations: 194.9 MB / 208 MB, free: 3.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.636e-05/2.64e-05, allocations: 4 kB / 255.4 MB, free: 2.672 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07647/0.07651, allocations: 44.49 MB / 299.9 MB, free: 6.117 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3477/0.4243, allocations: 77.93 MB / 377.8 MB, free: 22.22 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.4246, allocations: 84.3 kB / 377.9 MB, free: 22.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02471/0.4493, allocations: 6.885 MB / 384.8 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.757e-06/0.4493, allocations: 0 / 384.8 MB, free: 21.01 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.483e-05/0.4494, allocations: 14.86 kB / 384.8 MB, free: 21.01 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.001175/0.4506, allocations: 0.6886 MB / 385.5 MB, free: 20.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.4506, allocations: 9.875 kB / 385.5 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.4508, allocations: 54.33 kB / 385.6 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005342/0.4513, allocations: 366.3 kB / 385.9 MB, free: 20.22 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.06e-05/0.4514, allocations: 32.44 kB / 386 MB, free: 20.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.725e-05/0.4515, allocations: 41.28 kB / 386 MB, free: 20.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008582/0.4523, allocations: 428.7 kB / 386.4 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.4524, allocations: 0 / 386.4 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.69e-05/0.4525, allocations: 19.25 kB / 386.4 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.4525, allocations: 9.844 kB / 386.4 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006553/0.4531, allocations: 270.6 kB / 386.7 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002643/0.4558, allocations: 1.673 MB / 388.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007015/0.4565, allocations: 279.8 kB / 388.7 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/0.4569, allocations: 152.5 kB / 388.8 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.4569, allocations: 0 / 388.8 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004264/0.4574, allocations: 235.8 kB / 389 MB, free: 19.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.962e-06/0.4574, allocations: 0 / 389 MB, free: 19.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007371/0.4582, allocations: 330 kB / 389.4 MB, free: 19.08 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.4582, allocations: 140 kB / 389.5 MB, free: 18.92 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003863/0.4586, allocations: 311.2 kB / 389.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.4587, allocations: 35.55 kB / 389.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.4588, allocations: 214.2 kB / 390 MB, free: 18.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.5e-05/0.4589, allocations: 114.7 kB / 390.2 MB, free: 18.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.459, allocations: 11.19 kB / 390.2 MB, free: 18.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.3e-05/0.4591, allocations: 346.6 kB / 390.5 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.4593, allocations: 98.05 kB / 390.6 MB, free: 18.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.4596, allocations: 224.2 kB / 390.8 MB, free: 18.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.4599, allocations: 141.5 kB / 391 MB, free: 18.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.771e-06/0.46, allocations: 0 / 391 MB, free: 18.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008658/0.4608, allocations: 434.4 kB / 391.4 MB, free: 17.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002948/0.4611, allocations: 1.424 MB / 392.8 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.226e-06/0.4612, allocations: 3.906 kB / 392.8 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003266/0.4615, allocations: 77.42 kB / 392.9 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/0.4619, allocations: 72.45 kB / 393 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/0.4637, allocations: 1.751 MB / 394.7 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/0.4642, allocations: 64.84 kB / 394.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.29e-05/0.4643, allocations: 19.38 kB / 394.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.946e-06/0.4643, allocations: 7.875 kB / 394.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007471/0.465, allocations: 379.4 kB / 395.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.154e-06/0.4651, allocations: 7.219 kB / 395.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002913/0.4654, allocations: 76.7 kB / 395.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.4657, allocations: 65.25 kB / 395.3 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.468, allocations: 1.749 MB / 397.1 MB, free: 29.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000372/0.4683, allocations: 60.77 kB / 397.1 MB, free: 29.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.849e-05/0.4684, allocations: 19.62 kB / 397.1 MB, free: 29.56 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.0001719/0.4686, allocations: 148.5 kB / 397.3 MB, free: 29.44 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.728e-05/0.4687, allocations: 35.19 kB / 397.3 MB, free: 29.42 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.4688, allocations: 44.45 kB / 397.4 MB, free: 29.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.266e-06/0.4688, allocations: 3.781 kB / 397.4 MB, free: 29.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.475e-06/0.4688, allocations: 3.906 kB / 397.4 MB, free: 29.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.924e-06/0.4688, allocations: 0 / 397.4 MB, free: 29.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.4704, allocations: 0.9701 MB / 398.3 MB, free: 28.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.166e-06/0.4705, allocations: 0 / 398.3 MB, free: 28.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.4707, allocations: 37.78 kB / 398.4 MB, free: 28.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002418/0.471, allocations: 60.75 kB / 398.4 MB, free: 28.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/0.471, allocations: 10.92 kB / 398.4 MB, free: 28.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/0.4729, allocations: 1.698 MB / 400.1 MB, free: 27.6 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.609e-06/0.4729, allocations: 0 / 400.1 MB, free: 27.6 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009634/0.4739, allocations: 0.5544 MB / 400.7 MB, free: 27.4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.4741, allocations: 148.1 kB / 400.8 MB, free: 27.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.568e-05/0.4742, allocations: 10.69 kB / 400.9 MB, free: 27.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.4746, allocations: 34.28 kB / 400.9 MB, free: 27.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.4747, allocations: 41.2 kB / 400.9 MB, free: 27.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/0.4748, allocations: 7.812 kB / 400.9 MB, free: 27.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003181/0.4751, allocations: 239.7 kB / 401.2 MB, free: 27.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-07/0.4751, allocations: 0 / 401.2 MB, free: 27.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001012/0.4761, allocations: 209.7 kB / 401.4 MB, free: 27.17 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.0001844/0.4763, allocations: 129.3 kB / 401.5 MB, free: 27.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.4777, allocations: 0.808 MB / 402.3 MB, free: 26.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.4777, allocations: 3.938 kB / 402.3 MB, free: 26.69 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004257/0.4782, allocations: 269.3 kB / 402.6 MB, free: 26.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.4786, allocations: 65.78 kB / 402.6 MB, free: 26.56 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.4799, allocations: 0.591 MB / 403.2 MB, free: 26.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000517/0.4805, allocations: 0.831 MB / 404.1 MB, free: 25.58 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003212/0.4808, allocations: 57.27 kB / 404.1 MB, free: 25.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.582e-05/0.4809, allocations: 30.53 kB / 404.1 MB, free: 25.56 MB / 330.7 MB Notification: Performance of SimCode: time 1.548e-06/0.4809, allocations: 0 / 404.1 MB, free: 25.56 MB / 330.7 MB Notification: Performance of Templates: time 0.01494/0.4959, allocations: 6.233 MB / 410.4 MB, free: 25.1 MB / 330.7 MB