Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.y|meanVoltage.y|hbridge.dc_n1.v|hbridge.dc_n1.i|hbridge.dc_p1.v|hbridge.dc_p1.i|hbridge.dc_n2.v|hbridge.dc_n2.i|hbridge.dc_p2.v|hbridge.dc_p2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL") Notification: Performance of loadModel(Modelica): time 1.951/1.951, allocations: 225.8 MB / 238.9 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.073e-05/4.084e-05, allocations: 7.984 kB / 292.2 MB, free: 8.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09134/0.0914, allocations: 50.41 MB / 342.6 MB, free: 5.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3668/0.4582, allocations: 87.19 MB / 429.8 MB, free: 7.066 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.4586, allocations: 86.08 kB / 429.9 MB, free: 7.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05743/0.516, allocations: 15.67 MB / 445.5 MB, free: 9.832 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.5161, allocations: 0 / 445.5 MB, free: 9.832 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.751e-05/0.5161, allocations: 27.98 kB / 445.6 MB, free: 9.805 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002371/0.5185, allocations: 1.072 MB / 446.6 MB, free: 8.734 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.5186, allocations: 8.031 kB / 446.6 MB, free: 8.727 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002687/0.5189, allocations: 114.7 kB / 446.7 MB, free: 8.613 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.5202, allocations: 0.6385 MB / 447.4 MB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.218e-05/0.5203, allocations: 80.44 kB / 447.5 MB, free: 8.039 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/0.5205, allocations: 88.81 kB / 447.5 MB, free: 7.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.5227, allocations: 0.9179 MB / 448.5 MB, free: 7.332 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.708e-05/0.5227, allocations: 7.938 kB / 448.5 MB, free: 7.324 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.5228, allocations: 36.69 kB / 448.5 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/0.5229, allocations: 20 kB / 448.5 MB, free: 7.297 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.5247, allocations: 0.675 MB / 449.2 MB, free: 6.891 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006968/0.5316, allocations: 3.782 MB / 453 MB, free: 3.957 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.5335, allocations: 0.7652 MB / 453.8 MB, free: 3.312 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.5346, allocations: 467.6 kB / 454.2 MB, free: 2.855 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.97e-05/0.5347, allocations: 8.781 kB / 454.2 MB, free: 2.848 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/0.5357, allocations: 447.8 kB / 454.7 MB, free: 2.391 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 4.128e-06/0.5358, allocations: 0 / 454.7 MB, free: 2.391 MB / 362.7 MB Notification: Performance of matching and sorting (n=83): time 0.002169/0.5379, allocations: 0.7978 MB / 455.5 MB, free: 1.578 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.5381, allocations: 119.5 kB / 455.6 MB, free: 1.438 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.5393, allocations: 0.5933 MB / 456.2 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.56e-05/0.5394, allocations: 49.7 kB / 456.2 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.5398, allocations: 360.8 kB / 456.6 MB, free: 436 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/0.5401, allocations: 244.5 kB / 456.8 MB, free: 188 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.5402, allocations: 16 kB / 456.8 MB, free: 172 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002855/0.5405, allocations: 390.7 kB / 457.2 MB, free: 15.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006582/0.5412, allocations: 241.8 kB / 457.4 MB, free: 15.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008076/0.542, allocations: 386.9 kB / 457.8 MB, free: 15.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007092/0.5427, allocations: 287.8 kB / 458.1 MB, free: 14.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.936e-06/0.5427, allocations: 3.984 kB / 458.1 MB, free: 14.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002292/0.545, allocations: 0.9047 MB / 459 MB, free: 13.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00078/0.5458, allocations: 1.348 MB / 460.3 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.5459, allocations: 4 kB / 460.4 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/0.547, allocations: 289.5 kB / 460.6 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006121/0.5477, allocations: 103.8 kB / 460.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007514/0.5552, allocations: 4.566 MB / 465.3 MB, free: 7.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008909/0.5561, allocations: 107.2 kB / 465.4 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.92e-05/0.5563, allocations: 24 kB / 465.4 MB, free: 7.082 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.5563, allocations: 4 kB / 465.4 MB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002089/0.5584, allocations: 0.8259 MB / 466.3 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.5584, allocations: 7.953 kB / 466.3 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.5595, allocations: 294.1 kB / 466.6 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005499/0.5601, allocations: 103.8 kB / 466.7 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007526/0.5677, allocations: 4.553 MB / 471.2 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008372/0.5685, allocations: 83.53 kB / 471.3 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-05/0.5686, allocations: 28 kB / 471.3 MB, free: 0.9102 MB / 378.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: 32 ($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,hbridge.andCondition_p.y,hbridge.andCondition_n.y,hbridge.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.transistor_p.off,hbridge.inverter_p.diode_p.off,hbridge.inverter_p.transistor_n.off,hbridge.inverter_p.diode_n.off,hbridge.inverter_n.andCondition_p.y,hbridge.inverter_n.andCondition_n.y,hbridge.inverter_n.transistor_p.off,hbridge.inverter_n.diode_p.off,hbridge.inverter_n.transistor_n.off,hbridge.inverter_n.diode_n.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 (70): * Single equations (assignments): 67 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 11,4 11} Notification: Performance of prepare postOptimizeDAE: time 0.000313/0.569, allocations: 169 kB / 471.5 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/0.5692, allocations: 90.92 kB / 471.6 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/0.5695, allocations: 96.38 kB / 471.7 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.5695, allocations: 11.94 kB / 471.7 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.527e-06/0.5695, allocations: 0 / 471.7 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.5695, allocations: 3.984 kB / 471.7 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004182/0.5737, allocations: 1.946 MB / 473.6 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.598e-06/0.5738, allocations: 0 / 473.6 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005253/0.5743, allocations: 79.89 kB / 473.7 MB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001094/0.5754, allocations: 273.5 kB / 474 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.407e-05/0.5755, allocations: 23.98 kB / 474 MB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007498/0.583, allocations: 4.556 MB / 478.6 MB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5831, allocations: 0 / 478.6 MB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003141/0.5862, allocations: 1.308 MB / 479.9 MB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005315/0.5868, allocations: 259.9 kB / 480.1 MB, free: 7.723 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.587, allocations: 16 kB / 480.1 MB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005984/0.5876, allocations: 43.97 kB / 480.2 MB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002658/0.5879, allocations: 88.59 kB / 480.3 MB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.856e-05/0.588, allocations: 19.98 kB / 480.3 MB, free: 7.559 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008954/0.5889, allocations: 463.2 kB / 480.7 MB, free: 7.109 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.99e-07/0.5889, allocations: 0 / 480.7 MB, free: 7.109 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001888/0.5908, allocations: 451.1 kB / 481.2 MB, free: 6.668 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,meanVoltage.x,inductor.i) * Number of discrete variables: 26 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hbridge.andCondition_p.y,hbridge.andCondition_n.y,hbridge.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.transistor_p.off,hbridge.inverter_p.diode_p.off,hbridge.inverter_p.transistor_n.off,hbridge.inverter_p.diode_n.off,hbridge.inverter_n.andCondition_p.y,hbridge.inverter_n.andCondition_n.y,hbridge.inverter_n.transistor_p.off,hbridge.inverter_n.diode_p.off,hbridge.inverter_n.transistor_n.off,hbridge.inverter_n.diode_n.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 (55): * Single equations (assignments): 47 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 11,4 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002792/0.5911, allocations: 154.5 kB / 481.3 MB, free: 6.508 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003928/0.595, allocations: 1.873 MB / 483.2 MB, free: 4.566 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.146e-06/0.5951, allocations: 4 kB / 483.2 MB, free: 4.562 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001447/0.5965, allocations: 0.7177 MB / 483.9 MB, free: 3.828 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009622/0.5975, allocations: 154.9 kB / 484.1 MB, free: 3.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/0.6011, allocations: 1.255 MB / 485.3 MB, free: 2.395 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009234/0.602, allocations: 1.02 MB / 486.3 MB, free: 1.348 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000689/0.6027, allocations: 114.6 kB / 486.5 MB, free: 1.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.6029, allocations: 43.44 kB / 486.5 MB, free: 1.188 MB / 394.7 MB Notification: Performance of SimCode: time 1.895e-06/0.6029, allocations: 0 / 486.5 MB, free: 1.188 MB / 394.7 MB Notification: Performance of Templates: time 0.04172/0.6446, allocations: 16.65 MB / 0.4914 GB, free: 0.7578 MB / 410.7 MB