In order to use d-power, you will need omnetpp 4.0 installed
on your system.
If this is the case, you then have the command
> opp_makemake
that you must run in the root folder of d-power.
then simply type
> make
and this will compile the d-power executable.
You must run the executable from the root folder.
For instance, try:
> ./d-power -u Cmdenv -c Standard -r 0