Model-based framework for the analysis of failure consequences in a freeze-drying process