Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 117.3 kB / 16.43 MB, free: 6.523 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.001069/0.001069, allocations: 185.5 kB / 17.35 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.158/1.158, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.105/2.105, allocations: 437 MB / 0.7111 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.199e-05, allocations: 2.281 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0214/0.02142, allocations: 22.63 MB / 1.041 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02206/0.04351, allocations: 17.63 MB / 1.058 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002475/0.04602, allocations: 111.4 kB / 1.059 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.009143/0.05517, allocations: 4.168 MB / 1.063 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.008684/0.06387, allocations: 3.586 MB / 1.066 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.06663, allocations: 1.313 MB / 1.067 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007061/0.0737, allocations: 6.491 MB / 1.074 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3948/0.4685, allocations: 3.05 MB / 1.077 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004144/0.4727, allocations: 2.509 MB / 1.079 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003735/0.4765, allocations: 2.216 MB / 1.081 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0006983/0.4772, allocations: 331 kB / 1.082 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002276/0.4795, allocations: 0.91 MB / 1.083 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.005052/0.4845, allocations: 6.156 MB / 1.089 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.002672/0.4872, allocations: 3.763 MB / 1.092 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001205/0.4884, allocations: 0.5759 MB / 1.093 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.000596/0.489, allocations: 99.25 kB / 1.093 GB, free: 8.375 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 (516) * Number of variables: 635 (454) Notification: Performance of Bindings: time 0.014/0.503, allocations: 17.17 MB / 1.11 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.001566/0.5046, allocations: 1.581 MB / 1.111 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.01137/0.516, allocations: 11.83 MB / 1.123 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of simplify1: time 0.001049/0.5171, allocations: 0.8408 MB / 1.124 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of Alias: time 0.01353/0.5306, allocations: 11.96 MB / 1.135 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of simplify2: time 0.001109/0.5317, allocations: 0.7335 MB / 1.136 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of Detect States: time 0.002433/0.5342, allocations: 2.548 MB / 1.138 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of Events: time 0.002474/0.5366, allocations: 2.067 MB / 1.141 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.003576/0.5402, allocations: 3.348 MB / 1.144 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of Causalize: time 0.02058/0.5608, allocations: 21.07 MB / 1.164 GB, free: 5.227 MB / 0.8731 GB Notification: Performance of After Index Reduction Inline: time 0.009255/0.5701, allocations: 9.391 MB / 1.174 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of Inline: time 0.01848/0.5886, allocations: 19.21 MB / 1.192 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of Partitioning: time 0.0009984/0.5896, allocations: 0.6312 MB / 1.193 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of Cleanup: time 0.0009077/0.5905, allocations: 0.7316 MB / 1.194 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of Causalize: time 0.03106/0.6216, allocations: 28.78 MB / 1.222 GB, free: 13.65 MB / 0.9356 GB Error: Internal error NBEquation.Equation.setLHS failed because LHS could not be set for: [-IF-] (1) ($RES_SIM_32)if $SEV_5 then [----] [SCAL] (1) load10.terminal.i[1] + load10.P * (0.05 - (load10.terminal.v[1] - load10.terminal.v[2]) / 1600.0) = 0.0 ($RES_SIM_33) [----] elseif $SEV_6 then [----] [SCAL] (1) load10.terminal.i[1] + load10.P * (0.03333333333333333 - (load10.terminal.v[1] - load10.terminal.v[2]) / 3600.0) = 0.0 ($RES_SIM_34) [----] else [----] [SCAL] (1) load10.terminal.i[1] + load10.P * (0.04 - (load10.terminal.v[1] - load10.terminal.v[2]) / 2500.0) = 0.0 ($RES_SIM_35) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!