Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor.v|inductorSource.i|meanCurrent.x|meanVoltage.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") Notification: Performance of loadModel(Modelica): time 1.896/1.896, allocations: 205.8 MB / 218.9 MB, free: 9.355 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.906e-05/2.923e-05, allocations: 4 kB / 269.4 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08281/0.08286, allocations: 47.58 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3331/0.416, allocations: 83.11 MB / 400.1 MB, free: 5.02 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.4164, allocations: 83.94 kB / 400.1 MB, free: 4.973 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02966/0.446, allocations: 7.593 MB / 407.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.782e-06/0.4461, allocations: 4 kB / 407.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4e-05/0.4461, allocations: 11.94 kB / 407.8 MB, free: 14.53 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001471/0.4476, allocations: 0.7107 MB / 408.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.4477, allocations: 8.031 kB / 408.5 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.4478, allocations: 63.23 kB / 408.5 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007184/0.4486, allocations: 373.5 kB / 408.9 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.564e-05/0.4486, allocations: 39.56 kB / 408.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.4488, allocations: 45.44 kB / 409 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.4498, allocations: 442.2 kB / 409.4 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.4498, allocations: 0 / 409.4 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.677e-05/0.4499, allocations: 25.23 kB / 409.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.4499, allocations: 12 kB / 409.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007425/0.4507, allocations: 286.6 kB / 409.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003362/0.4541, allocations: 1.705 MB / 411.4 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008626/0.455, allocations: 311.4 kB / 411.7 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005045/0.4555, allocations: 198.1 kB / 411.9 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.4555, allocations: 4 kB / 411.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005215/0.4561, allocations: 243.3 kB / 412.2 MB, free: 10.78 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 3.834e-06/0.4561, allocations: 0 / 412.2 MB, free: 10.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=39): time 0.000864/0.457, allocations: 339.5 kB / 412.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.143e-05/0.4571, allocations: 118.6 kB / 412.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005251/0.4576, allocations: 310.9 kB / 412.9 MB, free: 10.13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.573e-05/0.4577, allocations: 43.7 kB / 413 MB, free: 10.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.4579, allocations: 228.8 kB / 413.2 MB, free: 9.918 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.4581, allocations: 120.4 kB / 413.3 MB, free: 9.816 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.4581, allocations: 13.5 kB / 413.3 MB, free: 9.812 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.4583, allocations: 347.8 kB / 413.7 MB, free: 9.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.4586, allocations: 100.8 kB / 413.8 MB, free: 9.422 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003988/0.459, allocations: 230.7 kB / 414 MB, free: 9.191 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.4594, allocations: 160.4 kB / 414.1 MB, free: 9.066 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.037e-06/0.4594, allocations: 3.938 kB / 414.1 MB, free: 9.062 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00102/0.4604, allocations: 458.2 kB / 414.6 MB, free: 8.699 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007602/0.4612, allocations: 1.34 MB / 415.9 MB, free: 7.277 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.4612, allocations: 4 kB / 415.9 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003599/0.4616, allocations: 76.89 kB / 416 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.462, allocations: 79.83 kB / 416.1 MB, free: 7.137 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.4643, allocations: 1.689 MB / 417.8 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000512/0.4648, allocations: 78.31 kB / 417.9 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-05/0.4649, allocations: 18.42 kB / 417.9 MB, free: 5.414 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.4649, allocations: 4 kB / 417.9 MB, free: 5.41 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009085/0.4658, allocations: 401.8 kB / 418.3 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.363e-06/0.4658, allocations: 4 kB / 418.3 MB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002783/0.4661, allocations: 72.33 kB / 418.3 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/0.4665, allocations: 74.97 kB / 418.4 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.4687, allocations: 1.69 MB / 420.1 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.4692, allocations: 55.3 kB / 420.2 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.4692, allocations: 15.88 kB / 420.2 MB, free: 3.285 MB / 330.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,meanCurrent.y,$PRE.meanVoltage.y,meanVoltage.y,$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 (48): * Single equations (assignments): 46 * 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.0002016/0.4694, allocations: 142.5 kB / 420.3 MB, free: 3.156 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.4696, allocations: 51.42 kB / 420.4 MB, free: 3.105 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.4697, allocations: 46.56 kB / 420.4 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.746e-06/0.4697, allocations: 4 kB / 420.4 MB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.76e-06/0.4697, allocations: 0 / 420.4 MB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.161e-06/0.4698, allocations: 7.953 kB / 420.4 MB, free: 3.066 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.4716, allocations: 0.9137 MB / 421.3 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.4716, allocations: 7.984 kB / 421.3 MB, free: 2.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/0.472, allocations: 43.92 kB / 421.4 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002818/0.4723, allocations: 71.53 kB / 421.5 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.4723, allocations: 13.89 kB / 421.5 MB, free: 2.195 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/0.4745, allocations: 1.672 MB / 423.1 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.177e-06/0.4745, allocations: 0 / 423.1 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.4757, allocations: 0.5922 MB / 423.7 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002679/0.476, allocations: 149.8 kB / 423.9 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.363e-05/0.4761, allocations: 10.88 kB / 423.9 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/0.4765, allocations: 34.84 kB / 423.9 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.4767, allocations: 35.52 kB / 424 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.051e-05/0.4767, allocations: 12.05 kB / 424 MB, free: 15.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003983/0.4772, allocations: 250.5 kB / 424.2 MB, free: 15.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.27e-07/0.4772, allocations: 4 kB / 424.2 MB, free: 15.69 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001162/0.4783, allocations: 219.7 kB / 424.4 MB, free: 15.49 MB / 346.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,inductorSource.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,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 (32): * Single equations (assignments): 25 * 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.0002167/0.4786, allocations: 130.8 kB / 424.6 MB, free: 15.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.4802, allocations: 0.8436 MB / 425.4 MB, free: 14.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.935e-06/0.4802, allocations: 0 / 425.4 MB, free: 14.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005118/0.4807, allocations: 282 kB / 425.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005526/0.4813, allocations: 79.52 kB / 425.8 MB, free: 14.36 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.4832, allocations: 0.6807 MB / 426.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006053/0.4838, allocations: 0.8443 MB / 427.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003799/0.4842, allocations: 63.27 kB / 427.3 MB, free: 12.78 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.324e-05/0.4843, allocations: 27.44 kB / 427.4 MB, free: 12.75 MB / 346.7 MB Notification: Performance of SimCode: time 1.762e-06/0.4844, allocations: 0 / 427.4 MB, free: 12.75 MB / 346.7 MB Notification: Performance of Templates: time 0.01808/0.5024, allocations: 6.578 MB / 434 MB, free: 6.23 MB / 346.7 MB