Francesco Casella
Francesco Casella
@phannebohm any update on this?
> I still got the issue with undeclared variables in e.g. `TestBasePropertiesDynamic`, which I fixed in #9932. Good, I think with this fix we can actually close this ticket. >...
@perost please take care of this at your earliest convenience. @kabdelhak agrees on the approach, and will remove the default setting of -d=arrayConnect when --newBackend is activated, once this fix...
> I had to add another flag `--arrayConnectMinSize` for setting the minimum size of array connections for the array connection handling to be used, since we have test cases that...
@kabdelhak I just started a newInst-newBackend library test job. Let's see what happens with this change.
I'm still unsure about this heuristics. I'd say 100 is too large anyway, why would we want to generate 99 separate code chunks to handle 99 connect statements when we...
> If you have an array of 50 models which each contain a connect statement of size 20, then it would be considered a size of 1000 and use the...
Anyway, I'm still a totally confused about what is going on with the flags. First of all, in the [ScalableTestSuite report using the NF and the old backend](https://libraries.openmodelica.org/branches/master/ScalableTestSuite_noopt/ScalableTestSuite_noopt.html), all models...
A second thing I don't understand in that [test report](https://libraries.openmodelica.org/branches/newInst-newBackend/ScalableTestSuite_noopt/ScalableTestSuite_noopt.html) is how the TransmissionLineModelica models fail. If you check [TransmissionLineModelica_N_10](https://libraries.openmodelica.org/branches/newInst-newBackend/ScalableTestSuite_noopt/files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_10.err), it fails with ``` Internal error NBackendDAE.lowerEquation failed for connect(transmissionline.R[i].n,...
> @casella: The error message is from the array connection handling, like I mentioned earlier it seems to have some issues with nested for-loops (the `$i1` is most likely an...