Performance Analysis and Impairment Identification in Optical Communication Systems