Allocation, Scheduling and Voltage Scaling for Energy Aware MPSOCs