Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001238/0.001238, allocations: 110.8 kB / 16.38 MB, free: 6.48 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.0012/0.0012, allocations: 190.5 kB / 17.31 MB, free: 5.797 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.383/1.383, allocations: 205.1 MB / 223.2 MB, free: 12.3 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.698/1.698, allocations: 292.3 MB / 0.5496 GB, free: 17.44 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.786e-05/3.788e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.898 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006804/0.006863, allocations: 4.07 MB / 0.6768 GB, free: 1.801 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002893/0.009774, allocations: 1.594 MB / 0.6784 GB, free: 200 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.009972, allocations: 8 kB / 0.6784 GB, free: 192 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.01163, allocations: 0.5953 MB / 0.679 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005023/0.01217, allocations: 222.9 kB / 0.6792 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005478/0.01273, allocations: 223.2 kB / 0.6794 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000728/0.01347, allocations: 0.6037 MB / 0.68 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007294/0.0142, allocations: 394.7 kB / 0.6804 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002447/0.01446, allocations: 231.2 kB / 0.6806 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003411/0.01481, allocations: 199.2 kB / 0.6808 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.6e-05/0.01486, allocations: 28 kB / 0.6808 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002263/0.0151, allocations: 131.7 kB / 0.6809 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0004662/0.01557, allocations: 0.5494 MB / 0.6815 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0002148/0.01579, allocations: 335.7 kB / 0.6818 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.024e-05/0.01586, allocations: 51.88 kB / 0.6818 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.159e-05/0.01591, allocations: 7.938 kB / 0.6818 GB, free: 12.64 MB / 0.5606 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.001557/0.01747, allocations: 1.58 MB / 0.6834 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0001318/0.01761, allocations: 119.5 kB / 0.6835 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.000995/0.01861, allocations: 0.9949 MB / 0.6845 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of simplify1: time 6.711e-05/0.01869, allocations: 67.89 kB / 0.6845 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of Alias: time 0.001288/0.01999, allocations: 1.05 MB / 0.6856 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of simplify2: time 6.444e-05/0.02006, allocations: 59.92 kB / 0.6856 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of Events: time 0.0002105/0.02028, allocations: 150.2 kB / 0.6858 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0002407/0.02053, allocations: 234.2 kB / 0.686 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0004124/0.02095, allocations: 373.8 kB / 0.6863 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of Causalize: time 0.002853/0.02381, allocations: 2.836 MB / 0.6891 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0008006/0.02462, allocations: 0.8064 MB / 0.6899 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of Inline: time 0.001412/0.02604, allocations: 1.395 MB / 0.6913 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of Partitioning: time 7.712e-05/0.02613, allocations: 64.92 kB / 0.6913 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of Cleanup: time 0.0001394/0.02628, allocations: 143.7 kB / 0.6915 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of Causalize: time 0.005203/0.03149, allocations: 5.55 MB / 0.6969 GB, free: 13.06 MB / 0.5762 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!