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: | perost |
---|---|---|---|
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 Changed 4 years ago by casella
- Component changed from Code Generation to New Instantiation
- Milestone changed from NeedsInput to 1.18.0
- Owner changed from mahge930 to perost
- Priority changed from normal to critical
- Status changed from new to assigned
comment:2 Changed 3 years ago by casella
- Milestone 1.18.0 deleted
Ticket retargeted after milestone closed
I guess this may be a duplicate of #2387. Are two-dimensional arrays involved?