#3055 closed defect (duplicate)
Wrong initialization of parameters in FMI2
Reported by: | Rüdiger Franke | Owned by: | Lennart Ochel |
---|---|---|---|
Priority: | high | Milestone: | 1.9.2 |
Component: | FMI | Version: | trunk |
Keywords: | Cc: |
Description
Recently FMI version 2 sets parameters to their start values during fmi2Enter/ExitInitializationMode
. This reverts possible custom values set beforehand by the calling environment. The problem was seen in r23881 and r23899; it was not there in r23815 and earlier.
The problem can be reproduced by running a parameter estimation with HQP. On a machine with omc, git, gcc and tcl-dev:
git clone https://github.com/omuses/hqp.git cd hqp ./configure make cd odc ./run dic_fmu_est
The estimation should converge after on SQP iteration. Caused by the overridden parameter values, the estimation iterates forever or stalls after multiple iterations.
Change History (8)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
I guess it's connected to #3050.
follow-up: 4 comment:3 by , 10 years ago
comment:4 by , 10 years ago
comment:5 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:6 by , 10 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:8 by , 10 years ago
Willi, please add a test case in order to ensure that no one will break initialization of parameters in FMI2.
One more comment: the above run will fail under Linux using recent nightly builds. This is because the binaries directory is called
makefileParams.platform
instead oflinux64
. It must be renamed if./run dic_fmu_est
shall work.