read the modelsim simulator manual.
VCD is value charge dump, which dump for each signals you want when the signal change (time, value)
Based on that the power analyzis could recreate the waveform and estimate the state of the logic, and then the power consumption.