Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001713/0.001713, allocations: 110.5 kB / 16.42 MB, free: 6.035 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.001747/0.001747, allocations: 186.1 kB / 17.36 MB, free: 5.621 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.108/1.108, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.832/1.832, allocations: 390.2 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.528e-06/9.548e-06, allocations: 2.281 kB / 0.9514 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004147/0.004164, allocations: 3.846 MB / 0.9552 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002047/0.006222, allocations: 1.718 MB / 0.9569 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.006335, allocations: 11.94 kB / 0.9569 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.007434, allocations: 0.4902 MB / 0.9573 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.007801, allocations: 226.9 kB / 0.9576 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.008168, allocations: 207.5 kB / 0.9578 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004546/0.00863, allocations: 0.5179 MB / 0.9583 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004222/0.009059, allocations: 321.4 kB / 0.9586 GB, free: 372 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.009231, allocations: 195.3 kB / 0.9588 GB, free: 176 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.009465, allocations: 175.3 kB / 0.9589 GB, free: 0 / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.046e-05/0.009525, allocations: 28.05 kB / 0.959 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002254/0.009756, allocations: 187.5 kB / 0.9591 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.0003228/0.01009, allocations: 499 kB / 0.9596 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 0.0001717/0.01026, allocations: 312 kB / 0.9599 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.01031, allocations: 47.88 kB / 0.96 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.674e-05/0.01035, allocations: 11.94 kB / 0.96 GB, free: 14.93 MB / 0.7481 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.001104/0.01145, allocations: 1.401 MB / 0.9613 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of FunctionAlias: time 7.788e-05/0.01154, allocations: 71.86 kB / 0.9614 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of Early Inline: time 0.0006552/0.0122, allocations: 0.7907 MB / 0.9622 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of simplify1: time 5.057e-05/0.01226, allocations: 59.94 kB / 0.9622 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of Alias: time 0.0008907/0.01315, allocations: 0.9395 MB / 0.9631 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of simplify2: time 4.293e-05/0.01321, allocations: 59.86 kB / 0.9632 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of Detect States: time 0.0001378/0.01335, allocations: 172.8 kB / 0.9634 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of Events: time 0.0001198/0.01348, allocations: 107.7 kB / 0.9635 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of Partitioning: time 0.0002673/0.01376, allocations: 304.8 kB / 0.9638 GB, free: 10.69 MB / 0.7481 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)