please make sure that you have OptiSystem version 17.1 to save results after each sweep iteration or at the end of calculation in a file for each layout. A scroll down option to choose between the two cases is available in the project layout properties popup window. you can save components results and selected components parameters as shown in the images attached.
There is a “ResultsData” directory in OptiSystem Example Library to allow saving the results into a file (Layout 1_ExportResults.dat). If the you do not install OptiSystem Example Library, then the saved results data file is placed at the default directory “ResultsData” located at the following link: C:\Users\USER NAME\AppData\Local\Temp\