Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 107.6 kB / 16.42 MB, free: 5.984 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.001074/0.001074, allocations: 188.9 kB / 17.36 MB, free: 5.578 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.132/1.132, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.153/2.153, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/1.869e-05, allocations: 4.609 kB / 1.055 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003942/0.00397, allocations: 3.225 MB / 1.058 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.005768, allocations: 1.367 MB / 1.059 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.327e-05/0.005872, allocations: 7.938 kB / 1.059 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008455/0.006725, allocations: 338.6 kB / 1.059 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.007004, allocations: 151.2 kB / 1.06 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.007297, allocations: 147.6 kB / 1.06 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003514/0.007658, allocations: 366.8 kB / 1.06 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003232/0.007988, allocations: 205.2 kB / 1.06 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.008163, allocations: 143.5 kB / 1.06 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.008373, allocations: 119.5 kB / 1.061 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.008412, allocations: 20 kB / 1.061 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.008603, allocations: 135.7 kB / 1.061 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0002372/0.008848, allocations: 344.5 kB / 1.061 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 0.0001233/0.008976, allocations: 221.1 kB / 1.061 GB, free: 1 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.00902, allocations: 47.81 kB / 1.061 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.883e-05/0.009054, allocations: 7.938 kB / 1.061 GB, free: 0.9453 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 (40) * Number of variables: 53 (37) Notification: Performance of Bindings: time 0.0008899/0.009948, allocations: 1.029 MB / 1.062 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 8.134e-05/0.01004, allocations: 63.83 kB / 1.062 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0004824/0.01053, allocations: 0.5656 MB / 1.063 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of simplify1: time 4.004e-05/0.01057, allocations: 43.94 kB / 1.063 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of Alias: time 0.0007408/0.01132, allocations: 0.7107 MB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of simplify2: time 3.175e-05/0.01136, allocations: 35.94 kB / 1.064 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of Events: time 9.595e-05/0.01146, allocations: 74.08 kB / 1.064 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001326/0.0116, allocations: 136.1 kB / 1.064 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001847/0.01179, allocations: 192.8 kB / 1.064 GB, free: 13.8 MB / 0.8419 GB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {res.i[1], res.i[2]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: res.i. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) res.LossPower = res.v * res.i ($RES_SIM_21)