Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 109.8 kB / 16.38 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 188.7 kB / 17.31 MB, free: 5.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.771/1.771, allocations: 292.3 MB / 0.5496 GB, free: 17.42 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/2.909e-05, allocations: 9.875 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine): time 0.01024/0.01028, allocations: 8.053 MB / 0.6807 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5315/0.5419, allocations: 151.9 MB / 0.8291 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/0.5433, allocations: 26.41 kB / 0.8291 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002004/0.5453, allocations: 0.7186 MB / 0.8298 GB, free: 45.18 MB / 0.6544 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 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105: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 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48: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 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48: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 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47: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.002606/0.548, allocations: 0.7446 MB / 0.8305 GB, free: 45 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002831/0.5508, allocations: 1.029 MB / 0.8315 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002283/0.5531, allocations: 1.711 MB / 0.8332 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00182/0.5549, allocations: 1.256 MB / 0.8344 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009565/0.5559, allocations: 0.5861 MB / 0.835 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008151/0.5567, allocations: 0.6179 MB / 0.8356 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001856/0.5569, allocations: 117.3 kB / 0.8357 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.5585, allocations: 0.5702 MB / 0.8363 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.001684/0.5602, allocations: 1.94 MB / 0.8382 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.0007227/0.5609, allocations: 1.233 MB / 0.8394 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000298/0.5612, allocations: 203 kB / 0.8396 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.0002865/0.5615, allocations: 57.09 kB / 0.8396 GB, free: 42.36 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 (227) * Number of variables: 277 (222) Notification: Performance of Bindings: time 0.004625/0.5662, allocations: 5.387 MB / 0.8449 GB, free: 40.19 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.0004909/0.5667, allocations: 486.5 kB / 0.8453 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.003154/0.5698, allocations: 3.127 MB / 0.8484 GB, free: 39.86 MB / 0.6544 GB Notification: Performance of simplify1: time 0.0003043/0.5702, allocations: 226.5 kB / 0.8486 GB, free: 39.86 MB / 0.6544 GB Notification: Performance of Alias: time 0.005548/0.5757, allocations: 4.801 MB / 0.8533 GB, free: 37.88 MB / 0.6544 GB Notification: Performance of simplify2: time 0.0002232/0.5759, allocations: 165.4 kB / 0.8535 GB, free: 37.82 MB / 0.6544 GB Notification: Performance of Events: time 0.000554/0.5765, allocations: 0.496 MB / 0.8539 GB, free: 37.52 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0006082/0.5771, allocations: 0.6122 MB / 0.8545 GB, free: 37.16 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0008602/0.578, allocations: 0.9474 MB / 0.8555 GB, free: 36.47 MB / 0.6544 GB Error: Internal error NBResolveSingularities.noIndexReduction failed. (1|1) Unmatched Variables *************************** [ALGB] (1) protected Real tur.load.omega slice: {} (1|1) Unmatched Equations *************************** [ARRY] (1) lin.terminal_p.theta = lin.terminal_n.theta ($RES_SIM_6) slice: {}