Catastrophic fault diagnosis in dynamic systems using bond graph methods