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.0009217/0.0009227, allocations: 90.39 kB / 16.65 MB, free: 6.59 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.0009231/0.0009233, allocations: 182.8 kB / 17.56 MB, free: 6.203 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.424/1.424, allocations: 223.3 MB / 241.6 MB, free: 132 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002914, allocations: 7.938 kB / 301.4 MB, free: 6.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.115, allocations: 50.42 MB / 351.8 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Stack): time 0.01085/0.1259, allocations: 9.459 MB / 361.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006014/0.132, allocations: 3.354 MB / 364.6 MB, free: 6.852 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.1331, allocations: 19.94 kB / 364.7 MB, free: 6.832 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002642/0.1358, allocations: 1.101 MB / 365.8 MB, free: 5.727 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001605/0.1374, allocations: 0.5912 MB / 366.4 MB, free: 5.133 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.1386, allocations: 446.3 kB / 366.8 MB, free: 4.703 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.219/0.3575, allocations: 6.963 MB / 373.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004798/0.3624, allocations: 3.899 MB / 377.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004247/0.3666, allocations: 2.53 MB / 380.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004453/0.3711, allocations: 2.152 MB / 382.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000967/0.3721, allocations: 223.3 kB / 382.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.3736, allocations: 398.2 kB / 382.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004347/0.378, allocations: 4.837 MB / 387.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01112/0.3891, allocations: 6.082 MB / 393.9 MB, free: 6.844 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02357/0.4127, allocations: 22.89 MB / 416.8 MB, free: 2.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.4128, allocations: 0 / 416.8 MB, free: 2.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.4128, allocations: 0 / 416.8 MB, free: 2.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0009932/0.4138, allocations: 4 kB / 416.8 MB, free: 2.781 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 ()