Magnetic avalanches on the sun reveal the hidden engine powering solar flares