Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.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.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") [/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 2.001e-05/2.002e-05, allocations: 2.5 kB / 0.5923 GB, free: 18.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.007497/0.007527, allocations: 6.811 MB / 0.5989 GB, free: 12.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1593/0.1668, allocations: 151.4 MB / 0.7468 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009929/0.1679, allocations: 19.88 kB / 0.7468 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.1697, allocations: 0.6726 MB / 0.7474 GB, free: 3.434 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:7:3-16:19:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath.loadResource' contains a call to impure function 'Modelica.Utilities.Files.fullPathName'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-80:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath.loadResource'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-92:25:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-47:21:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-47:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-46:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. Notification: Performance of NFTyping.typeBindings: time 0.003096/0.1728, allocations: 0.7912 MB / 0.7482 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.1749, allocations: 0.8404 MB / 0.749 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001728/0.1766, allocations: 1.61 MB / 0.7506 GB, free: 204 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4179/0.5945, allocations: 1.094 MB / 0.7517 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.5957, allocations: 0.5701 MB / 0.7522 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000963/0.5967, allocations: 0.6066 MB / 0.7528 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001955/0.5969, allocations: 107.1 kB / 0.7529 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.5982, allocations: 0.6134 MB / 0.7535 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.001196/0.5994, allocations: 1.811 MB / 0.7553 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0006523/0.6001, allocations: 1.151 MB / 0.7564 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000291/0.6004, allocations: 198.7 kB / 0.7566 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0002658/0.6006, allocations: 47.81 kB / 0.7566 GB, free: 3.238 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 273 (223) * Number of variables: 273 (218) Notification: Performance of Bindings: time 0.004768/0.6054, allocations: 5.186 MB / 0.7617 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0004771/0.6059, allocations: 367.7 kB / 0.7621 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.003643/0.6095, allocations: 3.314 MB / 0.7653 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of simplify1: time 0.0004152/0.61, allocations: 252.7 kB / 0.7655 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of Alias: time 0.005531/0.6155, allocations: 4.763 MB / 0.7702 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0003465/0.6159, allocations: 196.7 kB / 0.7704 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of Events: time 0.0006837/0.6166, allocations: 0.5392 MB / 0.7709 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0008075/0.6174, allocations: 0.6438 MB / 0.7715 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.001152/0.6185, allocations: 0.9603 MB / 0.7725 GB, free: 15.11 MB / 0.5919 GB Error: Internal error NBResolveSingularities.noIndexReduction failed. (1|1) Unmatched Variables *************************** [ALGB] (1) protected Real tur.load.omega slice: {} (1|1) Unmatched Equations *************************** [SCAL] (1) sou.sou.terminal.theta[1] = 6.283185307179586 * sou.sou.f * time ($RES_SIM_17) slice: {}