Opened 6 years ago
Closed 6 years ago
#4999 closed defect (fixed)
Issue with NFCeval.evalBinaryMul
Reported by: | casella | Owned by: | perost |
---|---|---|---|
Priority: | high | Milestone: | 2.0.0 |
Component: | New Instantiation | Version: | |
Keywords: | Cc: |
Description (last modified by casella)
A lot of models in the MSL, e.g. Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse, fail because of this issue
Error: Internal error NFCeval.evalBinaryMul failed to evaluate 0.02733826668028255 * {0.02733826668028255, 1.0}
I guess that's an easy fix to apply.
Change History (5)
comment:1 Changed 6 years ago by casella
- Description modified (diff)
comment:2 Changed 6 years ago by perost
- Resolution set to fixed
- Status changed from new to closed
comment:3 Changed 6 years ago by casella
Indeed it was :)
comment:4 Changed 6 years ago by casella
- Resolution fixed deleted
- Status changed from closed to reopened
Alas, there are similar cases which are not handled correctly yet, see e.g. Modelica.Fluid.Examples.IncompressibleFluidNetwork:
[OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:778:9-778:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate {-30.0, 3450.0} * 1.0
comment:5 Changed 6 years ago by perost
- Resolution set to fixed
- Status changed from reopened to closed
Fixed in 7b16341.