Text this: Scalable Mixed-Criticality Safety Concepts for a Stationary Battery Management System (BMS) With Integrated Machine Learning (ML)