Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001132/0.001133, allocations: 110.5 kB / 16.42 MB, free: 6.461 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.001064/0.001064, allocations: 183.2 kB / 17.36 MB, free: 5.73 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.111/1.111, 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 11.0.1-master/package.mo): time 2.136/2.136, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076e-05/1.076e-05, allocations: 5.453 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006703/0.006721, allocations: 6.735 MB / 1.061 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003915/0.01065, allocations: 3.051 MB / 1.064 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003377/0.011, allocations: 23.88 kB / 1.064 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002024/0.01303, allocations: 0.9479 MB / 1.065 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0009032/0.01395, allocations: 0.4934 MB / 1.066 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008334/0.01479, allocations: 436.9 kB / 1.066 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00125/0.01605, allocations: 1.353 MB / 1.067 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000772/0.01683, allocations: 0.6062 MB / 1.068 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000554/0.01739, allocations: 470.2 kB / 1.068 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004784/0.01788, allocations: 426.1 kB / 1.069 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.066e-05/0.01798, allocations: 56 kB / 1.069 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005116/0.0185, allocations: 339.2 kB / 1.069 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0008147/0.01932, allocations: 1.283 MB / 1.07 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0004967/0.01982, allocations: 0.8363 MB / 1.071 GB, free: 6.637 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.01999, allocations: 139.6 kB / 1.071 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of FrontEnd: time 6.93e-05/0.02007, allocations: 23.94 kB / 1.071 GB, free: 6.477 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.003005/0.02308, allocations: 3.379 MB / 1.075 GB, free: 2.945 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0003068/0.02339, allocations: 271.7 kB / 1.075 GB, free: 2.664 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.00163/0.02503, allocations: 1.951 MB / 1.077 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001407/0.02518, allocations: 159.8 kB / 1.077 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of Alias: time 0.3777/0.4029, allocations: 2.407 MB / 1.079 GB, free: 16.93 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0001719/0.4031, allocations: 143.3 kB / 1.08 GB, free: 16.93 MB / 0.8419 GB Notification: Performance of Events: time 0.0002102/0.4033, allocations: 203 kB / 1.08 GB, free: 16.93 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0003775/0.4037, allocations: 464.6 kB / 1.08 GB, free: 16.88 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0005385/0.4043, allocations: 0.6582 MB / 1.081 GB, free: 16.75 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)