Maplesoft-fmigroup / MapleSim_FMI

FMI compatibility resources
0 stars 0 forks source link

Structured declaration of coupled clutches #4

Open KarlWernersson opened 2 weeks ago

KarlWernersson commented 2 weeks ago

Hi The coupled clutches FMI 3 FMU has the following variables

<Float64 name = "J1.phi" valueReference = "1" description = "J1.phi" initial = "exact" start = "0.00000000000000000e+00"/> <Float64 name = "J1.phi.der" valueReference = "2" description = "J1.phi.der" initial = "exact" start = "1.00000000000000000e+01"/>

I would say that having both variables J1.phi & J1.phi.der isn't legal structured declaration, according to fmi standard as we state its the same as modelica and this is illegal modelica.

Anyhow this currently causes translation error when importing into Dymola with structured import. Using flat import works fine. I have updated future Dymola version to diagnose the error and give a recommendation to do a flat import.

Best Regards Karl Wernersson

Maplesoft-fmigroup commented 2 weeks ago

@KarlWernersson Thanks for pointing this out. I have added a bug report for our next release.

Maplesoft-fmigroup commented 1 day ago

@KarlWernersson Hi Karl, could you please try an updated FMU CoupledClutches3.fmu to see if it now passes the structured variable name check on your end?