Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.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 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.AC.OnePhase.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_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.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_10_Buildings.Electrical.AC.OnePhase.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.0009251/0.0009252, allocations: 107.1 kB / 16.42 MB, free: 6.492 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.0008909/0.0008909, allocations: 190 kB / 17.35 MB, free: 5.703 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.143/1.143, allocations: 222.9 MB / 241.1 MB, free: 15.18 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.128/2.128, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.447e-05/1.449e-05, allocations: 2.5 kB / 1.019 GB, free: 9.492 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007219/0.007246, allocations: 6.74 MB / 1.026 GB, free: 2.727 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004282/0.01154, allocations: 3.04 MB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004208/0.01197, allocations: 27.81 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002134/0.01412, allocations: 0.9465 MB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.01517, allocations: 0.5129 MB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008896/0.01607, allocations: 436.9 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001312/0.01739, allocations: 1.353 MB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007349/0.01813, allocations: 0.6218 MB / 1.032 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004494/0.01859, allocations: 470.2 kB / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003982/0.019, allocations: 430.1 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.616e-05/0.01908, allocations: 56 kB / 1.033 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005069/0.01959, allocations: 323.3 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.0008401/0.02044, allocations: 1.299 MB / 1.035 GB, free: 9.203 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.0004476/0.0209, allocations: 0.8325 MB / 1.036 GB, free: 8.359 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.02102, allocations: 143.5 kB / 1.036 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.987e-05/0.02111, allocations: 20 kB / 1.036 GB, free: 8.199 MB / 0.8106 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.002641/0.02376, allocations: 3.367 MB / 1.039 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of FunctionAlias: time 0.0002457/0.02401, allocations: 275.7 kB / 1.039 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of Early Inline: time 0.001698/0.02571, allocations: 1.959 MB / 1.041 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of simplify1: time 0.0001355/0.02586, allocations: 155.8 kB / 1.042 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of Alias: time 0.002209/0.02807, allocations: 2.415 MB / 1.044 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of simplify2: time 0.0001155/0.0282, allocations: 139.8 kB / 1.044 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of Detect States: time 0.00039/0.02859, allocations: 433.4 kB / 1.044 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of Events: time 0.0002293/0.02883, allocations: 207.6 kB / 1.045 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.0006204/0.02946, allocations: 0.6598 MB / 1.045 GB, free: 13.95 MB / 0.8262 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)