I have lived in Germany before. I had at the time a US Passport and worked for a company with several facilities in Germany... as well as France, Italy, Sweden etc.
In those days you simply had to notify the German Government that you were staying for a specific time period... if you exceeded...