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.91/1.91, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.595e-05/2.587e-05, allocations: 0 / 258.8 MB, free: 8.039 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2908, allocations: 44.5 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL): time 0.004846/0.2957, allocations: 2.919 MB / 306.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.298, allocations: 0.8492 MB / 307.1 MB, free: 9.816 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002934/0.2984, allocations: 19.94 kB / 307.1 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.2986, allocations: 55.53 kB / 307.2 MB, free: 9.742 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003638/0.299, allocations: 123.6 kB / 307.3 MB, free: 9.621 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005507/0.2995, allocations: 127.8 kB / 307.4 MB, free: 9.496 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000536/0.3001, allocations: 299.2 kB / 307.7 MB, free: 9.203 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003152/0.3004, allocations: 124.3 kB / 307.8 MB, free: 9.078 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.3006, allocations: 143.6 kB / 308 MB, free: 8.938 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003073/0.301, allocations: 171.3 kB / 308.1 MB, free: 8.77 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.989e-05/0.3011, allocations: 19.94 kB / 308.2 MB, free: 8.75 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.565e-05/0.3012, allocations: 20 kB / 308.2 MB, free: 8.73 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.3013, allocations: 75.67 kB / 308.3 MB, free: 8.656 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.3014, allocations: 36 kB / 308.3 MB, free: 8.621 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006012/0.302, allocations: 450.7 kB / 308.7 MB, free: 8.18 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.302, allocations: 0 / 308.7 MB, free: 8.18 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.302, allocations: 0 / 308.7 MB, free: 8.18 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.3021, allocations: 4 kB / 308.7 MB, free: 8.176 MB / 250.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.001791/0.3039, allocations: 0.6952 MB / 309.4 MB, free: 7.426 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.3039, allocations: 12.03 kB / 309.4 MB, free: 7.414 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.3041, allocations: 51.44 kB / 309.5 MB, free: 7.363 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007736/0.3049, allocations: 367 kB / 309.9 MB, free: 6.965 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.305, allocations: 44.98 kB / 309.9 MB, free: 6.922 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.3051, allocations: 40 kB / 309.9 MB, free: 6.883 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.3063, allocations: 452.6 kB / 310.4 MB, free: 6.422 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.3064, allocations: 4 kB / 310.4 MB, free: 6.418 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.774e-05/0.3065, allocations: 20 kB / 310.4 MB, free: 6.398 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.3065, allocations: 12 kB / 310.4 MB, free: 6.387 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.3075, allocations: 311.8 kB / 310.7 MB, free: 6.078 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003584/0.3111, allocations: 1.67 MB / 312.4 MB, free: 4.309 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.3123, allocations: 315.6 kB / 312.7 MB, free: 3.992 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.177e-05/0.3123, allocations: 4.281 kB / 312.7 MB, free: 3.988 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007156/0.313, allocations: 249.1 kB / 312.9 MB, free: 3.727 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 3.226e-06/0.3131, allocations: 0 / 312.9 MB, free: 3.727 MB / 250.7 MB Notification: Performance of matching and sorting (n=37): time 0.00246/0.3155, allocations: 0.631 MB / 313.6 MB, free: 3.066 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/0.3156, allocations: 110.8 kB / 313.7 MB, free: 2.934 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005266/0.3162, allocations: 304.7 kB / 314 MB, free: 2.629 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.131e-05/0.3163, allocations: 37.7 kB / 314 MB, free: 2.586 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.3165, allocations: 220.4 kB / 314.2 MB, free: 2.367 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.3167, allocations: 114.5 kB / 314.3 MB, free: 2.254 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.3167, allocations: 8 kB / 314.4 MB, free: 2.246 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3169, allocations: 346.8 kB / 314.7 MB, free: 1.898 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004397/0.3173, allocations: 116.8 kB / 314.8 MB, free: 1.785 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/0.3179, allocations: 247.8 kB / 315 MB, free: 1.484 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004988/0.3184, allocations: 174.7 kB / 315.2 MB, free: 1.309 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.3184, allocations: 3.953 kB / 315.2 MB, free: 1.305 MB / 250.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001388/0.3198, allocations: 0.4886 MB / 315.7 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005817/0.3204, allocations: 1.423 MB / 317.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.3205, allocations: 4 kB / 317.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000439/0.3209, allocations: 76.8 kB / 317.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004722/0.3214, allocations: 71.84 kB / 317.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/0.3239, allocations: 1.71 MB / 319 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005992/0.3245, allocations: 51.67 kB / 319 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.988e-05/0.3246, allocations: 24.06 kB / 319.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.3246, allocations: 2.031 kB / 319.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001117/0.3257, allocations: 414.4 kB / 319.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.3258, allocations: 7.953 kB / 319.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003361/0.3261, allocations: 76.8 kB / 319.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/0.3265, allocations: 59.91 kB / 319.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.3288, allocations: 1.722 MB / 321.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/0.3294, allocations: 51.64 kB / 321.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.3294, allocations: 16 kB / 321.4 MB, free: 10.71 MB / 266.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.transistor.off,chopperStepDown.diode.off,signalPWM.notFire,$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 (45): * Single equations (assignments): 43 * 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.0003776/0.3298, allocations: 179.9 kB / 321.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.572e-05/0.3299, allocations: 39.52 kB / 321.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.33, allocations: 48.06 kB / 321.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.3301, allocations: 7.938 kB / 321.7 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3301, allocations: 0 / 321.7 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.3301, allocations: 0 / 321.7 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002138/0.3322, allocations: 0.9175 MB / 322.6 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3323, allocations: 4.031 kB / 322.6 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004202/0.3327, allocations: 47.97 kB / 322.6 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003381/0.3331, allocations: 64.8 kB / 322.7 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.763e-05/0.3331, allocations: 12 kB / 322.7 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002274/0.3354, allocations: 1.718 MB / 324.4 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3354, allocations: 256 / 324.4 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.3372, allocations: 0.6325 MB / 325.1 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/0.3375, allocations: 148.5 kB / 325.2 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.3376, allocations: 19.95 kB / 325.2 MB, free: 6.617 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004711/0.3381, allocations: 31.97 kB / 325.3 MB, free: 6.586 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.3382, allocations: 31.95 kB / 325.3 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.3383, allocations: 19.94 kB / 325.3 MB, free: 6.535 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003697/0.3387, allocations: 235.2 kB / 325.5 MB, free: 6.309 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3387, allocations: 0 / 325.5 MB, free: 6.309 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00107/0.3398, allocations: 207.4 kB / 325.7 MB, free: 6.105 MB / 266.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.transistor.off,chopperStepDown.diode.off,signalPWM.notFire,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 (30): * Single equations (assignments): 23 * 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.0001961/0.34, allocations: 122.9 kB / 325.9 MB, free: 5.973 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00214/0.3421, allocations: 0.9007 MB / 326.8 MB, free: 5.023 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3421, allocations: 0 / 326.8 MB, free: 5.023 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007067/0.3429, allocations: 303.8 kB / 327.1 MB, free: 4.715 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005924/0.3435, allocations: 49.41 kB / 327.1 MB, free: 4.668 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.3461, allocations: 1.029 MB / 328.1 MB, free: 3.605 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/0.3467, allocations: 0.8357 MB / 329 MB, free: 2.742 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004297/0.3471, allocations: 55.25 kB / 329 MB, free: 2.691 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.831e-05/0.3472, allocations: 23.44 kB / 329.1 MB, free: 2.668 MB / 266.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3472, allocations: 0 / 329.1 MB, free: 2.668 MB / 266.7 MB Notification: Performance of Templates: time 0.01918/0.3664, allocations: 6.187 MB / 335.2 MB, free: 12.52 MB / 282.7 MB