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_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") Notification: Performance of loadModel(Modelica): time 1.886/1.886, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.072e-05, allocations: 7.984 kB / 292.2 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08859/0.08865, allocations: 50.41 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.376/0.4647, allocations: 86.03 MB / 428.6 MB, free: 8.238 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.465, allocations: 90.25 kB / 428.7 MB, free: 8.188 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0383/0.5033, allocations: 9.71 MB / 438.4 MB, free: 15.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.038e-06/0.5033, allocations: 0 / 438.4 MB, free: 15.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.297e-05/0.5034, allocations: 12 kB / 438.4 MB, free: 15.89 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.001604/0.505, allocations: 0.7673 MB / 439.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.5051, allocations: 12.03 kB / 439.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.5052, allocations: 67.25 kB / 439.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007533/0.506, allocations: 389.4 kB / 439.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.596e-05/0.5061, allocations: 39.02 kB / 439.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.5062, allocations: 48.5 kB / 439.7 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.5073, allocations: 465 kB / 440.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.5073, allocations: 4 kB / 440.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.455e-05/0.5074, allocations: 22.69 kB / 440.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.5074, allocations: 12 kB / 440.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000771/0.5082, allocations: 300.5 kB / 440.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003467/0.5117, allocations: 1.782 MB / 442.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.5128, allocations: 354.8 kB / 442.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005444/0.5133, allocations: 221.2 kB / 442.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.5134, allocations: 4 kB / 442.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000582/0.514, allocations: 259.7 kB / 443.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.591e-06/0.514, allocations: 3.938 kB / 443.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0009861/0.515, allocations: 358.5 kB / 443.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.474e-05/0.5151, allocations: 118.5 kB / 443.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005326/0.5157, allocations: 326.5 kB / 443.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.949e-05/0.5157, allocations: 37.33 kB / 443.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.516, allocations: 247.1 kB / 444.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.5161, allocations: 121.6 kB / 444.3 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.5162, allocations: 10.75 kB / 444.3 MB, free: 10.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.5164, allocations: 353.5 kB / 444.6 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.5167, allocations: 110.7 kB / 444.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004112/0.5171, allocations: 234.1 kB / 445 MB, free: 10.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/0.5175, allocations: 152.6 kB / 445.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.5175, allocations: 0 / 445.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001096/0.5186, allocations: 469.9 kB / 445.6 MB, free: 9.828 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007629/0.5194, allocations: 1.341 MB / 446.9 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.5194, allocations: 4 kB / 446.9 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003577/0.5198, allocations: 77.3 kB / 447 MB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.5203, allocations: 90.02 kB / 447.1 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.5226, allocations: 1.691 MB / 448.8 MB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004944/0.5231, allocations: 71.25 kB / 448.9 MB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.386e-05/0.5232, allocations: 15.06 kB / 448.9 MB, free: 6.543 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.5232, allocations: 4 kB / 448.9 MB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009607/0.5242, allocations: 420.7 kB / 449.3 MB, free: 6.234 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.373e-06/0.5242, allocations: 4.406 kB / 449.3 MB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002788/0.5245, allocations: 76.94 kB / 449.4 MB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004299/0.5249, allocations: 87.25 kB / 449.5 MB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003523/0.5285, allocations: 1.683 MB / 451.1 MB, free: 4.449 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008709/0.5294, allocations: 59.06 kB / 451.2 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-05/0.5295, allocations: 19.25 kB / 451.2 MB, free: 4.383 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.0003184/0.5298, allocations: 147.8 kB / 451.4 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.53, allocations: 43.47 kB / 451.4 MB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/0.5316, allocations: 394.3 kB / 451.8 MB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.5316, allocations: 4 kB / 451.8 MB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.5316, allocations: 11.89 kB / 451.8 MB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.5317, allocations: 3.984 kB / 451.8 MB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003253/0.5349, allocations: 0.9822 MB / 452.8 MB, free: 3.094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.535, allocations: 4.062 kB / 452.8 MB, free: 3.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007933/0.5358, allocations: 67.98 kB / 452.9 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004609/0.5363, allocations: 66.78 kB / 452.9 MB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.82e-05/0.5364, allocations: 18.36 kB / 452.9 MB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003409/0.5398, allocations: 1.68 MB / 454.6 MB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.751e-06/0.5398, allocations: 0 / 454.6 MB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/0.5421, allocations: 0.6449 MB / 455.3 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004207/0.5426, allocations: 152.3 kB / 455.4 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.5427, allocations: 13.31 kB / 455.4 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008104/0.5436, allocations: 39.53 kB / 455.5 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/0.5438, allocations: 46.64 kB / 455.5 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.63e-05/0.5439, allocations: 15.11 kB / 455.5 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006375/0.5446, allocations: 252 kB / 455.8 MB, free: 400 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.493e-06/0.5446, allocations: 0 / 455.8 MB, free: 400 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.002141/0.5468, allocations: 241.7 kB / 456 MB, free: 180 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.00031/0.5471, allocations: 126.9 kB / 456.1 MB, free: 52 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002858/0.55, allocations: 0.8742 MB / 457 MB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.617e-06/0.55, allocations: 0 / 457 MB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000987/0.551, allocations: 293.9 kB / 457.3 MB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000992/0.5521, allocations: 77.23 kB / 457.4 MB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003081/0.5552, allocations: 0.7234 MB / 458.1 MB, free: 14.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008759/0.5561, allocations: 0.8602 MB / 458.9 MB, free: 13.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007435/0.5568, allocations: 71.41 kB / 459 MB, free: 13.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.557, allocations: 31.42 kB / 459 MB, free: 13.14 MB / 378.7 MB Notification: Performance of SimCode: time 2.168e-06/0.5571, allocations: 0 / 459 MB, free: 13.14 MB / 378.7 MB Notification: Performance of Templates: time 0.02842/0.5855, allocations: 7.017 MB / 466.1 MB, free: 6.188 MB / 378.7 MB