Opened 10 years ago

Closed 10 years ago

#3048 closed defect (fixed)

FMI2 fails with max of more than 2 elements

Reported by: Rüdiger Franke Owned by: Willi Braun
Priority: high Milestone: 1.9.2
Component: FMI Version: trunk
Keywords: Cc:

Description

The following model passes translateModelFMU(Max2, version="2.0"). The generated ModelStructure is correct, i.e. the output depends on both inputs.

  model Max2
    constant Integer n=2;
    input Real[n] v;
    output Real max_v;
  equation
    max_v = max(v);
  end Max2;

The translation to an FMU fails for the extended model:

  model Max3 = Max2(n=3);

translateModelFMU(Max3, version="2.0") gives the error message (r23881):

Error: Internal error BackendDAEOptimize.generateSymbolicJacobian failed
Error: Internal error BackendDAEOptimize.createJacobian failed

Change History (2)

comment:1 by Willi Braun, 10 years ago

Owner: changed from Adeel Asghar to Willi Braun
Status: newaccepted

comment:2 by Willi Braun, 10 years ago

Resolution: fixed
Status: acceptedclosed

fixed in 23889.

Version 0, edited 10 years ago by Willi Braun (next)
Note: See TracTickets for help on using tickets.