Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_9_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_9_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.0008874/0.0008874, allocations: 108.9 kB / 16.42 MB, free: 6.52 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.0008514/0.0008515, allocations: 185.9 kB / 17.35 MB, free: 5.754 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.088/1.088, allocations: 222.9 MB / 241 MB, free: 15.18 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.852/1.852, allocations: 390.2 MB / 0.6655 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.728e-06/9.728e-06, allocations: 2.281 kB / 0.9514 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003676/0.003693, allocations: 3.229 MB / 0.9546 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001655/0.005359, allocations: 1.363 MB / 0.9559 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.516e-05/0.005454, allocations: 8 kB / 0.9559 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008153/0.006275, allocations: 342.6 kB / 0.9562 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.006527, allocations: 151.2 kB / 0.9564 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.006808, allocations: 143.6 kB / 0.9565 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003411/0.007158, allocations: 374.8 kB / 0.9569 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003178/0.007483, allocations: 205.2 kB / 0.9571 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.007643, allocations: 135.5 kB / 0.9572 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.007831, allocations: 123.5 kB / 0.9573 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.00787, allocations: 16 kB / 0.9573 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.008045, allocations: 135.6 kB / 0.9575 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0002389/0.008291, allocations: 348.4 kB / 0.9578 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 0.000122/0.00842, allocations: 229.1 kB / 0.958 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.459e-05/0.00846, allocations: 31.88 kB / 0.9581 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.379e-05/0.008488, allocations: 11.94 kB / 0.9581 GB, free: 0.9219 MB / 0.7325 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.0008523/0.009344, allocations: 1.045 MB / 0.9591 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of FunctionAlias: time 7.153e-05/0.009422, allocations: 51.94 kB / 0.9591 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of Early Inline: time 0.000473/0.009901, allocations: 0.5617 MB / 0.9597 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of simplify1: time 3.711e-05/0.009945, allocations: 39.95 kB / 0.9597 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of Alias: time 0.0007117/0.01066, allocations: 0.7068 MB / 0.9604 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of simplify2: time 3.272e-05/0.01071, allocations: 39.95 kB / 0.9604 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of Detect States: time 0.0002173/0.01093, allocations: 130 kB / 0.9606 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of Events: time 0.0001103/0.01105, allocations: 70.12 kB / 0.9606 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of Partitioning: time 0.0001795/0.01123, allocations: 200.8 kB / 0.9608 GB, free: 13.79 MB / 0.7481 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)