Magnets: Not really that complicated.

Sure, they're just one half of an orthogonal set of recursively generative force fields, which allows a perpetual-motion* wave-quanta by waving a magnet around

*just right*. The simplest way to mathematically model this behavior starts with imaginary numbers, differential equations, and freaky circular graphs.

And that's if you stick to the easy stuff. There's a bunch of chaotic effects, even without digging to the quantum level. Throw in questions like "How magnetic is my fullerene, given this set of impurities?" and you have dozens of lifetimes you can spend and still not have gotten to the bottom of magnetism.

*Yes, you can get perpetual motion, with the restriction that the perpetual motion machine in question must subjectively experience zero time and have zero rest mass.