COMPLEX: COdesign and Power Management in PLatform-Based Design Space EXploration