City post massive losses