Opened 4 years ago
Last modified 3 years ago
#6373 assigned defect
Electrical Quasistationary MutualInductor in standard library not working in OM
Reported by: | anonymous | Owned by: | Per Östlund |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | New Instantiation | Version: | 1.16.2 |
Keywords: | complex numbers, sum, MutualInductor | Cc: |
Description
The component Electrical.Quasistationary.MultiPhase.Basic.MutualInductor from the standard library does not work in OpenModelica. The problem can be reproduced simply by opening the component in OMEdit and running a check, which gives
[1] Translation Error
[Modelica.Electrical.QuasiStationary.MultiPhase: 1337:9-1337:54]: Expected a reduction function with type signature ('A,'B) => 'B, but got .sum<function>() => #NORETCALL#.
The issue seems to be that the sum function does not work for complex arrays. (It works in Dymola.)
Change History (2)
comment:1 by , 4 years ago
Component: | Code Generation → New Instantiation |
---|---|
Milestone: | NeedsInput → 1.18.0 |
Owner: | changed from | to
Priority: | normal → critical |
Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.
I guess this may be a duplicate of #2387. Are two-dimensional arrays involved?