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.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL") Notification: Performance of loadModel(Modelica): time 1.845/1.845, allocations: 205.8 MB / 218.9 MB, free: 9.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.75e-05/2.761e-05, allocations: 0 / 269.4 MB, free: 6.391 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0829/0.08295, allocations: 47.58 MB / 316.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3438/0.4268, allocations: 85.89 MB / 402.8 MB, free: 2.254 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.4271, allocations: 89.69 kB / 402.9 MB, free: 2.203 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05618/0.4833, allocations: 15.43 MB / 418.4 MB, free: 5.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.637e-06/0.4834, allocations: 0 / 418.4 MB, free: 5.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.435e-05/0.4835, allocations: 31.86 kB / 418.4 MB, free: 5.203 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002381/0.4859, allocations: 1.063 MB / 419.5 MB, free: 4.141 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4859, allocations: 12.03 kB / 419.5 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002701/0.4862, allocations: 114.6 kB / 419.6 MB, free: 4.016 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.4876, allocations: 0.6452 MB / 420.2 MB, free: 3.484 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.639e-05/0.4877, allocations: 66.38 kB / 420.3 MB, free: 3.445 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/0.4878, allocations: 89.62 kB / 420.4 MB, free: 3.387 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.49, allocations: 0.9231 MB / 421.3 MB, free: 2.734 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.49, allocations: 0 / 421.3 MB, free: 2.734 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.4902, allocations: 41.88 kB / 421.3 MB, free: 2.719 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.877e-05/0.4902, allocations: 20 kB / 421.4 MB, free: 2.699 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.4919, allocations: 0.6711 MB / 422 MB, free: 2.297 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006805/0.4988, allocations: 3.772 MB / 425.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.5004, allocations: 0.762 MB / 426.6 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.5015, allocations: 469.7 kB / 427 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.96e-05/0.5016, allocations: 8.781 kB / 427 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009804/0.5026, allocations: 453.8 kB / 427.5 MB, free: 14.31 MB / 346.7 MB Notification: Performance of pre-optimization done (n=83): time 4.457e-06/0.5026, allocations: 4 kB / 427.5 MB, free: 14.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=83): time 0.001974/0.5046, allocations: 0.7947 MB / 428.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.601e-05/0.5047, allocations: 111.6 kB / 428.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.5058, allocations: 0.5948 MB / 429 MB, free: 13.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.24e-05/0.5059, allocations: 43.39 kB / 429 MB, free: 13.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/0.5063, allocations: 368 kB / 429.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002843/0.5066, allocations: 242.3 kB / 429.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.779e-05/0.5067, allocations: 17.5 kB / 429.6 MB, free: 12.69 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000253/0.5069, allocations: 392.8 kB / 430 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006019/0.5075, allocations: 245.6 kB / 430.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007702/0.5083, allocations: 392.5 kB / 430.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006551/0.509, allocations: 285.2 kB / 430.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.156e-06/0.509, allocations: 0 / 430.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00211/0.5111, allocations: 0.9093 MB / 431.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007668/0.5119, allocations: 1.341 MB / 433.2 MB, free: 9.625 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.512, allocations: 4 kB / 433.2 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.5131, allocations: 286.6 kB / 433.5 MB, free: 9.426 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005953/0.5138, allocations: 107.5 kB / 433.6 MB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00715/0.5209, allocations: 4.571 MB / 438.1 MB, free: 5.426 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000869/0.5218, allocations: 103.6 kB / 438.2 MB, free: 5.336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.849e-05/0.5219, allocations: 27.06 kB / 438.3 MB, free: 5.316 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.522, allocations: 4 kB / 438.3 MB, free: 5.312 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002012/0.524, allocations: 0.8242 MB / 439.1 MB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.524, allocations: 4 kB / 439.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.5251, allocations: 282.1 kB / 439.4 MB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005248/0.5257, allocations: 99.83 kB / 439.5 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007391/0.5331, allocations: 4.572 MB / 444 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007904/0.5339, allocations: 87.41 kB / 444.1 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.608e-05/0.534, allocations: 28 kB / 444.1 MB, free: 15.23 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: 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.0003097/0.5343, allocations: 169 kB / 444.3 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.5345, allocations: 83.05 kB / 444.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.5348, allocations: 104.4 kB / 444.5 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.5349, allocations: 8 kB / 444.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5349, allocations: 0 / 444.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/0.5349, allocations: 3.984 kB / 444.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004059/0.539, allocations: 1.942 MB / 446.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.534e-06/0.539, allocations: 0 / 446.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005135/0.5395, allocations: 79.89 kB / 446.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/0.5406, allocations: 282 kB / 446.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.145e-05/0.5407, allocations: 15.98 kB / 446.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00731/0.548, allocations: 4.541 MB / 451.4 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.161e-06/0.5481, allocations: 4 kB / 451.4 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003048/0.5511, allocations: 1.316 MB / 452.7 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005555/0.5517, allocations: 256.1 kB / 452.9 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.5519, allocations: 19.98 kB / 452.9 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006121/0.5525, allocations: 31.98 kB / 453 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002782/0.5528, allocations: 88.66 kB / 453.1 MB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-05/0.5529, allocations: 27.98 kB / 453.1 MB, free: 5.891 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008882/0.5538, allocations: 459.2 kB / 453.5 MB, free: 5.445 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.56e-07/0.5538, allocations: 3.938 kB / 453.5 MB, free: 5.441 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001973/0.5558, allocations: 443.1 kB / 454 MB, free: 5.008 MB / 362.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.0002809/0.5561, allocations: 146.5 kB / 454.1 MB, free: 4.852 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003935/0.5601, allocations: 1.888 MB / 456 MB, free: 2.895 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.677e-06/0.5601, allocations: 0.875 kB / 456 MB, free: 2.895 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001469/0.5616, allocations: 0.713 MB / 456.7 MB, free: 2.164 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.5626, allocations: 159.2 kB / 456.9 MB, free: 2.012 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003614/0.5662, allocations: 1.244 MB / 458.1 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009583/0.5672, allocations: 1.02 MB / 459.1 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007376/0.568, allocations: 114.6 kB / 459.3 MB, free: 15.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.5682, allocations: 47.42 kB / 459.3 MB, free: 15.53 MB / 378.7 MB Notification: Performance of SimCode: time 1.75e-06/0.5682, allocations: 4 kB / 459.3 MB, free: 15.53 MB / 378.7 MB Notification: Performance of Templates: time 0.04169/0.6099, allocations: 16.65 MB / 476 MB, free: 14.93 MB / 394.7 MB