Skip to content

Commit 2731836

Browse files
authored
Merge branch 'master' into 4242
2 parents 90f5dde + 658c22d commit 2731836

17 files changed

Lines changed: 45 additions & 41 deletions

File tree

.github/workflows/checkCI.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v6
1919
with:
2020
fetch-depth: 5
2121
- name: Configure
@@ -73,7 +73,7 @@ jobs:
7373
compiler: mingw
7474
steps:
7575
- name: Checkout code
76-
uses: actions/checkout@v4
76+
uses: actions/checkout@v6
7777
with:
7878
fetch-depth: 5
7979
- name: Configure
@@ -96,6 +96,13 @@ jobs:
9696
fi
9797
- name: Run tests
9898
run: ctest --no-tests=error --test-dir build --build-config ${{ matrix.configuration }} --verbose
99+
- name: Install
100+
run: |
101+
if [ "${{ matrix.compiler }}" == "msvc" ]; then
102+
cmake --build build --target install --config ${{ matrix.configuration }}
103+
else
104+
cmake --build build --target install
105+
fi
99106
100107
external_c_checks_cmake_cygwin:
101108
name: external_c_checks_cmake_windows-cygwin
@@ -105,7 +112,7 @@ jobs:
105112
- name: Set git to use LF
106113
run: git config --global core.autocrlf input
107114
- name: Checkout code
108-
uses: actions/checkout@v4
115+
uses: actions/checkout@v6
109116
with:
110117
fetch-depth: 5
111118
- name: Setup cygwin
@@ -134,13 +141,18 @@ jobs:
134141
export PATH=/usr/bin:$PATH
135142
ctest --no-tests=error --test-dir build --build-config Debug --verbose
136143
shell: C:\cygwin\bin\bash.exe -eo pipefail -o igncr '{0}'
144+
- name: Install
145+
run: |
146+
export PATH=/usr/bin:$PATH
147+
cmake --build build --target install
148+
shell: C:\cygwin\bin\bash.exe -eo pipefail -o igncr '{0}'
137149

138150
html_documentation_checks:
139151
timeout-minutes: 5
140152
runs-on: ubuntu-latest
141153
steps:
142154
- name: Checkout code
143-
uses: actions/checkout@v4
155+
uses: actions/checkout@v6
144156
with:
145157
fetch-depth: 5
146158
- name: Setup python environment
@@ -176,7 +188,7 @@ jobs:
176188
runs-on: ubuntu-latest
177189
steps:
178190
- name: Checkout code
179-
uses: actions/checkout@v4
191+
uses: actions/checkout@v6
180192
with:
181193
fetch-depth: 5
182194
- name: Get moparser
@@ -196,7 +208,7 @@ jobs:
196208
runs-on: ubuntu-latest
197209
steps:
198210
- name: Checkout code
199-
uses: actions/checkout@v4
211+
uses: actions/checkout@v6
200212
with:
201213
fetch-depth: 5
202214
- name: Setup python environment

.github/workflows/checkCron.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
if: github.repository_owner == 'modelica'
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v6
1515
with:
1616
fetch-depth: 5
1717
- name: Setup python environment
@@ -28,7 +28,7 @@ jobs:
2828
if: github.repository_owner == 'modelica'
2929
runs-on: ubuntu-latest
3030
steps:
31-
- uses: actions/checkout@v4
31+
- uses: actions/checkout@v6
3232
with:
3333
fetch-depth: 5
3434
- name: Setup python environment
@@ -59,7 +59,7 @@ jobs:
5959
codespell -L alow ./Modelica/Media/IdealGases/Common/Functions.mo
6060
codespell -L alow ./Modelica/Media/IdealGases/Common/package.mo
6161
codespell -L delt ./Modelica/Media/Air/ReferenceAir.mo
62-
codespell -L scrit,delt ./Modelica/Media/R134a.mo
62+
codespell -L scrit,delt,highT ./Modelica/Media/R134a.mo
6363
codespell -L dout,scrit,delt ./Modelica/Media/Water/IF97_Utilities.mo
6464
codespell -L rin ./Modelica/Electrical/Analog/Ideal/AD_Converter.mo
6565
codespell -L rin ./Modelica/Electrical/Analog/Examples/AD_DA_conversion.mo
@@ -76,8 +76,9 @@ jobs:
7676
codespell -L nife ./Modelica/Magnetic/FluxTubes/Material/SoftMagnetic/NickelIron
7777
codespell -L technik ./Modelica/Magnetic/FundamentalWave/UsersGuide/References.mo
7878
codespell -L supportt ./ModelicaTest/Rotational.mo
79+
codespell -L fo ./ModelicaTest/Utilities.mo
7980
codespell -L lamda,inport ./ModelicaTestConversion4.mo
80-
codespell --skip ./ObsoleteModelica4.mo,./Modelica/package.mo,./Modelica/UsersGuide/Contact.mo,./Modelica/UsersGuide/ReleaseNotes.mo,./Modelica/Clocked/RealSignals/Periodic/StateSpace.mo,./Modelica/Constants.mo,./Modelica/Blocks/Continuous.mo,./Modelica/StateGraph.mo,./Modelica/Electrical/Digital.mo,./Modelica/Electrical/Polyphase/Examples/PolyphaseRectifier.mo,./Modelica/Electrical/Polyphase/Examples/Utilities/PolyphaseRectifierData.mo,./Modelica/Fluid/package.mo,./Modelica/Fluid/Dissipation.mo,./Modelica/Fluid/Vessels.mo,./Modelica/Fluid/Examples/AST_BatchPlant.mo,./Modelica/Resources,./Modelica/Media/IdealGases/package.mo,./Modelica/Media/IdealGases/Common/SingleGasesData.mo,./Modelica/Media/IdealGases/Common/Functions.mo,./Modelica/Media/IdealGases/Common/package.mo,./Modelica/Media/Air/ReferenceAir.mo,./Modelica/Media/R134a.mo,./Modelica/Media/Water/IF97_Utilities.mo,./Modelica/Electrical/Analog/Ideal/AD_Converter.mo,./Modelica/Electrical/Analog/Examples/AD_DA_conversion.mo,./Modelica/Electrical/Polyphase/UsersGuide/References.mo,./Modelica/Electrical/Spice3.mo,./Modelica/Electrical/Machines/BasicMachines/Components/PartialAirGapDC.mo,./Modelica/Electrical/Machines/Examples/ControlledDCDrives,./Modelica/Electrical/Analog/UsersGuide/References.mo,./Modelica/Math/package.mo,./Modelica/Mechanics/Rotational,./Modelica/Mechanics/Translational,./Modelica/Mechanics/MultiBody,./Modelica/Magnetic/FluxTubes/UsersGuide/Contact.mo,./Modelica/Magnetic/FluxTubes/Material/SoftMagnetic/NickelIron,./Modelica/Magnetic/FundamentalWave/UsersGuide/References.mo,./ModelicaTest/Rotational.mo,./ModelicaTestConversion4.mo,./.CI,./.github,./.git,*.png -L nin,inport,te,sinc,vie,commutating
81+
codespell --skip ./ObsoleteModelica4.mo,./Modelica/package.mo,./Modelica/UsersGuide/Contact.mo,./Modelica/UsersGuide/ReleaseNotes.mo,./Modelica/Clocked/RealSignals/Periodic/StateSpace.mo,./Modelica/Constants.mo,./Modelica/Blocks/Continuous.mo,./Modelica/StateGraph.mo,./Modelica/Electrical/Digital.mo,./Modelica/Electrical/Polyphase/Examples/PolyphaseRectifier.mo,./Modelica/Electrical/Polyphase/Examples/Utilities/PolyphaseRectifierData.mo,./Modelica/Fluid/package.mo,./Modelica/Fluid/Dissipation.mo,./Modelica/Fluid/Vessels.mo,./Modelica/Fluid/Examples/AST_BatchPlant.mo,./Modelica/Resources,./Modelica/Media/IdealGases/package.mo,./Modelica/Media/IdealGases/Common/SingleGasesData.mo,./Modelica/Media/IdealGases/Common/Functions.mo,./Modelica/Media/IdealGases/Common/package.mo,./Modelica/Media/Air/ReferenceAir.mo,./Modelica/Media/R134a.mo,./Modelica/Media/Water/IF97_Utilities.mo,./Modelica/Electrical/Analog/Ideal/AD_Converter.mo,./Modelica/Electrical/Analog/Examples/AD_DA_conversion.mo,./Modelica/Electrical/Polyphase/UsersGuide/References.mo,./Modelica/Electrical/Spice3.mo,./Modelica/Electrical/Machines/BasicMachines/Components/PartialAirGapDC.mo,./Modelica/Electrical/Machines/Examples/ControlledDCDrives,./Modelica/Electrical/Analog/UsersGuide/References.mo,./Modelica/Math/package.mo,./Modelica/Mechanics/Rotational,./Modelica/Mechanics/Translational,./Modelica/Mechanics/MultiBody,./Modelica/Magnetic/FluxTubes/UsersGuide/Contact.mo,./Modelica/Magnetic/FluxTubes/Material/SoftMagnetic/NickelIron,./Modelica/Magnetic/FundamentalWave/UsersGuide/References.mo,./ModelicaTest/Rotational.mo,./ModelicaTest/Utilities.mo,./ModelicaTestConversion4.mo,./.CI,./.github,./.git,*.png -L nin,inport,te,sinc,vie,commutating
8182
clean_workflow_runs:
8283
timeout-minutes: 5
8384
if: github.repository_owner == 'modelica'

.github/workflows/generateReleaseNotes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
timeout-minutes: 5
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v6
2626
with:
2727
fetch-depth: 5
2828
- name: Setup python environment

.mailmap

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Adrian Pop <adrian.pop@liu.se>
22
Adrian Pop <adrian.pop@liu.se> <adrpo@7ce873d0-865f-4ce7-a662-4bb36ea78beb>
3-
Amedeo <amato.amedeo@gmail.com>
3+
Amedeo Amato <amato.amedeo@gmail.com>
44
Andreas Heckmann <andreas.heckmann@7ce873d0-865f-4ce7-a662-4bb36ea78beb>
55
Andreas Heuermann <38031952+AnHeuermann@users.noreply.github.com>
66
André Schneider <Andre@7ce873d0-865f-4ce7-a662-4bb36ea78beb>
@@ -39,6 +39,7 @@ Dirk Zimmer <dirk.zimmer@dlr.de>
3939
Dirk Zimmer <dirk.zimmer@dlr.de> <dr.dirk.zimmer@gmail.com>
4040
Elena Shmoylova <eshmoylova@users.noreply.github.com>
4141
Esther Devakirubai <esther.devakirubai@modelon.com>
42+
Federico Zenith <federico.zenith@sintef.no>
4243
Francesco Casella <francesco.casella@polimi.it>
4344
Francesco Casella <francesco.casella@polimi.it> <Francesco@7ce873d0-865f-4ce7-a662-4bb36ea78beb>
4445
Francesco Casella <francesco.casella@polimi.it> <fcasella@7ce873d0-865f-4ce7-a662-4bb36ea78beb>
@@ -101,6 +102,7 @@ Michael Sielemann <msielemann@7ce873d0-865f-4ce7-a662-4bb36ea78beb>
101102
Michael Wetter <mwetter@lbl.gov>
102103
Michael Wetter <mwetter@lbl.gov> <mwetter@7ce873d0-865f-4ce7-a662-4bb36ea78beb>
103104
Mike Tiller <mtiller@7ce873d0-865f-4ce7-a662-4bb36ea78beb>
105+
Nithish Selvan <nithish.selvan@modelon.com>
104106
ModelicaBook <ModelicaBook@7ce873d0-865f-4ce7-a662-4bb36ea78beb>
105107
Otto Tronarp <otto@tronarp.se>
106108
Per Östlund <per.ostlund@liu.se>
@@ -124,4 +126,3 @@ Thomas Beutlich <modelica@tbeu.de> <beutlich@users.noreply.github.com>
124126
Thomas Beutlich <modelica@tbeu.de> <thomas.beutlich@esi-group.com>
125127
Thomas Bödrich <ThomasBoedrich@7ce873d0-865f-4ce7-a662-4bb36ea78beb>
126128
Volker Waurich <12234403+vwaurich@users.noreply.github.com>
127-
carlj-w <41286817+carlj-w@users.noreply.github.com>

Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ equation
6464
annotation (Documentation(info="<html>
6565
<p>This is a Multivibrator with Schmitt trigger according to:</p>
6666
<p>U. Tietze and C. Schenk, Halbleiter-Schaltungstechnik (German), 11th edition, Springer 1999, Chapter 6.5.3</p>
67-
<p>As the initialization system has two solutions, the required solution is choosen by proper initialization of the opAmp at the LowerLimit.</p>
67+
<p>As the initialization system has two solutions, the required solution is chosen by proper initialization of the opAmp at the LowerLimit.</p>
6868
</html>"),
6969
experiment(
7070
StartTime=0,

Modelica/Electrical/Analog/Ideal/OpAmpLimited.mo

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,15 @@ equation
102102
<p>Supply voltage is either defined by parameter <code>Vps</code> and <code>Vns</code> or by (optional) pins <code>s_p</code> and <code>s_n</code>.<br>
103103
In the first case the necessary power is drawn from an implicit internal supply, in the second case from the external supply.</p>
104104
<p>
105-
For most applications it is sufficient ot use default settings <code>useFirstOrder=false</code> (default on the Advanced-tab).
105+
For most applications it is sufficient to use default settings <code>useFirstOrder=false</code> (default on the Advanced-tab).
106106
In this case the intermediate voltage <code>v_int</code> is simply <code>V0*v_in</code>.<br>
107107
In some applications it might be necessary to set <code>useFirstOrder=true</code>
108108
to let the intermediate voltage <code>v_int</code> rise according to a firstOrder with time constant <code>Tau</code>.
109109
In that case the time constant <code>Tau</code> should fit to the dynamics of the input signal.
110110
</p>
111111
<p>
112-
If this intermediate voltage <code>v_int</code> gets higher than positive supply, Boolean <code>satPos</code> inidicates positive saturation.<br>
113-
If this intermediate voltage <code>v_int</code> gets lower than negative supply, Boolean <code>satNeg</code> inidicates negative saturation.<br>
112+
If this intermediate voltage <code>v_int</code> gets higher than positive supply, Boolean <code>satPos</code> indicates positive saturation.<br>
113+
If this intermediate voltage <code>v_int</code> gets lower than negative supply, Boolean <code>satNeg</code> indicates negative saturation.<br>
114114
Intermediate voltage <code>v_int</code> is limited between positive supply and negative supply to achieve output voltage <code>v_out</code> without further events.
115115
</p>
116116
<h4>Initialization</h4>

Modelica/Electrical/PowerConverters/Interfaces/Enable/Enable1.mo

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ partial model Enable1
1717
equation
1818
connect(andCondition_p.u1, fire_p) annotation (Line(
1919
points={{-60,-92},{-60,-120}}, color={255,0,255}));
20-
connect(enableLogic.enable, enable) annotation (Line(
21-
points={{100,-92},{100,-120}}, color={255,0,255}));
2220
connect(enableLogic.internalEnable[1], andCondition_p.u2) annotation (
2321
Line(
2422
points={{79,-80},{76,-80},{76,-96},{40,-96},{40,-76},{-40,-76},{-40,-100},

Modelica/Mechanics/MultiBody/Joints/Constraints/Prismatic.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ equation
161161
</html>",revisions="<html><p><strong>Release Notes:</strong></p>
162162
<ul>
163163
<li><em>February 4, 2021</em><br>
164-
Improved numeric stability by re-using <a href=\"Modelica://Modelica.Mechanics.MultiBody.Frames.Orientation.equalityConstraint\">equalityConstraint</a> from connection handling as constraint.
164+
Improved numeric stability by reusing <a href=\"Modelica://Modelica.Mechanics.MultiBody.Frames.Orientation.equalityConstraint\">equalityConstraint</a> from connection handling as constraint.
165165
This ensures that the constraint has non-singular Jacobian and only one solution.
166166
</li>
167167
</ul>

Modelica/Media/Incompressible.mo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ package Incompressible
6666
Medium.SpecificEntropy s=Medium.specificEntropy(medium.state);
6767
Medium.SpecificHeatCapacity cv=Medium.specificHeatCapacityCv(medium.state);
6868
Medium.SpecificInternalEnergy u=Medium.specificInternalEnergy(medium.state);
69-
Medium.SpecificInternalEnergy h=Medium.specificEnthalpy(medium.state);
70-
Medium.SpecificInternalEnergy d=Medium.density(medium.state);
69+
Medium.SpecificEnthalpy h=Medium.specificEnthalpy(medium.state);
70+
Medium.Density d=Medium.density(medium.state);
7171
protected
7272
constant SI.Time timeUnit = 1;
7373
constant SI.Temperature Ta = 1;

Modelica/Resources/BuildProjects/CMake/Modelica_platform.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ function(get_modelica_platform_name_with_compiler_version var)
7676
set(PLATFORM_PATH_SUFFIX "${PLATFORM_PATH_SUFFIX}/vs2019")
7777
elseif(MSVC_VERSION GREATER_EQUAL 1930 AND MSVC_VERSION LESS 1950)
7878
set(PLATFORM_PATH_SUFFIX "${PLATFORM_PATH_SUFFIX}/vs2022")
79+
elseif(MSVC_VERSION GREATER_EQUAL 1950 AND MSVC_VERSION LESS 1960)
80+
set(PLATFORM_PATH_SUFFIX "${PLATFORM_PATH_SUFFIX}/vs2026")
7981
endif()
8082
endif()
8183

0 commit comments

Comments
 (0)