On-line performance assessment and fault diagnosis of mechanical systems