Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_10_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_10_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.001133/0.001133, allocations: 107.2 kB / 16.42 MB, free: 6.48 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.001097/0.001098, allocations: 190 kB / 17.36 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.153/1.153, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.096/2.096, allocations: 437 MB / 0.7111 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.144e-05, allocations: 4.672 kB / 1.019 GB, free: 9.504 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003993/0.004022, allocations: 3.217 MB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00198/0.006014, allocations: 1.367 MB / 1.024 GB, free: 4.898 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.00618, allocations: 11.94 kB / 1.024 GB, free: 4.887 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0008811/0.007068, allocations: 334.7 kB / 1.024 GB, free: 4.559 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.007407, allocations: 147.2 kB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.007764, allocations: 151.6 kB / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003948/0.00817, allocations: 374.7 kB / 1.025 GB, free: 3.898 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003587/0.008536, allocations: 205.3 kB / 1.025 GB, free: 3.695 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.008735, allocations: 139.5 kB / 1.025 GB, free: 3.559 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.008966, allocations: 127.5 kB / 1.025 GB, free: 3.434 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.009006, allocations: 16 kB / 1.025 GB, free: 3.418 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/0.009234, allocations: 131.7 kB / 1.025 GB, free: 3.289 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0002402/0.009481, allocations: 352.4 kB / 1.025 GB, free: 2.941 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 0.0001353/0.009622, allocations: 229.1 kB / 1.026 GB, free: 2.715 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.196e-05/0.00967, allocations: 31.88 kB / 1.026 GB, free: 2.684 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.734e-05/0.009712, allocations: 7.938 kB / 1.026 GB, free: 2.676 MB / 0.795 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.0009194/0.01064, allocations: 1.041 MB / 1.027 GB, free: 1.531 MB / 0.795 GB Notification: Performance of FunctionAlias: time 0.0001011/0.01074, allocations: 63.77 kB / 1.027 GB, free: 1.469 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0004906/0.01124, allocations: 0.5579 MB / 1.027 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of simplify1: time 4.129e-05/0.01129, allocations: 39.95 kB / 1.027 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of Alias: time 0.0007751/0.01207, allocations: 0.7068 MB / 1.028 GB, free: 12 kB / 0.795 GB Notification: Performance of simplify2: time 4.933e-05/0.01213, allocations: 28.05 kB / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of Detect States: time 0.0001199/0.01226, allocations: 128 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of Events: time 0.0001028/0.01237, allocations: 66.12 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of Partitioning: time 0.0001973/0.01257, allocations: 209.3 kB / 1.029 GB, free: 15.55 MB / 0.8106 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)