Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 109 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.001094/0.001094, 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.142/1.142, 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.084/2.084, allocations: 437 MB / 0.7111 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.118e-05/3.119e-05, allocations: 2.281 kB / 1.019 GB, free: 9.496 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005248/0.005288, allocations: 3.845 MB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002241/0.007544, allocations: 1.726 MB / 1.025 GB, free: 3.902 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.007662, allocations: 11.94 kB / 1.025 GB, free: 3.891 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.008842, allocations: 0.4909 MB / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003709/0.009232, allocations: 230.8 kB / 1.025 GB, free: 3.172 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.009622, allocations: 206 kB / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004892/0.01012, allocations: 0.5295 MB / 1.026 GB, free: 2.441 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004497/0.01058, allocations: 314 kB / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.01076, allocations: 195.2 kB / 1.026 GB, free: 1.938 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.01102, allocations: 171.3 kB / 1.027 GB, free: 1.77 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/0.01107, allocations: 24 kB / 1.027 GB, free: 1.746 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.01135, allocations: 199.5 kB / 1.027 GB, free: 1.551 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0003524/0.01171, allocations: 491 kB / 1.027 GB, free: 1.066 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 0.0001721/0.01189, allocations: 308 kB / 1.028 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.577e-05/0.01195, allocations: 51.81 kB / 1.028 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.116e-05/0.01199, allocations: 12 kB / 1.028 GB, free: 0.6992 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: 78 (60) * Number of variables: 78 (53) Notification: Performance of Bindings: time 0.001207/0.0132, allocations: 1.402 MB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of FunctionAlias: time 9.859e-05/0.01331, allocations: 87.75 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of Early Inline: time 0.0007169/0.01403, allocations: 0.7868 MB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of simplify1: time 5.904e-05/0.0141, allocations: 59.91 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of Alias: time 0.0009516/0.01506, allocations: 0.9279 MB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of simplify2: time 5.026e-05/0.01512, allocations: 55.92 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of Detect States: time 0.000164/0.01529, allocations: 182.2 kB / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of Events: time 0.0001439/0.01544, allocations: 99.77 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of Partitioning: time 0.0002825/0.01573, allocations: 320.6 kB / 1.031 GB, free: 12.45 MB / 0.8106 GB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {res1.v[1], res1.v[2]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: res1.v. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) res1.LossPower = res1.v * res1.i ($RES_SIM_10)