A system for milking a group of milking animals, in particular cows, wherein the system comprises: - an accommodation space for the milking animals, which accommodation space has a fixed floor, - a milk storage tank, - an automatic milking system for automatic milking of milking animals, wherein the milking system comprises at least one autonomous, self-propelled trolley with milking cups, and wherein the milking system is configured for the automatic connection of the milking cups of the trolley to the teats of a milking animal, and wherein the milking cups of the trolley are connected to the milk storage tank by means of a milk discharge system, which comprises at least one flexible milk line (80a, 80b, 80c, 80d) connected to the trolley, characterized in that the system comprises: - a plurality of milking stations each arranged at a fixed position and next to each other, wherein the milking stations each comprise an entry opening for entry of a milking animal from the accommodation space to said milking station, - an animal-free space which is closed for the milking animals in the accommodation space, wherein the animal-free space forms a clean space in the sense that the milking animals have no access to the animal-free space and cannot walk there, wherein the animal-free space extends adjacent to the milking stations and is connected to each milking station by means of a connection through which the trolley can travel so that the trolley can enter each milking station from the animal-free space, and wherein the milk storage tank is placed at a fixed position outside the accommodation space, and the flexible milk line (80a, 80b, 80c, 80d) at one end thereof is connected to the trolley and is in fluid connection with at least one of the milking cups of the trolley, and the flexible milk line (80a, 80b, 80c, 80d) is configured such that the trolley can travel from the animal-free space into each of the milking stations while the flexible milk line (80a, 80b, 80c, 80d) remains connected to the trolley and the trolley remains connected to the milk storage tank by means of the milk discharge system having the flexible milk line (80a, 80b, 80c, 80d). - an accommodation space for the milking animals, which accommodation space has a fixed floor, - a milk storage tank, - an automatic milking system for automatic milking of milking animals, wherein the milking system comprises at least one autonomous, self-propelled trolley with milking cups, and wherein the milking system is configured for the automatic connection of the milking cups of the trolley to the teats of a milking animal, and wherein the milking cups of the trolley are connected to the milk storage tank by means of a milk discharge system, which comprises at least one flexible milk line (80a, 80b, 80c, 80d) connected to the trolley, - a plurality of milking stations each arranged at a fixed position and next to each other, wherein the milking stations each comprise an entry opening for entry of a milking animal from the accommodation space to said milking station, - an animal-free space which is closed for the milking animals in the accommodation space, wherein the animal-free space forms a clean space in the sense that the milking animals have no access to the animal-free space and cannot walk there, wherein the animal-free space extends adjacent to the milking stations and is connected to each milking station by means of a connection through which the trolley can travel so that the trolley can enter each milking station from the animal-free space, and