Pošljite SMS: Optimal control for safety-critical systems