The processor should not be in idle mode when starting.
The double switching penalty applies only when a task was executing before. So, it does not apply when starting executing an application.
(reference: simulators/c++2/src_simulator/arch/SingleCoreCPU.cpp line 167-177)