Under what conditions PAMM-account is archived?

Archiving takes place only on liquidation of a PAMM-account.