Opened 10 years ago
Closed 10 years ago
#3372 closed defect (duplicate)
Issue with cyclic dependency of id in Modelica_Noise
Reported by: | Owned by: | somebody | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | *unknown* | Version: | trunk |
Keywords: | Cc: |
Description
The model Modelica_Noise.Blocks.Examples.NoiseExamples.GenericNoise produces the following error in OpenModelica 1.9.3NightlyBuild:
Error: The default value of id causes a cyclic dependency.
The Modelica_Noise library is available from here:
https://github.com/DLR-SR/Noise/tree/master
Variable id is declared in Modelica_Noise.Blocks.Noise.GlobalSeed.
From my point of view this is correct Modelica (and Dymola with pedantic flag does not report any issues).
I tried to reformulate the definition of id (initializing the parameter in an initial equation section or define it to be a discrete variable and initialize in when initial()), but nothing helped.
Maybe it is possible to support the missing functionality in OpenModelica
Change History (1)
comment:1 by , 10 years ago
Milestone: | Future |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Duplicate of #3368