Hi there, I think you should use the beam 0,40m x 0.30m if you model has the beam as 0.40m height (depth), otherwise you will have a beam with 0.55m height. You should not add the depth of the slab to the beam. Only if you need a beam with 0.55m height (depth) you can use this value for the beam. Usual the depth of the slab is common on beam, so in the 0.40m height is included the 0.15cm of the slab, of course you must define the beam on the top center. You can play with this, select the beam, go to menu Assign > Frame > Insertion Point and take what you need Cardinal Point (Top center, Middle Center etc....). But remember if you use for define section of the beam as 0.55m the design will be for this beam depth (height), not for 0.40m depth as should be. You can check this when you design the beam to see what section is take it. from 0.55 to 0.40 can be a big difference, special if you don't need a beam so big.
If you decide to use the influence of the slab (take in consideration as "T" beam) you should define in other way the beams and the slab. But you can ignore this influence because it is an plus for bending moment. But this is different discussion.
As conclusion from my point of view you should not ad the depth of the slab to the beam height, if you design a beam as 0.4m depth, otherwise you will affect the results.
You can play with an easy model, four columns, four beams, an slab and one story and see the difference of the results. Choose the different Cardinal Point insert and different beam size.
Good luck.