Per Östlund
Per Östlund
`NFExpression.toAbsyn` is only used to propagate the `HideResult` annotation, so the frontend and backend errors are most likely completely separate issues.
> @perost this issue seems to be a blocker for large power system models. Can you please confirm that the error: > > ``` > Internal error NFComponentRef.mergeSubscripts failed because...
> Is `-d=mergeComponents` necessary? What exactly does it do? Does it push all the subscripts to the last cref? It merges similar components (same type, same modifiers, etc) into arrays,...
> [@perost](https://github.com/perost) during compilation the following errors appear in the [compilation log](https://libraries.openmodelica.org/branches/heavy_tests/ScalableTestGrids_NB_SymbolicJacobian/files/ScalableTestGrids_NB_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.err): > > ``` > [OMCompiler/Compiler/NFFrontEnd/NFExpression.mo:2346:11-2346:118:writable] Error: Internal error NFExpression.toAbsyn got unknown expression '({true, true})[]' > [OMCompiler/Compiler/NFFrontEnd/NFExpression.mo:2346:11-2346:118:writable] Error: Internal...
I did some profiling just for fun and found that a lot of time is spent in `BackendDAEUtil.applyIndexType`. The only thing the function does is apply `abs` to all the...
> I think so. I added some debug prints and can see that > > ``` > InteractiveUtil.getPathedElementInProgram(path, SymbolTable.getAbsyn()); > ``` > > is failing in [CevalScriptBackend.mo#L759](https://github.com/OpenModelica/OpenModelica/blob/master/OMCompiler/Compiler/Script/CevalScriptBackend.mo#L759). Maybe @perost knows...
Should be fixed with #11131. I don't know if the whole script really works as it should, but at least the `getClassComment` calls works now. The issue was that the...
> [@casella](https://github.com/casella) [@perost](https://github.com/perost) Any news on this issue? No, no one is really working on MetaModelica issues.
This is done for the sake of simplicity since `/` is also element-wise, the only difference is that `/` only accept scalars as the second operand. But I guess using...
Fixed with #13620. We now keep `./` for the `array ./ array` case, but `scalar ./ scalar` is still changed to `scalar / scalar` since it doesn't really matter. The...