Compressor surge or stall caused by working fluid flow velocity profile distortion due to compressor degradation