Model-based condition monitoring