DC component in an integrator circuit using opamp
As DC charge builds up, the baseline will shift. Place a 100,000 ohm resistor across the cap.

Any slight imbalance in the input waveform, compared to the OpAmp's Voffset, will cause this buildup.