﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6035	Initialization file not loaded from default directory in OMEdit	Francesco Casella	Andreas Heuermann	"Steps to reproduce:
- Download the attachment of ticket #5824
- Run {{{ImportInitialValues.ResultGenerator}}}. The {{{initial.mat}}} file is generated in the corresponding working directory
- Run {{{ImportInitialValues.ImportModelAnnotationInitialEqs}}}; the model fails because of missing {{{initial.mat}}} file.
- Copy the {{{initial.mat}}} file from the working directory of the first model to the working directory of the second model
- Re-run {{{ImportInitialValues.ImportModelAnnotationInitialEqs}}}. The executable still cannot find the {{{initial.mat}}} file:

{{{
unable to read input-file <initial.mat> [No such file or directory]
}}}

This is weird, because the command line
{{{
d:/temp/OMEdit/ImportInitialValues.ImportModelAnnotationInitialEqs/ImportInitialValues.ImportModelAnnotationInitialEqs.exe -port=51902 -logFormat=xmltcp -override=startTime=0,stopTime=1,stepSize=0.002,tolerance=1e-6,solver=dassl,outputFormat=mat,variableFilter=.* -r=d:/temp/OMEdit/ImportInitialValues.ImportModelAnnotationInitialEqs/ImportInitialValues.ImportModelAnnotationInitialEqs_res.mat -iif=initial.mat -w -lv=LOG_STATS 
-inputPath=d:/temp/OMEdit/ImportInitialValues.ImportModelAnnotationInitialEqs 
-outputPath=d:/temp/OMEdit/ImportInitialValues.ImportModelAnnotationInitialEqs
}}}
contains the same input and output paths, so it is not clear why the file is not located there. 

Notice that if you put the absolute path of the {{{initial.mat}}} file in the annotation, the import procedure works correctly.

It would be nice to fix this in time for 1.16.0, so the feature described in #5824 is fully functional

Thanks!"	defect	closed	blocker	1.16.0	OMEdit		fixed		Andreas Heuermann massimo ceraolo
