Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000909/0.0009091, allocations: 115.5 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.0008571/0.0008571, allocations: 179.2 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.124/1.124, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.258/2.258, allocations: 472.6 MB / 0.7459 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.676e-05, allocations: 4.672 kB / 1.07 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007011/0.007036, allocations: 6.814 MB / 1.077 GB, free: 2.836 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.393/0.4, allocations: 3.058 MB / 1.08 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006234/0.4007, allocations: 28.53 kB / 1.08 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.4027, allocations: 0.9432 MB / 1.081 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0008748/0.4036, allocations: 0.5191 MB / 1.081 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007998/0.4044, allocations: 460.4 kB / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001073/0.4055, allocations: 1.368 MB / 1.083 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000677/0.4062, allocations: 0.6156 MB / 1.084 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004043/0.4066, allocations: 474.2 kB / 1.084 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004/0.407, allocations: 419.5 kB / 1.084 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.956e-05/0.4071, allocations: 57.03 kB / 1.084 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004325/0.4075, allocations: 338.9 kB / 1.085 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0006455/0.4082, allocations: 1.297 MB / 1.086 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0003445/0.4085, allocations: 0.8409 MB / 1.087 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.4086, allocations: 136.4 kB / 1.087 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of FrontEnd: time 7.746e-05/0.4087, allocations: 30.41 kB / 1.087 GB, free: 10.3 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: 183 (145) * Number of variables: 183 (136) Notification: Performance of Bindings: time 0.00225/0.411, allocations: 3.489 MB / 1.09 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001753/0.4112, allocations: 169.9 kB / 1.091 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.001591/0.4128, allocations: 1.953 MB / 1.092 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001493/0.4129, allocations: 159.6 kB / 1.093 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of Alias: time 0.002072/0.415, allocations: 2.422 MB / 1.095 GB, free: 4.848 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0001349/0.4151, allocations: 141.4 kB / 1.095 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0003592/0.4155, allocations: 435.6 kB / 1.096 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of Events: time 0.0002256/0.4157, allocations: 211 kB / 1.096 GB, free: 4.43 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.000555/0.4163, allocations: 0.6535 MB / 1.096 GB, free: 4.066 MB / 0.8419 GB Error: Internal error NBSlice.resolveSkips failed because skip of 1 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: E.terminal.v[1]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) E.S = {E.terminal.v[1] * E.terminal.i[1] + E.terminal.v[2] * E.terminal.i[2], E.terminal.v[2] * E.terminal.i[1] - E.terminal.v[1] * E.terminal.i[2]} ($RES_BND_145)