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_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL") Notification: Performance of loadModel(Modelica): time 1.841/1.841, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.145e-05/3.165e-05, allocations: 4 kB / 255.4 MB, free: 2.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07644/0.07649, allocations: 44.49 MB / 299.9 MB, free: 6.121 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3281/0.4047, allocations: 80.11 MB / 380 MB, free: 21.95 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.405, allocations: 83.5 kB / 380.1 MB, free: 21.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05018/0.4552, allocations: 15.04 MB / 395.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.909e-06/0.4552, allocations: 0 / 395.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.926e-05/0.4553, allocations: 27.55 kB / 395.2 MB, free: 19.58 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002066/0.4574, allocations: 1.071 MB / 396.2 MB, free: 18.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.4574, allocations: 15.75 kB / 396.2 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/0.4577, allocations: 112.9 kB / 396.4 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.4588, allocations: 0.6254 MB / 397 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.084e-05/0.4589, allocations: 68.97 kB / 397 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.4591, allocations: 93.7 kB / 397.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.4609, allocations: 0.9151 MB / 398 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/0.461, allocations: 3.938 kB / 398.1 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.4611, allocations: 39.2 kB / 398.1 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/0.4611, allocations: 31.41 kB / 398.1 MB, free: 18.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.4628, allocations: 0.6666 MB / 398.8 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00595/0.4687, allocations: 3.767 MB / 402.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.4703, allocations: 0.7663 MB / 403.3 MB, free: 16.78 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009114/0.4712, allocations: 454.9 kB / 403.8 MB, free: 16.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.733e-05/0.4713, allocations: 12.58 kB / 403.8 MB, free: 16.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008859/0.4722, allocations: 445.5 kB / 404.2 MB, free: 16.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=83): time 4.199e-06/0.4722, allocations: 0 / 404.2 MB, free: 16.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=83): time 0.001785/0.474, allocations: 0.8017 MB / 405 MB, free: 16.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.4741, allocations: 111.3 kB / 405.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009541/0.4751, allocations: 0.591 MB / 405.7 MB, free: 16.31 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-05/0.4752, allocations: 47.55 kB / 405.8 MB, free: 16.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.4755, allocations: 362.4 kB / 406.1 MB, free: 16.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/0.4757, allocations: 246.8 kB / 406.4 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.452e-05/0.4758, allocations: 18.5 kB / 406.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4759, allocations: 388.3 kB / 406.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005519/0.4765, allocations: 243.9 kB / 407 MB, free: 15.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006718/0.4772, allocations: 389.2 kB / 407.4 MB, free: 15.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006095/0.4778, allocations: 289.2 kB / 407.7 MB, free: 15.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.949e-06/0.4778, allocations: 0 / 407.7 MB, free: 15.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001941/0.4798, allocations: 0.9136 MB / 408.6 MB, free: 15.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000272/0.48, allocations: 1.341 MB / 409.9 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.4801, allocations: 3.906 kB / 409.9 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.4811, allocations: 288.9 kB / 410.2 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005819/0.4817, allocations: 112.3 kB / 410.3 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006704/0.4885, allocations: 4.565 MB / 414.9 MB, free: 27.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000838/0.4893, allocations: 91.05 kB / 415 MB, free: 27.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-05/0.4894, allocations: 26.75 kB / 415 MB, free: 27.01 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.4895, allocations: 3.906 kB / 415 MB, free: 27.01 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001792/0.4913, allocations: 0.8184 MB / 415.8 MB, free: 26.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.843e-06/0.4913, allocations: 3.906 kB / 415.8 MB, free: 26.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009856/0.4923, allocations: 292.9 kB / 416.1 MB, free: 26.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.4928, allocations: 103.5 kB / 416.2 MB, free: 26.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006432/0.4992, allocations: 4.575 MB / 420.8 MB, free: 23.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000771/0.5, allocations: 73.86 kB / 420.8 MB, free: 23.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.873e-05/0.5001, allocations: 35.25 kB / 420.9 MB, free: 23.91 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: 32 ($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,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.0002814/0.5004, allocations: 170.6 kB / 421 MB, free: 23.78 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.5006, allocations: 86.03 kB / 421.1 MB, free: 23.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.5009, allocations: 96.5 kB / 421.2 MB, free: 23.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.394e-06/0.5009, allocations: 11.81 kB / 421.2 MB, free: 23.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.788e-06/0.5009, allocations: 0 / 421.2 MB, free: 23.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.5009, allocations: 3.984 kB / 421.2 MB, free: 23.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003445/0.5044, allocations: 1.925 MB / 423.2 MB, free: 23.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.694e-06/0.5044, allocations: 7.922 kB / 423.2 MB, free: 23.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005127/0.5049, allocations: 69.25 kB / 423.2 MB, free: 23.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.506, allocations: 291.5 kB / 423.5 MB, free: 22.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.744e-05/0.5061, allocations: 14.53 kB / 423.5 MB, free: 22.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006203/0.5123, allocations: 4.567 MB / 428.1 MB, free: 19.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.801e-06/0.5123, allocations: 0 / 428.1 MB, free: 19.28 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/0.5149, allocations: 1.301 MB / 429.4 MB, free: 18.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000472/0.5154, allocations: 255.2 kB / 429.7 MB, free: 18.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.5156, allocations: 19.91 kB / 429.7 MB, free: 18.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005897/0.5162, allocations: 39.59 kB / 429.7 MB, free: 18.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002338/0.5165, allocations: 87.86 kB / 429.8 MB, free: 18.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.75e-05/0.5165, allocations: 19.53 kB / 429.8 MB, free: 18.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007243/0.5173, allocations: 461.7 kB / 430.3 MB, free: 17.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.24e-07/0.5173, allocations: 0 / 430.3 MB, free: 17.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001744/0.519, allocations: 450.5 kB / 430.7 MB, free: 17.89 MB / 330.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,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 (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.0002445/0.5193, allocations: 145.5 kB / 430.9 MB, free: 17.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003325/0.5226, allocations: 1.875 MB / 432.7 MB, free: 16.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.565e-06/0.5227, allocations: 0 / 432.7 MB, free: 16.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.524, allocations: 0.715 MB / 433.4 MB, free: 16.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000911/0.5249, allocations: 159.8 kB / 433.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/0.5281, allocations: 1.236 MB / 434.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007675/0.5289, allocations: 1.017 MB / 435.9 MB, free: 14.42 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006485/0.5295, allocations: 118 kB / 436 MB, free: 14.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.5297, allocations: 42.03 kB / 436 MB, free: 14.35 MB / 330.7 MB Notification: Performance of SimCode: time 1.71e-06/0.5297, allocations: 0 / 436 MB, free: 14.35 MB / 330.7 MB Notification: Performance of Templates: time 0.03796/0.5677, allocations: 16.55 MB / 452.6 MB, free: 2.316 MB / 330.7 MB