Skip to content
Unstable

Changes

Summary

  1. [NB/NF] add proper array simplification (#14576) (details)
  2. Make sure external functions are always freed (#14583) (details)
  3. [NB/NSim] properly create statements from record equations (#14585) (details)
Commit e7aba5087f1886d44706087c5eca7f527475610e by 38032125+kabdelhak
[NB/NF] add proper array simplification (#14576)

- add utility functions for array simplification
- [testsuite] add test case
- works towards #14574
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFCeval.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFSimplifyExp.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
The file was addedtestsuite/simulation/modelica/NBackend/differentation/ReferenceFiles/MWE_14574_res.mat
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/differentation/arrayDiff.mos
Commit b5f450aee20a5ec0c7a6432569b2da0f92611078 by per.ostlund
Make sure external functions are always freed (#14583)

- Use try-else in `NFEvalFunction.callExternalFunction` to make sure the
  function is freed even if something fails.
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was modifiedOMCompiler/Compiler/Script/NFApi.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFEvalFunction.mo (diff)
Commit 1d11bb5831193295cf5d6873eb065f17f664e59c by 38032125+kabdelhak
[NB/NSim] properly create statements from record equations (#14585)

- add potential subscripts
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBEquation.mo (diff)

Summary

  1. [NB/NF] add proper array simplification (#14576) (details)
  2. Make sure external functions are always freed (#14583) (details)
  3. [NB/NSim] properly create statements from record equations (#14585) (details)
Commit e7aba5087f1886d44706087c5eca7f527475610e by 38032125+kabdelhak
[NB/NF] add proper array simplification (#14576)

- add utility functions for array simplification
- [testsuite] add test case
- works towards #14574
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/differentation/arrayDiff.mos
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFCeval.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFSimplifyExp.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/differentation/ReferenceFiles/MWE_14574_res.mat
Commit b5f450aee20a5ec0c7a6432569b2da0f92611078 by per.ostlund
Make sure external functions are always freed (#14583)

- Use try-else in `NFEvalFunction.callExternalFunction` to make sure the
  function is freed even if something fails.
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFEvalFunction.mo (diff)
The file was modifiedOMCompiler/Compiler/Script/NFApi.mo (diff)
Commit 1d11bb5831193295cf5d6873eb065f17f664e59c by 38032125+kabdelhak
[NB/NSim] properly create statements from record equations (#14585)

- add potential subscripts
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBEquation.mo (diff)

Summary

  1. [NB/NF] add proper array simplification (#14576) (details)
  2. Make sure external functions are always freed (#14583) (details)
  3. [NB/NSim] properly create statements from record equations (#14585) (details)
Commit e7aba5087f1886d44706087c5eca7f527475610e by 38032125+kabdelhak
[NB/NF] add proper array simplification (#14576)

- add utility functions for array simplification
- [testsuite] add test case
- works towards #14574
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFSimplifyExp.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/differentation/arrayDiff.mos
The file was addedtestsuite/simulation/modelica/NBackend/differentation/ReferenceFiles/MWE_14574_res.mat
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFCeval.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
Commit b5f450aee20a5ec0c7a6432569b2da0f92611078 by per.ostlund
Make sure external functions are always freed (#14583)

- Use try-else in `NFEvalFunction.callExternalFunction` to make sure the
  function is freed even if something fails.
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFEvalFunction.mo (diff)
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was modifiedOMCompiler/Compiler/Script/NFApi.mo (diff)
Commit 1d11bb5831193295cf5d6873eb065f17f664e59c by 38032125+kabdelhak
[NB/NSim] properly create statements from record equations (#14585)

- add potential subscripts
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBEquation.mo (diff)

Summary

  1. [NB/NF] add proper array simplification (#14576) (details)
  2. Make sure external functions are always freed (#14583) (details)
  3. [NB/NSim] properly create statements from record equations (#14585) (details)
Commit e7aba5087f1886d44706087c5eca7f527475610e by 38032125+kabdelhak
[NB/NF] add proper array simplification (#14576)

- add utility functions for array simplification
- [testsuite] add test case
- works towards #14574
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
The file was addedtestsuite/simulation/modelica/NBackend/differentation/ReferenceFiles/MWE_14574_res.mat
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFCeval.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFSimplifyExp.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was addedtestsuite/simulation/modelica/NBackend/differentation/arrayDiff.mos
Commit b5f450aee20a5ec0c7a6432569b2da0f92611078 by per.ostlund
Make sure external functions are always freed (#14583)

- Use try-else in `NFEvalFunction.callExternalFunction` to make sure the
  function is freed even if something fails.
The file was modifiedOMCompiler/Compiler/Script/NFApi.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFEvalFunction.mo (diff)
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
Commit 1d11bb5831193295cf5d6873eb065f17f664e59c by 38032125+kabdelhak
[NB/NSim] properly create statements from record equations (#14585)

- add potential subscripts
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBEquation.mo (diff)

Summary

  1. [NB/NF] add proper array simplification (#14576) (details)
  2. Make sure external functions are always freed (#14583) (details)
  3. [NB/NSim] properly create statements from record equations (#14585) (details)
Commit e7aba5087f1886d44706087c5eca7f527475610e by 38032125+kabdelhak
[NB/NF] add proper array simplification (#14576)

- add utility functions for array simplification
- [testsuite] add test case
- works towards #14574
The file was addedtestsuite/simulation/modelica/NBackend/differentation/arrayDiff.mos
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFSimplifyExp.mo (diff)
The file was modifiedOMCompiler/Compiler/NBackEnd/Util/NBReplacements.mo (diff)
The file was modifiedtestsuite/simulation/modelica/NBackend/differentation/Makefile (diff)
The file was addedtestsuite/simulation/modelica/NBackend/differentation/ReferenceFiles/MWE_14574_res.mat
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFCeval.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFExpression.mo (diff)
Commit b5f450aee20a5ec0c7a6432569b2da0f92611078 by per.ostlund
Make sure external functions are always freed (#14583)

- Use try-else in `NFEvalFunction.callExternalFunction` to make sure the
  function is freed even if something fails.
The file was modifiedOMCompiler/Compiler/Script/NFApi.mo (diff)
The file was modifiedOMCompiler/Compiler/Script/CevalScriptBackend.mo (diff)
The file was modifiedOMCompiler/Compiler/NFFrontEnd/NFEvalFunction.mo (diff)
Commit 1d11bb5831193295cf5d6873eb065f17f664e59c by 38032125+kabdelhak
[NB/NSim] properly create statements from record equations (#14585)

- add potential subscripts
The file was modifiedOMCompiler/Compiler/NBackEnd/Classes/NBEquation.mo (diff)