Your lamp pulses once for each peak in the sine wave. You will get a pulse during both positive and negative peaks. That means your light is pulsing at 50000 Hz, and your shutter speed is 1/30000 seconds. If you multiply these numbers together, you find out that the light pulses 1 2/3 times during the shutter time. Depending on which part of the pulses you catch, you will have a varying brightness of your image.
One solution is to match the shutter speed to the frequency of the light so that you always catch an integer number of pulses. In your case, a shutter speed of 1/25000 seconds should catch two pulses every time and keep the brightness constant.
Another solution is to use a constant current lamp which provides very steady lighting and doesn't pulse (as far as I know - never checked it with extremely high speeds).
A quick and dirty solution would also be looking at the overall intensity of your images and multiplying by a correction factor to get them to maintain a uniform brightness. This would work as long as a majority of your image remains unchanged.
Bruce
Bruce Ammons
Ammons Engineering