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.001107/0.001107, allocations: 109.1 kB / 16.42 MB, free: 6.434 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.001081/0.001081, allocations: 185.5 kB / 17.36 MB, free: 5.684 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.187/1.187, allocations: 222.9 MB / 241 MB, free: 15.07 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.151/2.151, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.299e-05, allocations: 10.16 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02142/0.02146, allocations: 22.64 MB / 1.041 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02128/0.04276, allocations: 17.63 MB / 1.058 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002127/0.04491, allocations: 111.4 kB / 1.059 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.008902/0.05382, allocations: 4.169 MB / 1.063 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.008174/0.06201, allocations: 3.581 MB / 1.066 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002756/0.06477, allocations: 1.314 MB / 1.067 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007294/0.07208, allocations: 6.498 MB / 1.074 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3916/0.4637, allocations: 3.045 MB / 1.077 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003761/0.4675, allocations: 2.511 MB / 1.079 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002819/0.4703, allocations: 2.216 MB / 1.081 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0005936/0.4709, allocations: 330.9 kB / 1.082 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.4728, allocations: 0.9097 MB / 1.083 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.004303/0.4771, allocations: 6.157 MB / 1.089 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.002162/0.4793, allocations: 3.762 MB / 1.092 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0009601/0.4802, allocations: 0.5768 MB / 1.093 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0005697/0.4808, allocations: 95.83 kB / 1.093 GB, free: 8.414 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.01321/0.494, allocations: 17.17 MB / 1.11 GB, free: 1.883 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.001485/0.4955, allocations: 1.583 MB / 1.111 GB, free: 1.562 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.01141/0.5069, allocations: 11.84 MB / 1.123 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of simplify1: time 0.001048/0.508, allocations: 0.8316 MB / 1.124 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of Alias: time 0.01326/0.5213, allocations: 11.97 MB / 1.135 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of simplify2: time 0.001151/0.5225, allocations: 0.7339 MB / 1.136 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of Detect States: time 0.00237/0.5248, allocations: 2.545 MB / 1.138 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of Events: time 0.002303/0.5272, allocations: 2.068 MB / 1.141 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.003381/0.5305, allocations: 3.342 MB / 1.144 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of Causalize: time 0.01948/0.55, allocations: 21.08 MB / 1.164 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of After Index Reduction Inline: time 0.009091/0.5591, allocations: 9.428 MB / 1.174 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of Inline: time 0.01865/0.5778, allocations: 19.2 MB / 1.192 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of Partitioning: time 0.001078/0.5789, allocations: 0.6234 MB / 1.193 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of Cleanup: time 0.001072/0.58, allocations: 0.7424 MB / 1.194 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of Causalize: time 0.0324/0.6124, allocations: 28.78 MB / 1.222 GB, free: 13.79 MB / 0.9356 GB Error: Internal error NBEquation.Equation.setLHS failed because LHS could not be set for: [-IF-] (1)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!