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.00111/0.00111, allocations: 88.45 kB / 16.31 MB, free: 6.449 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.001179/0.001179, allocations: 180.5 kB / 17.21 MB, free: 6.32 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.546/1.546, allocations: 223.3 MB / 241.2 MB, free: 5.184 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002945/0.0002945, allocations: 7.141 kB / 300.8 MB, free: 5.492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1184, allocations: 50.42 MB / 351.2 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Stack): time 0.009389/0.1279, allocations: 8.851 MB / 360.1 MB, free: 2.457 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005577/0.1335, allocations: 3.196 MB / 363.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.1348, allocations: 23.88 kB / 363.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002427/0.1372, allocations: 1.051 MB / 364.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.1386, allocations: 0.5678 MB / 364.9 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.1397, allocations: 313.6 kB / 365.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007813/0.1476, allocations: 6.131 MB / 371.4 MB, free: 7.156 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004334/0.1519, allocations: 3.14 MB / 374.5 MB, free: 3.961 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004547/0.1565, allocations: 2.422 MB / 376.9 MB, free: 1.531 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003775/0.1603, allocations: 2.018 MB / 378.9 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005987/0.1609, allocations: 220 kB / 379.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.1621, allocations: 391.7 kB / 379.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003712/0.1659, allocations: 4.866 MB / 384.4 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003567/0.1694, allocations: 2.412 MB / 386.8 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0236/0.193, allocations: 20.57 MB / 407.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.1931, allocations: 0 / 407.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1931, allocations: 0 / 407.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0008336/0.194, allocations: 0 / 407.4 MB, free: 2.988 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 ()