-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Example GenrouTest1_Ieeet1_Json_no_arg fails with following error:
26: Test timeout computed to be: 1500
26: Example: TwoBusIeeet1Json
26: Input file: "/Users/src/gridkit/build-gcc/examples/PhasorDynamics/Tiny/TwoBus/Ieeet1/TwoBusIeeet1.json"
26: [ERROR] Genrou: pmech signal attached with no linked governor
26: [ERROR] Component errors: 1
26: terminate called after throwing an instance of 'std::runtime_error'
26: what(): SystemModel allocation failed
2/2 Test #26: GenrouTest1_Ieeet1_Json_no_arg ...Subprocess aborted***Exception: 0.03 sec
I believe the check at the line below may be overzealous and is causing this failure:
| if (errorCount > 0) |
If I comment out the exception, everything works correctly.
I don't think that at this point we can check if a governor is connected to the generator because governor may have not been allocated/connected at this point.
CC @nkoukpaizan
Originally posted by @pelesh in #313 (comment)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working