1. There is a finite amount of energy in the universe.
2. There is no such thing as a perfectly closed system, this means there will always be energy lost (not destroyed, but released to the surroundings).
Given these two facts, one, your theoretical system can never create more energy then that which was originally put into it. And two, at each energy transformation there will inevitably be some loss of energy.