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.0008912/0.0008912, allocations: 93.8 kB / 16.95 MB, free: 5.953 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.0008951/0.0008952, allocations: 184.9 kB / 17.85 MB, free: 5.613 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.637/1.637, allocations: 223.3 MB / 241.9 MB, free: 316 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003412, allocations: 4 kB / 301.4 MB, free: 6.465 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1428, allocations: 50.43 MB / 351.9 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Stack): time 0.01015/0.153, allocations: 8.849 MB / 360.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006186/0.1593, allocations: 3.188 MB / 363.9 MB, free: 7.949 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.1608, allocations: 23.88 kB / 363.9 MB, free: 7.926 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00289/0.1637, allocations: 1.051 MB / 365 MB, free: 6.871 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.1657, allocations: 0.5717 MB / 365.6 MB, free: 6.297 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.1671, allocations: 310.3 kB / 365.9 MB, free: 6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.3246/0.4918, allocations: 6.126 MB / 372 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006534/0.4983, allocations: 3.146 MB / 375.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006041/0.5044, allocations: 2.423 MB / 377.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005807/0.5103, allocations: 2.024 MB / 379.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001752/0.5121, allocations: 224.1 kB / 379.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.5146, allocations: 376.6 kB / 380.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007833/0.5224, allocations: 4.863 MB / 385 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008226/0.5307, allocations: 2.413 MB / 387.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02389/0.5546, allocations: 20.57 MB / 408 MB, free: 13.46 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.5547, allocations: 0 / 408 MB, free: 13.46 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.438e-06/0.5547, allocations: 0 / 408 MB, free: 13.46 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.001073/0.5558, allocations: 0 / 408 MB, free: 13.46 MB / 318.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 ()