Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") Notification: Performance of loadModel(Modelica): time 2.03/2.03, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.035e-05/4.079e-05, allocations: 13.95 kB / 292.2 MB, free: 8.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09442/0.09449, allocations: 50.42 MB / 342.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3696/0.4641, allocations: 86.25 MB / 428.8 MB, free: 7.969 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.4644, allocations: 89.7 kB / 428.9 MB, free: 7.918 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04062/0.5051, allocations: 10.05 MB / 439 MB, free: 15.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.33e-06/0.5051, allocations: 0 / 439 MB, free: 15.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.536e-05/0.5052, allocations: 15.98 kB / 439 MB, free: 15.33 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.5068, allocations: 0.7727 MB / 439.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.5069, allocations: 8.031 kB / 439.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.5071, allocations: 67.23 kB / 439.8 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007808/0.5079, allocations: 405.5 kB / 440.2 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.617e-05/0.5079, allocations: 44.44 kB / 440.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.5081, allocations: 52.34 kB / 440.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.5092, allocations: 484.7 kB / 440.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.5092, allocations: 3.984 kB / 440.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.764e-05/0.5093, allocations: 17.81 kB / 440.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.5093, allocations: 12 kB / 440.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008038/0.5101, allocations: 311.2 kB / 441.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003704/0.5139, allocations: 1.869 MB / 443 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.515, allocations: 369.6 kB / 443.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005617/0.5156, allocations: 232.5 kB / 443.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.279e-05/0.5157, allocations: 8.328 kB / 443.6 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000581/0.5163, allocations: 256.1 kB / 443.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 4.366e-06/0.5163, allocations: 3.938 kB / 443.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009712/0.5173, allocations: 377.6 kB / 444.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.801e-05/0.5174, allocations: 110.8 kB / 444.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005389/0.5179, allocations: 335.8 kB / 444.6 MB, free: 10.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.266e-05/0.518, allocations: 35.83 kB / 444.7 MB, free: 10.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.5183, allocations: 295.1 kB / 445 MB, free: 10.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.5184, allocations: 137.1 kB / 445.1 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.5185, allocations: 13.06 kB / 445.1 MB, free: 10.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.5187, allocations: 333.8 kB / 445.4 MB, free: 9.828 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.519, allocations: 113.4 kB / 445.5 MB, free: 9.762 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004279/0.5194, allocations: 243.7 kB / 445.8 MB, free: 9.531 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.5198, allocations: 160.7 kB / 445.9 MB, free: 9.414 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.818e-06/0.5198, allocations: 0 / 445.9 MB, free: 9.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001069/0.5209, allocations: 476.6 kB / 446.4 MB, free: 9.043 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007578/0.5217, allocations: 1.33 MB / 447.7 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.5217, allocations: 7.938 kB / 447.7 MB, free: 7.621 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003577/0.5221, allocations: 70.69 kB / 447.8 MB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005238/0.5226, allocations: 103.7 kB / 447.9 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.5249, allocations: 1.688 MB / 449.6 MB, free: 5.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005138/0.5254, allocations: 57.91 kB / 449.7 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.683e-05/0.5255, allocations: 22.25 kB / 449.7 MB, free: 5.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.5255, allocations: 4 kB / 449.7 MB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009927/0.5265, allocations: 435 kB / 450.1 MB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.797e-06/0.5266, allocations: 4 kB / 450.1 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002716/0.5268, allocations: 66.77 kB / 450.2 MB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.5273, allocations: 91.08 kB / 450.3 MB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.5295, allocations: 1.694 MB / 452 MB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004227/0.53, allocations: 55.05 kB / 452 MB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.585e-05/0.5301, allocations: 19.81 kB / 452 MB, free: 3.602 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.0002348/0.5303, allocations: 146.6 kB / 452.2 MB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.5305, allocations: 47.42 kB / 452.2 MB, free: 3.418 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.5315, allocations: 425.9 kB / 452.6 MB, free: 3.117 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.775e-06/0.5315, allocations: 7.938 kB / 452.7 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.255e-06/0.5316, allocations: 0 / 452.7 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.372e-06/0.5316, allocations: 0 / 452.7 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.5337, allocations: 1.031 MB / 453.7 MB, free: 2.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.5337, allocations: 4 kB / 453.7 MB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004979/0.5342, allocations: 75.64 kB / 453.8 MB, free: 2.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002943/0.5345, allocations: 71.19 kB / 453.8 MB, free: 2.133 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/0.5346, allocations: 10.38 kB / 453.8 MB, free: 2.129 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/0.5368, allocations: 1.686 MB / 455.5 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.837e-06/0.5368, allocations: 4.031 kB / 455.5 MB, free: 500 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.5383, allocations: 0.6768 MB / 456.2 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.5386, allocations: 158.1 kB / 456.4 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.536e-05/0.5387, allocations: 15.2 kB / 456.4 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004648/0.5391, allocations: 43.2 kB / 456.4 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.5393, allocations: 55.5 kB / 456.5 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.951e-05/0.5394, allocations: 15.25 kB / 456.5 MB, free: 15.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004416/0.5398, allocations: 257.5 kB / 456.7 MB, free: 15.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-07/0.5398, allocations: 0 / 456.7 MB, free: 15.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001198/0.5411, allocations: 248.5 kB / 457 MB, free: 15.27 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.0002347/0.5413, allocations: 127.5 kB / 457.1 MB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001755/0.5431, allocations: 0.872 MB / 458 MB, free: 14.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.72e-06/0.5431, allocations: 0 / 458 MB, free: 14.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006109/0.5437, allocations: 313.4 kB / 458.3 MB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005782/0.5443, allocations: 72.89 kB / 458.4 MB, free: 14.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.5477, allocations: 0.8583 MB / 459.2 MB, free: 13.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009708/0.5487, allocations: 0.8635 MB / 460.1 MB, free: 12.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.549, allocations: 43.36 kB / 460.1 MB, free: 12.36 MB / 378.7 MB Notification: Performance of SimCode: time 2.403e-06/0.549, allocations: 4 kB / 460.1 MB, free: 12.35 MB / 378.7 MB Notification: Performance of Templates: time 0.02514/0.5742, allocations: 7.917 MB / 468 MB, free: 4.5 MB / 378.7 MB