Proactive Model-Based Performance Analysis and Security Tradeoffs in a Complex System