Initial margin models capture how the valuation of a portfolio can move in case of default.
However, in case of default of the counterparty, the claim would also include the closeout costs of the portfolio.
Why aren't they taken into account in initial margin models?