Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") [/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.037e-05/2.037e-05, allocations: 8.391 kB / 0.5923 GB, free: 18.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004198/0.004227, allocations: 4.04 MB / 0.5962 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.006297, allocations: 1.693 MB / 0.5978 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.006449, allocations: 11.22 kB / 0.5979 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.007767, allocations: 0.5874 MB / 0.5984 GB, free: 12.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004159/0.008192, allocations: 250.8 kB / 0.5987 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.008634, allocations: 211.6 kB / 0.5989 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004569/0.009099, allocations: 0.6037 MB / 0.5995 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005356/0.009643, allocations: 386.8 kB / 0.5998 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.009817, allocations: 231.2 kB / 0.6001 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003017/0.01013, allocations: 207.2 kB / 0.6003 GB, free: 10.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.01017, allocations: 28 kB / 0.6003 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.01036, allocations: 131.7 kB / 0.6004 GB, free: 10.51 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.000305/0.01068, allocations: 0.5182 MB / 0.6009 GB, free: 9.988 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001308/0.01081, allocations: 338.8 kB / 0.6012 GB, free: 9.656 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.99e-05/0.01087, allocations: 51.81 kB / 0.6013 GB, free: 9.605 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.095e-05/0.0109, allocations: 7.938 kB / 0.6013 GB, free: 9.598 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: 90 (69) * Number of variables: 90 (61) Notification: Performance of Bindings: time 0.001186/0.0121, allocations: 1.565 MB / 0.6028 GB, free: 7.922 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001095/0.01221, allocations: 115.6 kB / 0.6029 GB, free: 7.809 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0006896/0.01291, allocations: 0.9911 MB / 0.6039 GB, free: 6.789 MB / 446.1 MB Notification: Performance of simplify1: time 5.165e-05/0.01297, allocations: 67.84 kB / 0.604 GB, free: 6.723 MB / 446.1 MB Notification: Performance of Alias: time 0.0008987/0.01387, allocations: 1.054 MB / 0.605 GB, free: 5.516 MB / 446.1 MB Notification: Performance of simplify2: time 4.193e-05/0.01392, allocations: 47.92 kB / 0.605 GB, free: 5.469 MB / 446.1 MB Notification: Performance of Events: time 0.0001699/0.0141, allocations: 162.9 kB / 0.6052 GB, free: 5.312 MB / 446.1 MB Notification: Performance of Detect States: time 0.0001907/0.0143, allocations: 234.2 kB / 0.6054 GB, free: 5.07 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0002943/0.0146, allocations: 369.8 kB / 0.6058 GB, free: 4.668 MB / 446.1 MB Notification: Performance of Causalize: time 0.002046/0.01665, allocations: 2.84 MB / 0.6085 GB, free: 1.852 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005382/0.0172, allocations: 0.8104 MB / 0.6093 GB, free: 1.012 MB / 446.1 MB Notification: Performance of Inline: time 0.001087/0.0183, allocations: 1.387 MB / 0.6107 GB, free: 15.59 MB / 462.1 MB Notification: Performance of Partitioning: time 6.864e-05/0.01837, allocations: 60.94 kB / 0.6107 GB, free: 15.52 MB / 462.1 MB Notification: Performance of Cleanup: time 0.0001348/0.01851, allocations: 151.6 kB / 0.6109 GB, free: 15.37 MB / 462.1 MB Notification: Performance of Causalize: time 0.004918/0.02344, allocations: 5.508 MB / 0.6163 GB, free: 10.06 MB / 462.1 MB Error: Internal error NBEquation.Equation.setLHS failed because LHS could not be set for: [-IF-] (1)if $SEV_4 then [----] [SCAL] (1) LinearLoad.terminal.i[1] + LinearLoad.P * (0.025 - (LinearLoad.terminal.v[1] - LinearLoad.terminal.v[2]) / 6400.0) = 0.0 ($RES_SIM_19) [----] elseif $SEV_5 then [----] [SCAL] (1) LinearLoad.terminal.i[1] + LinearLoad.P * (0.016666666666666666 - (LinearLoad.terminal.v[1] - LinearLoad.terminal.v[2]) / 14400.0) = 0.0 ($RES_SIM_20) [----] else [----] [SCAL] (1) LinearLoad.terminal.i[1] + LinearLoad.P * (0.02 - (LinearLoad.terminal.v[1] - LinearLoad.terminal.v[2]) / 1e4) = 0.0 ($RES_SIM_21) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!