Iterative design space exploration and robustness optimization for embedded systems