Application of integrable systems to phase transitions.