Dark matter halo formation in the multicomponent dark matter models