Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor.v|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepUp.vDC1|chopperStepUp.iDC1|chopperStepUp.vDC2|chopperStepUp.iDC2",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") Notification: Performance of loadModel(Modelica): time 1.999/1.999, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.7e-05/2.715e-05, allocations: 4 kB / 292.7 MB, free: 8.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08785/0.0879, allocations: 50.42 MB / 343.1 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3729/0.4608, allocations: 86.02 MB / 429.1 MB, free: 8.223 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004463/0.4613, allocations: 89.23 kB / 429.2 MB, free: 8.172 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06615/0.5275, allocations: 9.718 MB / 438.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.019e-06/0.5275, allocations: 0 / 438.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.304e-05/0.5276, allocations: 8 kB / 438.9 MB, free: 15.87 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002574/0.5302, allocations: 0.7666 MB / 439.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.5303, allocations: 12.03 kB / 439.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002563/0.5305, allocations: 63.25 kB / 439.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.5318, allocations: 395.1 kB / 440.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.326e-05/0.5319, allocations: 41.83 kB / 440.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.5321, allocations: 49.42 kB / 440.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.5338, allocations: 462.1 kB / 440.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.5339, allocations: 4 kB / 440.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.534, allocations: 22.11 kB / 440.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/0.534, allocations: 16 kB / 440.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.5353, allocations: 294.5 kB / 441 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003479/0.5388, allocations: 1.79 MB / 442.8 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.5399, allocations: 351.6 kB / 443.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005488/0.5405, allocations: 218.8 kB / 443.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/0.5406, allocations: 4 kB / 443.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005629/0.5411, allocations: 260.2 kB / 443.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.384e-06/0.5412, allocations: 0 / 443.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0009082/0.5421, allocations: 358.7 kB / 444 MB, free: 11.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.001e-05/0.5422, allocations: 121.7 kB / 444.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005041/0.5427, allocations: 319.7 kB / 444.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.907e-05/0.5428, allocations: 43.77 kB / 444.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.543, allocations: 245.2 kB / 444.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.5432, allocations: 128 kB / 444.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.5432, allocations: 11.75 kB / 444.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.5434, allocations: 348.1 kB / 445.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.5437, allocations: 109.9 kB / 445.3 MB, free: 10.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004156/0.5442, allocations: 233.3 kB / 445.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003519/0.5445, allocations: 156.8 kB / 445.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.573e-06/0.5446, allocations: 0 / 445.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001077/0.5457, allocations: 475.5 kB / 446.1 MB, free: 9.793 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007499/0.5464, allocations: 1.334 MB / 447.5 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.5464, allocations: 4 kB / 447.5 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003451/0.5468, allocations: 75.14 kB / 447.5 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.5473, allocations: 95.25 kB / 447.6 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.5496, allocations: 1.686 MB / 449.3 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004765/0.5501, allocations: 66.56 kB / 449.4 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.507e-05/0.5501, allocations: 22.88 kB / 449.4 MB, free: 6.516 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.5502, allocations: 4 kB / 449.4 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009478/0.5511, allocations: 412.2 kB / 449.8 MB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.6e-06/0.5511, allocations: 8.031 kB / 449.8 MB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002995/0.5514, allocations: 86.8 kB / 449.9 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/0.5519, allocations: 79.89 kB / 450 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.5541, allocations: 1.686 MB / 451.7 MB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004405/0.5545, allocations: 62.06 kB / 451.7 MB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.331e-05/0.5546, allocations: 18.75 kB / 451.7 MB, free: 4.352 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,chopperStepUp.andCondition_p.y,chopperStepUp.fire_p,chopperStepUp.transistor.off,chopperStepUp.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 (50): * Single equations (assignments): 48 * 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.0001962/0.5548, allocations: 150.3 kB / 451.9 MB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.655e-05/0.5549, allocations: 39.53 kB / 451.9 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009659/0.5559, allocations: 395.9 kB / 452.3 MB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.5559, allocations: 8 kB / 452.3 MB, free: 3.883 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.881e-06/0.556, allocations: 7.891 kB / 452.3 MB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.401e-06/0.556, allocations: 0 / 452.3 MB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/0.5579, allocations: 0.9739 MB / 453.3 MB, free: 3.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.422e-06/0.5579, allocations: 0 / 453.3 MB, free: 3.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.5584, allocations: 71.92 kB / 453.4 MB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002726/0.5587, allocations: 70.53 kB / 453.4 MB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.245e-05/0.5587, allocations: 15.55 kB / 453.5 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002115/0.5609, allocations: 1.682 MB / 455.1 MB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5609, allocations: 4.031 kB / 455.1 MB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.5622, allocations: 0.6387 MB / 455.8 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.5625, allocations: 160.3 kB / 455.9 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.593e-05/0.5626, allocations: 10.94 kB / 455.9 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/0.563, allocations: 47.2 kB / 456 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.5632, allocations: 43.69 kB / 456 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.34e-05/0.5632, allocations: 10.94 kB / 456 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003997/0.5636, allocations: 251.8 kB / 456.3 MB, free: 372 kB / 362.7 MB Notification: Performance of sort global known variables: time 8.5e-07/0.5637, allocations: 4 kB / 456.3 MB, free: 368 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001122/0.5648, allocations: 231.9 kB / 456.5 MB, free: 156 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanCurrent.x,meanVoltage.x,inductor.i,capacitor.v) * Number of discrete variables: 15 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chopperStepUp.andCondition_p.y,chopperStepUp.fire_p,chopperStepUp.transistor.off,chopperStepUp.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 (36): * Single equations (assignments): 29 * 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.000218/0.565, allocations: 138.9 kB / 456.7 MB, free: 16 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.5667, allocations: 0.87 MB / 457.5 MB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.999e-06/0.5667, allocations: 0.625 kB / 457.5 MB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000573/0.5673, allocations: 301.5 kB / 457.8 MB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000569/0.5679, allocations: 65.25 kB / 457.9 MB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.5698, allocations: 0.7211 MB / 458.6 MB, free: 14.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006136/0.5704, allocations: 0.8563 MB / 459.5 MB, free: 13.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004095/0.5709, allocations: 75.41 kB / 459.5 MB, free: 13.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.571, allocations: 31.44 kB / 459.6 MB, free: 13.12 MB / 378.7 MB Notification: Performance of SimCode: time 1.527e-06/0.571, allocations: 0 / 459.6 MB, free: 13.12 MB / 378.7 MB Notification: Performance of Templates: time 0.02114/0.5921, allocations: 7.016 MB / 466.6 MB, free: 6.172 MB / 378.7 MB