Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false)
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false)
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false)
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false)
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false)
Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo)
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo)
Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL")
translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL")
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8:
"
An important practical aspect of state machines is the abilit...".
Defaulting to 7-bit ASCII with unknown characters replaced by '?'.
To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY").
To change it in a package: add a file package.encoding at the top-level.
Note: The Modelica Language Specification only allows files encoded in UTF-8.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8:
"
The Modelica_StateGraph2 library is described in detail in (O...".
Defaulting to 7-bit ASCII with unknown characters replaced by '?'.
To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY").
To change it in a package: add a file package.encoding at the top-level.
Note: The Modelica Language Specification only allows files encoded in UTF-8.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8:
"
- Main Authors:
-
SCode: time 3.101e-05/3.102e-05, allocations: 5.094 kB / 0.5922 GB, free: 18.58 MB / 446.1 MB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004617/0.004658, allocations: 2.298 MB / 0.5945 GB, free: 16.78 MB / 446.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001125/0.0058, allocations: 0.8375 MB / 0.5953 GB, free: 15.93 MB / 446.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.379e-05/0.005906, allocations: 4 kB / 0.5953 GB, free: 15.93 MB / 446.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005099/0.006422, allocations: 146.5 kB / 0.5954 GB, free: 15.79 MB / 446.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.006577, allocations: 67.59 kB / 0.5955 GB, free: 15.72 MB / 446.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001299/0.006715, allocations: 51.88 kB / 0.5955 GB, free: 15.67 MB / 446.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002116/0.006952, allocations: 179.5 kB / 0.5957 GB, free: 15.5 MB / 446.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.007167, allocations: 85 kB / 0.5958 GB, free: 15.41 MB / 446.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 9.41e-05/0.007269, allocations: 71.69 kB / 0.5959 GB, free: 15.34 MB / 446.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.007379, allocations: 59.7 kB / 0.5959 GB, free: 15.29 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.007405, allocations: 12 kB / 0.5959 GB, free: 15.27 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 7.808e-05/0.007488, allocations: 39.91 kB / 0.596 GB, free: 15.23 MB / 446.1 MB
Notification: Performance of combineBinaries: time 0.0001168/0.007611, allocations: 197.9 kB / 0.5962 GB, free: 15.04 MB / 446.1 MB
Notification: Performance of replaceArrayConstructors: time 4.527e-05/0.007663, allocations: 130.2 kB / 0.5963 GB, free: 14.91 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.0077, allocations: 23.88 kB / 0.5963 GB, free: 14.89 MB / 446.1 MB
Notification: Performance of FrontEnd: time 1.286e-05/0.007719, allocations: 4 kB / 0.5963 GB, free: 14.88 MB / 446.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
* Number of equations: 24 (19)
* Number of variables: 24 (19)
Notification: Performance of Bindings: time 0.0006601/0.008387, allocations: 0.659 MB / 0.597 GB, free: 14.12 MB / 446.1 MB
Notification: Performance of FunctionAlias: time 9.776e-05/0.008494, allocations: 47.84 kB / 0.597 GB, free: 14.07 MB / 446.1 MB
Notification: Performance of Early Inline: time 0.0003422/0.008845, allocations: 356.1 kB / 0.5973 GB, free: 13.7 MB / 446.1 MB
Notification: Performance of simplify1: time 3.014e-05/0.008887, allocations: 19.98 kB / 0.5974 GB, free: 13.68 MB / 446.1 MB
Notification: Performance of Alias: time 0.0005705/0.009467, allocations: 411.8 kB / 0.5978 GB, free: 13.2 MB / 446.1 MB
Notification: Performance of simplify2: time 1.902e-05/0.0095, allocations: 15.98 kB / 0.5978 GB, free: 13.18 MB / 446.1 MB
Notification: Performance of Events: time 0.0001024/0.009611, allocations: 47.8 kB / 0.5978 GB, free: 13.14 MB / 446.1 MB
Notification: Performance of Detect States: time 0.0003596/0.009981, allocations: 109 kB / 0.5979 GB, free: 13.02 MB / 446.1 MB
Notification: Performance of Partitioning: time 0.0001291/0.01012, allocations: 88.09 kB / 0.598 GB, free: 12.93 MB / 446.1 MB
Error: Internal error NBResolveSingularities.noIndexReduction failed.
(2|2) Unmatched Variables
***************************
[DISC] (1) protected discrete Real voltageControl.ctrl.tSwitch
slice: {}
[DER-] (1) Real $DER.voltageControl.y
slice: {}
(1|2) Unmatched Equations
***************************
[ALGO] (2) ($RES_SIM_2)
[----] when voltageControl.ctrl.connected and voltageControl.ctrl.V > voltageControl.ctrl.V_nominal * (1.0 + voltageControl.ctrl.vThresh) then
[----] voltageControl.ctrl.tSwitch := time;
[----] voltageControl.ctrl.connected := false;
[----] end when;
[----] when not voltageControl.ctrl.connected and time >= (voltageControl.ctrl.tSwitch + voltageControl.ctrl.tDelay) then
[----] voltageControl.ctrl.connected := true;
[----] end when;
slice: {}