Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") Notification: Performance of loadModel(Modelica): time 1.863/1.863, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.46e-05/2.466e-05, allocations: 4 kB / 292.7 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08983/0.08987, allocations: 50.42 MB / 343.1 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3632/0.4531, allocations: 86.2 MB / 429.3 MB, free: 8.016 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/0.4535, allocations: 89.19 kB / 429.4 MB, free: 7.965 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04036/0.4939, allocations: 10.04 MB / 439.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.188e-06/0.4939, allocations: 0 / 439.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.287e-05/0.494, allocations: 15 kB / 439.4 MB, free: 15.38 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.001668/0.4956, allocations: 0.7755 MB / 440.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.4957, allocations: 12.03 kB / 440.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.4959, allocations: 63.25 kB / 440.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007782/0.4967, allocations: 400.7 kB / 440.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.717e-05/0.4967, allocations: 36.25 kB / 440.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.4969, allocations: 60.91 kB / 440.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.4979, allocations: 486 kB / 441.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.498, allocations: 4 kB / 441.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/0.4981, allocations: 20.5 kB / 441.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.4981, allocations: 12 kB / 441.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008059/0.4989, allocations: 310.2 kB / 441.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003635/0.5026, allocations: 1.872 MB / 443.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.5037, allocations: 377.3 kB / 443.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005501/0.5043, allocations: 223.5 kB / 444.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.034e-05/0.5044, allocations: 4.328 kB / 444.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000584/0.505, allocations: 261.6 kB / 444.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 3.712e-06/0.505, allocations: 7.938 kB / 444.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.000955/0.506, allocations: 369.6 kB / 444.7 MB, free: 11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.521e-05/0.5061, allocations: 118.5 kB / 444.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005233/0.5066, allocations: 329.3 kB / 445.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.99e-05/0.5067, allocations: 37.39 kB / 445.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.5069, allocations: 259.6 kB / 445.4 MB, free: 10.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.5071, allocations: 131.2 kB / 445.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.5071, allocations: 13.12 kB / 445.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.5074, allocations: 353.8 kB / 445.9 MB, free: 9.918 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/0.5077, allocations: 117.9 kB / 446 MB, free: 9.848 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004288/0.5081, allocations: 243.8 kB / 446.2 MB, free: 9.617 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.5085, allocations: 161.8 kB / 446.4 MB, free: 9.496 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.5085, allocations: 4 kB / 446.4 MB, free: 9.492 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001104/0.5096, allocations: 493.5 kB / 446.9 MB, free: 9.105 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007644/0.5104, allocations: 1.332 MB / 448.2 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.523e-06/0.5105, allocations: 4 kB / 448.2 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003511/0.5108, allocations: 75.06 kB / 448.3 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/0.5113, allocations: 103.2 kB / 448.4 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.5136, allocations: 1.687 MB / 450.1 MB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/0.5141, allocations: 66.56 kB / 450.2 MB, free: 5.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-05/0.5142, allocations: 19.94 kB / 450.2 MB, free: 5.824 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.5142, allocations: 4 kB / 450.2 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009858/0.5152, allocations: 428.3 kB / 450.6 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.5152, allocations: 4 kB / 450.6 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004739/0.5157, allocations: 78.56 kB / 450.7 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007492/0.5165, allocations: 94.23 kB / 450.8 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/0.5189, allocations: 1.688 MB / 452.5 MB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004823/0.5194, allocations: 58.66 kB / 452.5 MB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/0.5195, allocations: 19.62 kB / 452.5 MB, free: 3.648 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.0002157/0.5197, allocations: 149 kB / 452.7 MB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.5198, allocations: 55.33 kB / 452.7 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.5209, allocations: 420 kB / 453.1 MB, free: 3.164 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.152e-06/0.5209, allocations: 4 kB / 453.1 MB, free: 3.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.5209, allocations: 7.984 kB / 453.2 MB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.926e-06/0.5209, allocations: 0 / 453.2 MB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.523, allocations: 1.028 MB / 454.2 MB, free: 2.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.523, allocations: 0 / 454.2 MB, free: 2.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004827/0.5235, allocations: 75.33 kB / 454.3 MB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002895/0.5238, allocations: 73.72 kB / 454.3 MB, free: 2.176 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-05/0.5239, allocations: 14.05 kB / 454.3 MB, free: 2.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/0.5261, allocations: 1.691 MB / 456 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.818e-06/0.5261, allocations: 0 / 456 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.5275, allocations: 0.675 MB / 456.7 MB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/0.5278, allocations: 157.8 kB / 456.9 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.265e-05/0.5279, allocations: 14.64 kB / 456.9 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/0.5284, allocations: 37.78 kB / 456.9 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.5285, allocations: 52.61 kB / 457 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.833e-05/0.5286, allocations: 14.62 kB / 457 MB, free: 15.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004203/0.529, allocations: 260.5 kB / 457.2 MB, free: 15.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.01e-07/0.529, allocations: 3.938 kB / 457.2 MB, free: 15.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001199/0.5302, allocations: 240.3 kB / 457.5 MB, free: 15.32 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.0002379/0.5305, allocations: 140.8 kB / 457.6 MB, free: 15.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001822/0.5323, allocations: 0.888 MB / 458.5 MB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.86e-06/0.5324, allocations: 0 / 458.5 MB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000608/0.533, allocations: 313.7 kB / 458.8 MB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006704/0.5337, allocations: 89.62 kB / 458.9 MB, free: 13.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.5359, allocations: 0.8198 MB / 459.7 MB, free: 13.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006614/0.5365, allocations: 0.8603 MB / 460.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004503/0.537, allocations: 76.22 kB / 460.6 MB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.5371, allocations: 31.44 kB / 460.7 MB, free: 12.01 MB / 378.7 MB Notification: Performance of SimCode: time 1.902e-06/0.5372, allocations: 0 / 460.7 MB, free: 12.01 MB / 378.7 MB Notification: Performance of Templates: time 0.02074/0.5579, allocations: 7.168 MB / 467.8 MB, free: 4.91 MB / 378.7 MB