Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 105.8 kB / 16.42 MB, free: 6.461 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.001266/0.001266, allocations: 189.9 kB / 17.36 MB, free: 5.73 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.289/1.289, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.292/1.292, allocations: 251.7 MB / 0.51 GB, free: 436 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.19e-05/3.191e-05, allocations: 14.02 kB / 0.7264 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006535/0.006575, allocations: 4.066 MB / 0.7303 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003856/0.01047, allocations: 1.606 MB / 0.7319 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005311/0.01104, allocations: 8 kB / 0.7319 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002121/0.01317, allocations: 0.5798 MB / 0.7325 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009822/0.01417, allocations: 234.8 kB / 0.7327 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007933/0.0151, allocations: 218.2 kB / 0.7329 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001253/0.01636, allocations: 0.6037 MB / 0.7335 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009034/0.01728, allocations: 390.8 kB / 0.7339 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003706/0.01766, allocations: 227.3 kB / 0.7341 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004429/0.01811, allocations: 211.1 kB / 0.7343 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.238e-05/0.01819, allocations: 28 kB / 0.7343 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003023/0.0185, allocations: 127.7 kB / 0.7344 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0004845/0.01899, allocations: 0.5493 MB / 0.735 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0002568/0.01925, allocations: 339.8 kB / 0.7353 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.01937, allocations: 55.81 kB / 0.7354 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of FrontEnd: time 5.058e-05/0.01942, allocations: 4 kB / 0.7354 GB, free: 11.5 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: 90 (69) * Number of variables: 90 (61) Notification: Performance of Bindings: time 0.001617/0.02105, allocations: 1.58 MB / 0.7369 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0001735/0.02123, allocations: 107.7 kB / 0.737 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.00105/0.02228, allocations: 0.9949 MB / 0.738 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of simplify1: time 9.558e-05/0.02239, allocations: 71.86 kB / 0.738 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of Alias: time 0.001254/0.02365, allocations: 1.05 MB / 0.7391 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of simplify2: time 8.811e-05/0.02375, allocations: 55.92 kB / 0.7391 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of Events: time 0.0002324/0.02399, allocations: 150.9 kB / 0.7393 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of Detect States: time 0.000261/0.02426, allocations: 242.2 kB / 0.7395 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0004076/0.02468, allocations: 353.9 kB / 0.7398 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of Causalize: time 0.002764/0.02745, allocations: 2.848 MB / 0.7426 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0007701/0.02823, allocations: 0.8148 MB / 0.7434 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of Inline: time 0.001253/0.02949, allocations: 1.402 MB / 0.7448 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of Partitioning: time 6.002e-05/0.02956, allocations: 60.98 kB / 0.7448 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of Cleanup: time 0.0001332/0.0297, allocations: 155.6 kB / 0.745 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of Causalize: time 0.004666/0.03438, allocations: 5.522 MB / 0.7504 GB, free: 11.94 MB / 0.5919 GB 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!