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 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.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.001126/0.001126, allocations: 111.8 kB / 16.42 MB, free: 6.531 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.001045/0.001045, allocations: 183.2 kB / 17.35 MB, free: 5.723 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.145/1.145, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.216/2.216, allocations: 472.6 MB / 0.7459 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001e-05/1.003e-05, allocations: 2.281 kB / 1.07 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003621/0.003639, allocations: 3.218 MB / 1.073 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.005356, allocations: 1.367 MB / 1.075 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.561e-05/0.005452, allocations: 8 kB / 1.075 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007994/0.006258, allocations: 330.7 kB / 1.075 GB, free: 4.773 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002571/0.006523, allocations: 147.2 kB / 1.075 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.006808, allocations: 158.2 kB / 1.075 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.007159, allocations: 366.8 kB / 1.075 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003159/0.007482, allocations: 201.3 kB / 1.076 GB, free: 3.918 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.007646, allocations: 143.5 kB / 1.076 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.007862, allocations: 131.4 kB / 1.076 GB, free: 3.648 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.0079, allocations: 16 kB / 1.076 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.008097, allocations: 127.7 kB / 1.076 GB, free: 3.508 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002306/0.008335, allocations: 360.3 kB / 1.076 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0001196/0.00846, allocations: 225 kB / 1.077 GB, free: 2.93 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.008501, allocations: 31.94 kB / 1.077 GB, free: 2.898 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.402e-05/0.008529, allocations: 7.938 kB / 1.077 GB, free: 2.891 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: 53 (40) * Number of variables: 53 (37) Notification: Performance of Bindings: time 0.0008441/0.009378, allocations: 1.037 MB / 1.078 GB, free: 1.746 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 8.55e-05/0.009469, allocations: 71.7 kB / 1.078 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0004683/0.009944, allocations: 0.5618 MB / 1.078 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of simplify1: time 4.23e-05/0.009994, allocations: 39.94 kB / 1.078 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of Alias: time 0.0007077/0.01071, allocations: 0.7107 MB / 1.079 GB, free: 220 kB / 0.8419 GB Notification: Performance of simplify2: time 2.832e-05/0.01074, allocations: 27.95 kB / 1.079 GB, free: 192 kB / 0.8419 GB Notification: Performance of Detect States: time 0.0001116/0.01086, allocations: 128.1 kB / 1.079 GB, free: 48 kB / 0.8419 GB Notification: Performance of Events: time 0.3718/0.3826, allocations: 71.14 kB / 1.079 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0002651/0.3829, allocations: 187.1 kB / 1.079 GB, free: 13.35 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)