How does cid make power?

I have run diesels on a manual dyno where it was loaded to an RPM and let stabilize. Then we changed load to change the RPM by 100, let it stabilize again.
Plotting.... it's been done on race engines as well.