I'm not a physics person or anything, but I thought nothing we know could stop a proton anti-proton or electron negatron reaction, which is probably what the antimatter is, a bunch of anti-protons and negatrons.
So, if whatever energy barrier we're using to try to keep antimatter from contacting any matter fails, we probably lose a lot more than just the base.. I don't know how foam could stop it, or anything else.. like burying the thing.. An AM storage would probably always be running on its own (internal) power, so I think we can leave out any connection between the power plant and AM storage. Or, uh, is it something we're creating that we say can stop it? Which I guess is ok now that I think about it.. Who knows what the future will bring... but right now, as far as I've ever heard, there's no way to stop it, not even theories. anti-matter will basically react with any matter, of any type... I think.
I guess, if we really would to figure this out, we can find the explosive power generated by a single anti-proton proton reaction, we know the exact weight of the anti-proton, and we can simply calculate if there is enough power there to destroy the base. If there isn't, we simply destroy whatever percentage of the base the reaction would destroy, and place the center of the explosion on the anti-matter storage. Well, it will be quick to look up all this information anyway, and quick to calculate the damage.. I guess the only long part would be to calculate how much hp a base would have...