Learning the power system frequency dynamics under large disturbances using effective information