Hello,
I am currently dealing with an error when creating xml files.
I have set an optimisation code in matlab which does many things in a single iteration. The code uses 6 parallel workers (system has 16 cores+16 logical). The optimisation code works fine but in some instances, xml file isnt created correctly and i get an error when solving my model.
ERROR: no element found at line 49154
ERROR: Error encountered in processing xml input file!
Taking a look in those instances I can see that the xml file looks like this:
instead of this which is okay
For some reason it doesnt create the full xml file.
I have set a code that waits till the size of xml file created doesnt change anymore but it seems that in these instances, the convertion to xml is stuck (more than 3 minutes).
I also tried to make a code that checks if xml is ready when the last line (49186) is created but still it didnt create the last line.
Anyone knows how ot deal with that ?