Modeling Nonlinear Physical Systems in a Real-Time Operating System Environment for Control and Cyber Threat Mitigation | Synapse