The structure of the model looks fine to me, although there seem to be other blocks over to the right that could also be affecting results. I'd check a few things:
Remove all the blocks to the right of the voltage sensor. Does the issue go away? It could be all those blocks to the right causing the capacitor to discharge even though you're supplying some current into it from the rectifier piece.
If you replace the capacitor with a resistor, do you get the current profile you expect? It should look like the absolute value of a sine wave. If it doesn't then maybe your diode forward voltage + on resistance are too much for the AC voltage amplitude you are supplying.
Also, a nitpicky thing. Your initial capacitor voltage starts at a negative value and steadies out at zero. This is because the +/- ports are flipped the other way compared to the voltage sensor.
- Sebastian