There is a magnetic field pointed to one direction as depicted in upper image in black arrow line. There's smooth track in red color, part of this track is in the magnetic field, the track outside magnetic filed using line to represent. Also there's smooth iron ball in the track. As iron ball moving toward the direction of the strength-intensive magnetic field, once it leaves the magnetic filed, it has a kinetic energy, so it will go back to the starting point, as the track outside magnetic field is smooth, seems the kinetic enerty is increasing. Who can help to find flaws in this machine, thanks a lot!
Magnetic filed can be generated via horseshoe magnet as depicted at the bottom of the image