Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_Stack.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) 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(Modelica.Electrical.Batteries.Examples.CCCV_Stack,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|energy.y|stack.cell.1, 1..cell.limIntegrator.y|stack.cell.1, 1..limIntegrator.y|stack.cell.1, 2..cell.limIntegrator.y|stack.cell.1, 2..limIntegrator.y|stack.cell.2, 1..cell.limIntegrator.y|stack.cell.2, 1..limIntegrator.y|stack.cell.2, 2..cell.limIntegrator.y|stack.cell.2, 2..limIntegrator.y|stack.cell.3, 1..cell.limIntegrator.y|stack.cell.3, 1..limIntegrator.y|stack.cell.3, 2..cell.limIntegrator.y|stack.cell.3, 2..limIntegrator.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_Stack") translateModel(Modelica.Electrical.Batteries.Examples.CCCV_Stack,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|energy.y|stack.cell.1, 1..cell.limIntegrator.y|stack.cell.1, 1..limIntegrator.y|stack.cell.1, 2..cell.limIntegrator.y|stack.cell.1, 2..limIntegrator.y|stack.cell.2, 1..cell.limIntegrator.y|stack.cell.2, 1..limIntegrator.y|stack.cell.2, 2..cell.limIntegrator.y|stack.cell.2, 2..limIntegrator.y|stack.cell.3, 1..cell.limIntegrator.y|stack.cell.3, 1..limIntegrator.y|stack.cell.3, 2..cell.limIntegrator.y|stack.cell.3, 2..limIntegrator.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_Stack") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 90.7 kB / 16.31 MB, free: 5.672 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.001498/0.001498, allocations: 183 kB / 17.2 MB, free: 5.602 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.464/1.464, allocations: 223.2 MB / 241.1 MB, free: 5.453 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002485/0.0002485, allocations: 5.25 kB / 300.7 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1219, allocations: 50.42 MB / 351.1 MB, free: 11.87 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Stack): time 0.01211/0.134, allocations: 8.229 MB / 359.4 MB, free: 3.605 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006021/0.1401, allocations: 3.197 MB / 362.6 MB, free: 412 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00088/0.141, allocations: 23.88 kB / 362.6 MB, free: 388 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005179/0.1462, allocations: 2.807 MB / 365.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.1474, allocations: 343 kB / 365.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009296/0.1483, allocations: 301.7 kB / 366 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0106/0.1589, allocations: 7.543 MB / 373.6 MB, free: 5.387 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004395/0.1634, allocations: 3.218 MB / 376.8 MB, free: 2.113 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003388/0.1668, allocations: 2.481 MB / 379.3 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003198/0.17, allocations: 2.319 MB / 381.6 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001038/0.1711, allocations: 180 kB / 381.8 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.1723, allocations: 211.9 kB / 382 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002955/0.1753, allocations: 3.645 MB / 385.6 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002159/0.1775, allocations: 2.416 MB / 388 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01378/0.1913, allocations: 16.6 MB / 404.6 MB, free: 6.191 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1913, allocations: 0 / 404.6 MB, free: 6.191 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.579e-06/0.1913, allocations: 4 kB / 404.6 MB, free: 6.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000658/0.192, allocations: 0 / 404.6 MB, free: 6.188 MB / 334.1 MB Error: Too few equations, under-determined system. The model has 807 equation(s) and 837 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Batteries/Examples/CCCV_Stack.mo:62:3-65:22:writable] Error: stack.stackBus.cellBus.T = busTranscription.stackBus.cellBus.T has size 1 but 0 variables ()