Modeling and Optimization of Parallel and Distributed Embedded Systems