Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") Notification: Performance of loadModel(Modelica): time 1.947/1.947, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.367e-05/3.375e-05, allocations: 7.984 kB / 292.1 MB, free: 8.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09004/0.09009, allocations: 50.42 MB / 342.6 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4079/0.498, allocations: 86.07 MB / 428.6 MB, free: 8.105 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.4983, allocations: 83.02 kB / 428.7 MB, free: 8.062 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03955/0.5379, allocations: 9.724 MB / 438.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.602e-06/0.5379, allocations: 4 kB / 438.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.133e-05/0.538, allocations: 12 kB / 438.5 MB, free: 15.74 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.001696/0.5397, allocations: 0.7618 MB / 439.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.5398, allocations: 8.031 kB / 439.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.5399, allocations: 63.25 kB / 439.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007706/0.5407, allocations: 391 kB / 439.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.356e-05/0.5408, allocations: 42.88 kB / 439.7 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.5409, allocations: 50.06 kB / 439.8 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.542, allocations: 467.1 kB / 440.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.542, allocations: 0 / 440.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.053e-05/0.5421, allocations: 24.75 kB / 440.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.5422, allocations: 12 kB / 440.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007911/0.543, allocations: 298.3 kB / 440.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003635/0.5466, allocations: 1.783 MB / 442.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.5477, allocations: 359.2 kB / 442.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005639/0.5483, allocations: 215.6 kB / 442.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.708e-05/0.5484, allocations: 4 kB / 442.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005799/0.549, allocations: 257.2 kB / 443.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.775e-06/0.549, allocations: 3.938 kB / 443.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0009466/0.5499, allocations: 359.7 kB / 443.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.5501, allocations: 122.1 kB / 443.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005366/0.5506, allocations: 318.1 kB / 443.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.371e-05/0.5507, allocations: 40.95 kB / 444 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.5509, allocations: 284.7 kB / 444.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.5511, allocations: 128.5 kB / 444.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.5512, allocations: 14.31 kB / 444.4 MB, free: 10.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.5513, allocations: 325.3 kB / 444.7 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002975/0.5516, allocations: 111.4 kB / 444.8 MB, free: 10.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004258/0.5521, allocations: 234.9 kB / 445 MB, free: 10.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/0.5525, allocations: 145.1 kB / 445.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.886e-06/0.5525, allocations: 7.984 kB / 445.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00106/0.5536, allocations: 449.7 kB / 445.6 MB, free: 9.668 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007588/0.5544, allocations: 1.338 MB / 447 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.5544, allocations: 4 kB / 447 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003706/0.5548, allocations: 72.73 kB / 447 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005079/0.5553, allocations: 95.69 kB / 447.1 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.5576, allocations: 1.693 MB / 448.8 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000597/0.5582, allocations: 67.12 kB / 448.9 MB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.729e-05/0.5583, allocations: 27.81 kB / 448.9 MB, free: 6.375 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.5583, allocations: 4 kB / 448.9 MB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009643/0.5593, allocations: 414.9 kB / 449.3 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5593, allocations: 4 kB / 449.3 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002772/0.5596, allocations: 70.61 kB / 449.4 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004564/0.5601, allocations: 87.45 kB / 449.5 MB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.5623, allocations: 1.676 MB / 451.2 MB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003946/0.5627, allocations: 50.59 kB / 451.2 MB, free: 4.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/0.5627, allocations: 27.38 kB / 451.2 MB, free: 4.234 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.0002203/0.563, allocations: 140.9 kB / 451.4 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.5631, allocations: 47.45 kB / 451.4 MB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009973/0.5641, allocations: 397.5 kB / 451.8 MB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.5642, allocations: 4 kB / 451.8 MB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.339e-06/0.5642, allocations: 3.953 kB / 451.8 MB, free: 3.766 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.049e-06/0.5642, allocations: 4 kB / 451.8 MB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00201/0.5662, allocations: 0.9751 MB / 452.8 MB, free: 2.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.442e-06/0.5662, allocations: 4 kB / 452.8 MB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004791/0.5667, allocations: 75.8 kB / 452.9 MB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002921/0.567, allocations: 77.25 kB / 453 MB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/0.5671, allocations: 11.5 kB / 453 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/0.5693, allocations: 1.673 MB / 454.6 MB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.059e-06/0.5693, allocations: 0 / 454.6 MB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.5706, allocations: 0.6467 MB / 455.3 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.5709, allocations: 155.2 kB / 455.4 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.793e-05/0.571, allocations: 10.81 kB / 455.4 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004508/0.5715, allocations: 39.39 kB / 455.5 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.5717, allocations: 49.72 kB / 455.5 MB, free: 468 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.048e-05/0.5717, allocations: 11.98 kB / 455.5 MB, free: 456 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004121/0.5722, allocations: 255.5 kB / 455.8 MB, free: 252 kB / 362.7 MB Notification: Performance of sort global known variables: time 7.87e-07/0.5722, allocations: 0 / 455.8 MB, free: 252 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001158/0.5734, allocations: 234 kB / 456 MB, free: 40 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.0002517/0.5736, allocations: 134.1 kB / 456.2 MB, free: 15.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001687/0.5753, allocations: 0.8614 MB / 457 MB, free: 15.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.703e-06/0.5754, allocations: 0 / 457 MB, free: 15.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005781/0.5759, allocations: 295.5 kB / 457.3 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.0005565/0.5765, allocations: 73.62 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.001925/0.5785, allocations: 0.7513 MB / 458.1 MB, free: 14.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006219/0.5791, allocations: 0.8595 MB / 459 MB, free: 13.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.5793, allocations: 39.06 kB / 459 MB, free: 13.25 MB / 378.7 MB Notification: Performance of SimCode: time 3.912e-06/0.5793, allocations: 0 / 459 MB, free: 13.25 MB / 378.7 MB Notification: Performance of Templates: time 0.01381/0.5931, allocations: 7.627 MB / 466.7 MB, free: 5.719 MB / 378.7 MB