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_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") Notification: Performance of loadModel(Modelica): time 1.917/1.917, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.122e-05/3.128e-05, allocations: 4 kB / 292.2 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08908/0.08913, allocations: 50.42 MB / 342.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.381/0.4701, allocations: 86.2 MB / 428.8 MB, free: 8.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.4704, allocations: 92.5 kB / 428.9 MB, free: 8.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03948/0.5099, allocations: 10.05 MB / 438.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.962e-06/0.51, allocations: 0 / 438.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.926e-05/0.51, allocations: 8 kB / 438.9 MB, free: 15.44 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.001706/0.5117, allocations: 0.7855 MB / 439.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.5118, allocations: 8.031 kB / 439.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.512, allocations: 63.25 kB / 439.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000772/0.5128, allocations: 393.2 kB / 440.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.993e-05/0.5128, allocations: 37.88 kB / 440.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.513, allocations: 58.03 kB / 440.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.5141, allocations: 494.3 kB / 440.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.5141, allocations: 0 / 440.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.567e-05/0.5142, allocations: 18.44 kB / 440.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.5142, allocations: 12 kB / 440.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008078/0.515, allocations: 311.3 kB / 441.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003667/0.5187, allocations: 1.875 MB / 442.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.5199, allocations: 372.6 kB / 443.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005561/0.5205, allocations: 224.2 kB / 443.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.386e-05/0.5205, allocations: 4.328 kB / 443.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000569/0.5211, allocations: 262 kB / 443.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 3.377e-06/0.5211, allocations: 3.938 kB / 443.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009614/0.5221, allocations: 379 kB / 444.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.7e-05/0.5222, allocations: 114.8 kB / 444.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005455/0.5228, allocations: 333 kB / 444.6 MB, free: 10.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/0.5228, allocations: 36.58 kB / 444.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.5231, allocations: 253.8 kB / 444.9 MB, free: 10.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.5233, allocations: 133.3 kB / 445 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.5233, allocations: 13.5 kB / 445 MB, free: 10.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.5235, allocations: 353.9 kB / 445.4 MB, free: 9.973 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.5238, allocations: 112.9 kB / 445.5 MB, free: 9.906 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004323/0.5243, allocations: 245.1 kB / 445.7 MB, free: 9.676 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/0.5247, allocations: 161.4 kB / 445.9 MB, free: 9.555 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.84e-06/0.5247, allocations: 4 kB / 445.9 MB, free: 9.551 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001123/0.5258, allocations: 495.5 kB / 446.4 MB, free: 9.164 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007469/0.5266, allocations: 1.339 MB / 447.7 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.262e-06/0.5266, allocations: 0 / 447.7 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000362/0.527, allocations: 73.19 kB / 447.8 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000528/0.5276, allocations: 102.3 kB / 447.9 MB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/0.5298, allocations: 1.689 MB / 449.6 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005441/0.5304, allocations: 70.12 kB / 449.6 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.773e-05/0.5305, allocations: 19.31 kB / 449.7 MB, free: 5.875 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.5305, allocations: 4 kB / 449.7 MB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009807/0.5315, allocations: 424.2 kB / 450.1 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.529e-06/0.5315, allocations: 7.938 kB / 450.1 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003036/0.5318, allocations: 73.92 kB / 450.2 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004737/0.5323, allocations: 84.22 kB / 450.2 MB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.5345, allocations: 1.7 MB / 451.9 MB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/0.535, allocations: 58.41 kB / 452 MB, free: 3.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/0.5351, allocations: 23.38 kB / 452 MB, free: 3.703 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.0002098/0.5353, allocations: 136.5 kB / 452.1 MB, free: 3.574 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.5354, allocations: 55.33 kB / 452.2 MB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.5365, allocations: 421 kB / 452.6 MB, free: 3.227 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.396e-06/0.5365, allocations: 11.94 kB / 452.6 MB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.694e-06/0.5365, allocations: 0 / 452.6 MB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.444e-06/0.5365, allocations: 7.922 kB / 452.6 MB, free: 3.207 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/0.5386, allocations: 1.038 MB / 453.7 MB, free: 2.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.806e-06/0.5386, allocations: 0 / 453.7 MB, free: 2.352 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004962/0.5391, allocations: 71.89 kB / 453.7 MB, free: 2.281 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002818/0.5394, allocations: 63.2 kB / 453.8 MB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-05/0.5395, allocations: 13.36 kB / 453.8 MB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/0.5416, allocations: 1.692 MB / 455.5 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.788e-06/0.5417, allocations: 4.062 kB / 455.5 MB, free: 0.582 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.543, allocations: 0.6819 MB / 456.2 MB, free: 40 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/0.5433, allocations: 158.5 kB / 456.3 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.323e-05/0.5435, allocations: 13.95 kB / 456.4 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004796/0.5439, allocations: 42.53 kB / 456.4 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.5441, allocations: 42.3 kB / 456.4 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.69e-05/0.5442, allocations: 19.44 kB / 456.5 MB, free: 15.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00041/0.5446, allocations: 263 kB / 456.7 MB, free: 15.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.23e-07/0.5446, allocations: 4 kB / 456.7 MB, free: 15.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001185/0.5458, allocations: 243.4 kB / 457 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.0002218/0.546, allocations: 132.9 kB / 457.1 MB, free: 15.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.5478, allocations: 0.8846 MB / 458 MB, free: 14.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.071e-06/0.5479, allocations: 4 kB / 458 MB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006058/0.5485, allocations: 307 kB / 458.3 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.0006042/0.5491, allocations: 77.59 kB / 458.4 MB, free: 13.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.5513, allocations: 0.8277 MB / 459.2 MB, free: 13.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006514/0.552, allocations: 0.8681 MB / 460.1 MB, free: 12.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004461/0.5525, allocations: 68.23 kB / 460.1 MB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.5526, allocations: 35.42 kB / 460.2 MB, free: 12.01 MB / 378.7 MB Notification: Performance of SimCode: time 1.8e-06/0.5526, allocations: 0 / 460.2 MB, free: 12.01 MB / 378.7 MB Notification: Performance of Templates: time 0.01947/0.5721, allocations: 7.171 MB / 467.3 MB, free: 4.91 MB / 378.7 MB