Thank you for your contributions.
Yes, it was about the second law; and it was in a book on thermodynamics.
And yes, I do refer to free energy as resulting from perpetual motion.
Not only is my recollection accurate, but I managed to prove that those authors had good intuition and open minds...