Multi-level Systems Modeling and Optimization