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_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL") Notification: Performance of loadModel(Modelica): time 1.834/1.834, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.04e-05/3.046e-05, allocations: 3.094 kB / 255.4 MB, free: 3.168 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07636/0.07641, allocations: 44.5 MB / 299.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.334/0.4104, allocations: 80.09 MB / 380 MB, free: 21.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.4107, allocations: 84.31 kB / 380 MB, free: 21.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04871/0.4595, allocations: 15.05 MB / 395.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.182e-06/0.4595, allocations: 0 / 395.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.876e-05/0.4596, allocations: 23.53 kB / 395.1 MB, free: 19.55 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.001909/0.4615, allocations: 1.079 MB / 396.2 MB, free: 18.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.4616, allocations: 7.688 kB / 396.2 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.4618, allocations: 113.1 kB / 396.3 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.4629, allocations: 0.6268 MB / 397 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.041e-05/0.463, allocations: 72.73 kB / 397 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.4631, allocations: 94.19 kB / 397.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.4649, allocations: 0.9173 MB / 398 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/0.465, allocations: 0 / 398 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.4651, allocations: 39.81 kB / 398.1 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.4651, allocations: 23.27 kB / 398.1 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.4667, allocations: 0.6704 MB / 398.8 MB, free: 18.33 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005544/0.4723, allocations: 3.765 MB / 402.5 MB, free: 16.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.4737, allocations: 0.7581 MB / 403.3 MB, free: 16.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008787/0.4746, allocations: 466.5 kB / 403.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.569e-05/0.4747, allocations: 8.5 kB / 403.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000837/0.4756, allocations: 452 kB / 404.2 MB, free: 16.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=83): time 4.369e-06/0.4756, allocations: 0 / 404.2 MB, free: 16.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=83): time 0.001728/0.4773, allocations: 0.7937 MB / 405 MB, free: 16.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.4774, allocations: 115.4 kB / 405.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009183/0.4783, allocations: 0.5864 MB / 405.7 MB, free: 16.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.024e-05/0.4784, allocations: 47.73 kB / 405.7 MB, free: 16.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.4787, allocations: 376.4 kB / 406.1 MB, free: 16.03 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.4789, allocations: 257.9 kB / 406.3 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/0.479, allocations: 18.22 kB / 406.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.688e-05/0.4791, allocations: 341 kB / 406.7 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005365/0.4796, allocations: 243.4 kB / 406.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006222/0.4802, allocations: 389 kB / 407.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005783/0.4808, allocations: 293.8 kB / 407.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.069e-06/0.4809, allocations: 3.938 kB / 407.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00175/0.4826, allocations: 0.8643 MB / 408.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002747/0.4829, allocations: 1.333 MB / 409.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.4829, allocations: 3.906 kB / 409.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.484, allocations: 295 kB / 410.1 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008577/0.4849, allocations: 111.9 kB / 410.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006323/0.4912, allocations: 4.559 MB / 414.8 MB, free: 26.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008217/0.4921, allocations: 103.3 kB / 414.9 MB, free: 26.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-05/0.4922, allocations: 26.12 kB / 414.9 MB, free: 26.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.4922, allocations: 3.812 kB / 414.9 MB, free: 26.93 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001714/0.4939, allocations: 0.8172 MB / 415.7 MB, free: 26.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.982e-06/0.4939, allocations: 3.906 kB / 415.7 MB, free: 26.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008599/0.4948, allocations: 284.5 kB / 416 MB, free: 26.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004715/0.4953, allocations: 106.8 kB / 416.1 MB, free: 26.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006138/0.5015, allocations: 4.533 MB / 420.6 MB, free: 24.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005442/0.502, allocations: 68.58 kB / 420.7 MB, free: 24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-05/0.5021, allocations: 26.53 kB / 420.7 MB, free: 24 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.0002836/0.5024, allocations: 169.8 kB / 420.9 MB, free: 23.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.5027, allocations: 86.03 kB / 421 MB, free: 23.83 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.5029, allocations: 95.59 kB / 421.1 MB, free: 23.81 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.003e-06/0.5029, allocations: 7.812 kB / 421.1 MB, free: 23.81 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.279e-06/0.503, allocations: 3.906 kB / 421.1 MB, free: 23.81 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.503, allocations: 3.422 kB / 421.1 MB, free: 23.81 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003408/0.5064, allocations: 1.925 MB / 423 MB, free: 23.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.543e-06/0.5064, allocations: 0 / 423 MB, free: 23.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000463/0.5069, allocations: 84.39 kB / 423.1 MB, free: 23.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009372/0.5079, allocations: 282.4 kB / 423.4 MB, free: 23.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.288e-05/0.5079, allocations: 17.78 kB / 423.4 MB, free: 23.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006241/0.5142, allocations: 4.566 MB / 427.9 MB, free: 19.49 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5142, allocations: 8.031 kB / 428 MB, free: 19.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/0.5168, allocations: 1.301 MB / 429.3 MB, free: 18.76 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004924/0.5173, allocations: 251.2 kB / 429.5 MB, free: 18.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.5175, allocations: 19.89 kB / 429.5 MB, free: 18.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/0.5181, allocations: 47.47 kB / 429.6 MB, free: 18.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002377/0.5183, allocations: 83.89 kB / 429.7 MB, free: 18.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.638e-05/0.5184, allocations: 19.62 kB / 429.7 MB, free: 18.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007318/0.5191, allocations: 462.3 kB / 430.1 MB, free: 18.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.35e-07/0.5191, allocations: 0 / 430.1 MB, free: 18.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001683/0.5208, allocations: 434.5 kB / 430.5 MB, free: 18.1 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.000249/0.5211, allocations: 149.3 kB / 430.7 MB, free: 17.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003315/0.5244, allocations: 1.858 MB / 432.6 MB, free: 16.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.715e-06/0.5245, allocations: 3.984 kB / 432.6 MB, free: 16.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.5258, allocations: 0.7106 MB / 433.3 MB, free: 16.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009729/0.5268, allocations: 149.7 kB / 433.4 MB, free: 16.19 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.5299, allocations: 1.262 MB / 434.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007762/0.5307, allocations: 1.021 MB / 435.7 MB, free: 14.6 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.5309, allocations: 54.22 kB / 435.7 MB, free: 14.59 MB / 330.7 MB Notification: Performance of SimCode: time 1.882e-06/0.5309, allocations: 0 / 435.7 MB, free: 14.59 MB / 330.7 MB Notification: Performance of Templates: time 0.02555/0.5565, allocations: 18.57 MB / 454.3 MB, free: 0.9805 MB / 330.7 MB