There is no Grand Unified Theory of Everything. There is no way to reconcile Quantum Mechanics and Classical Physics.
Permanent magnets are cause by the Quantum Mechanical spin of unpaired electrons.
It will be up to Physicists to explain why our generator works, but it does.
The magnetic field does not change for hundreds of years.