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_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL") Notification: Performance of loadModel(Modelica): time 1.962/1.962, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.256e-05/2.26e-05, allocations: 0 / 292.7 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09043/0.09048, allocations: 50.42 MB / 343.1 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3663/0.4568, allocations: 87.18 MB / 430.3 MB, free: 7.074 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.4571, allocations: 84.5 kB / 430.4 MB, free: 7.027 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05678/0.5139, allocations: 15.67 MB / 446 MB, free: 9.848 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.461e-06/0.514, allocations: 0 / 446 MB, free: 9.848 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.238e-05/0.5141, allocations: 27.98 kB / 446.1 MB, free: 9.82 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.002524/0.5166, allocations: 1.075 MB / 447.1 MB, free: 8.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.5167, allocations: 8.031 kB / 447.1 MB, free: 8.742 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002831/0.517, allocations: 114.7 kB / 447.3 MB, free: 8.629 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.5183, allocations: 0.6434 MB / 447.9 MB, free: 8.102 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.058e-05/0.5184, allocations: 70.77 kB / 448 MB, free: 8.059 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/0.5186, allocations: 90.38 kB / 448.1 MB, free: 8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.5207, allocations: 0.9177 MB / 449 MB, free: 7.352 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/0.5208, allocations: 3.938 kB / 449 MB, free: 7.348 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.5209, allocations: 40.5 kB / 449 MB, free: 7.336 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/0.521, allocations: 20 kB / 449 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.5227, allocations: 0.6707 MB / 449.7 MB, free: 6.914 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007283/0.53, allocations: 3.786 MB / 453.5 MB, free: 3.977 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.5318, allocations: 0.7635 MB / 454.3 MB, free: 3.273 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.5329, allocations: 471.6 kB / 454.7 MB, free: 2.812 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.953e-05/0.533, allocations: 8.781 kB / 454.7 MB, free: 2.805 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/0.5341, allocations: 447.8 kB / 455.2 MB, free: 2.348 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 3.982e-06/0.5341, allocations: 0 / 455.2 MB, free: 2.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=83): time 0.002124/0.5362, allocations: 0.7978 MB / 456 MB, free: 1.535 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.5364, allocations: 119.5 kB / 456.1 MB, free: 1.395 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.5376, allocations: 0.5972 MB / 456.7 MB, free: 0.793 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.714e-05/0.5377, allocations: 41.7 kB / 456.7 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004118/0.5381, allocations: 360.8 kB / 457.1 MB, free: 396 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000299/0.5384, allocations: 244.5 kB / 457.3 MB, free: 148 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/0.5385, allocations: 16 kB / 457.3 MB, free: 132 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003051/0.5388, allocations: 390.7 kB / 457.7 MB, free: 15.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006445/0.5395, allocations: 245.8 kB / 457.9 MB, free: 15.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007948/0.5403, allocations: 394.8 kB / 458.3 MB, free: 15.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007061/0.541, allocations: 287.8 kB / 458.6 MB, free: 14.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.404e-06/0.541, allocations: 0 / 458.6 MB, free: 14.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002273/0.5433, allocations: 0.9052 MB / 459.5 MB, free: 13.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007835/0.5441, allocations: 1.343 MB / 460.9 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.5441, allocations: 4 kB / 460.9 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.5453, allocations: 285.5 kB / 461.1 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006056/0.546, allocations: 115.8 kB / 461.3 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007536/0.5535, allocations: 4.565 MB / 465.8 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008733/0.5544, allocations: 95.28 kB / 465.9 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.189e-05/0.5545, allocations: 32 kB / 465.9 MB, free: 7.035 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.5546, allocations: 4 kB / 466 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002061/0.5566, allocations: 0.8142 MB / 466.8 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.5567, allocations: 7.953 kB / 466.8 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.5578, allocations: 294.1 kB / 467.1 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005315/0.5583, allocations: 95.89 kB / 467.2 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007422/0.5658, allocations: 4.57 MB / 471.7 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008093/0.5666, allocations: 75.5 kB / 471.8 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.863e-05/0.5667, allocations: 32 kB / 471.8 MB, free: 0.8672 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.0003129/0.5671, allocations: 161 kB / 472 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.5673, allocations: 94.84 kB / 472.1 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.5676, allocations: 104.3 kB / 472.2 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.5676, allocations: 8 kB / 472.2 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.662e-06/0.5676, allocations: 0 / 472.2 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.5676, allocations: 3.984 kB / 472.2 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004166/0.5718, allocations: 1.942 MB / 474.1 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.5719, allocations: 0 / 474.1 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005149/0.5724, allocations: 75.89 kB / 474.2 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/0.5735, allocations: 289.5 kB / 474.5 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.3e-05/0.5736, allocations: 16 kB / 474.5 MB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007499/0.5811, allocations: 4.558 MB / 479.1 MB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.619e-06/0.5811, allocations: 0 / 479.1 MB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003114/0.5843, allocations: 1.308 MB / 480.4 MB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005824/0.5849, allocations: 252 kB / 480.6 MB, free: 7.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.5851, allocations: 23.97 kB / 480.6 MB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005834/0.5857, allocations: 43.98 kB / 480.7 MB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002661/0.5859, allocations: 84.59 kB / 480.8 MB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.818e-05/0.586, allocations: 23.98 kB / 480.8 MB, free: 7.508 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000885/0.5869, allocations: 463.2 kB / 481.2 MB, free: 7.059 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.84e-07/0.5869, allocations: 0 / 481.2 MB, free: 7.059 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001917/0.5889, allocations: 451.1 kB / 481.7 MB, free: 6.617 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.0002798/0.5892, allocations: 150.3 kB / 481.8 MB, free: 6.461 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003933/0.5931, allocations: 1.877 MB / 483.7 MB, free: 4.516 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.788e-06/0.5932, allocations: 0 / 483.7 MB, free: 4.516 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001459/0.5946, allocations: 0.7255 MB / 484.4 MB, free: 3.773 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.5957, allocations: 155.2 kB / 484.6 MB, free: 3.625 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/0.5993, allocations: 1.248 MB / 485.8 MB, free: 2.348 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009399/0.6003, allocations: 1.024 MB / 486.9 MB, free: 1.297 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007806/0.6011, allocations: 114.6 kB / 487 MB, free: 1.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.6013, allocations: 43.42 kB / 487 MB, free: 1.137 MB / 394.7 MB Notification: Performance of SimCode: time 1.736e-06/0.6013, allocations: 0 / 487 MB, free: 1.137 MB / 394.7 MB Notification: Performance of Templates: time 0.04304/0.6443, allocations: 16.64 MB / 0.4918 GB, free: 0.7188 MB / 410.7 MB