Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.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_StackRC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|energy.y|stack.cell.1, 1..cell.capacitor.1..v|stack.cell.1, 1..cell.capacitor.2..v|stack.cell.1, 1..cell.limIntegrator.y|stack.cell.1, 1..limIntegrator.y|stack.cell.1, 2..cell.capacitor.1..v|stack.cell.1, 2..cell.capacitor.2..v|stack.cell.1, 2..cell.limIntegrator.y|stack.cell.1, 2..limIntegrator.y|stack.cell.2, 1..cell.capacitor.1..v|stack.cell.2, 1..cell.capacitor.2..v|stack.cell.2, 1..cell.limIntegrator.y|stack.cell.2, 1..limIntegrator.y|stack.cell.2, 2..cell.capacitor.1..v|stack.cell.2, 2..cell.capacitor.2..v|stack.cell.2, 2..cell.limIntegrator.y|stack.cell.2, 2..limIntegrator.y|stack.cell.3, 1..cell.capacitor.1..v|stack.cell.3, 1..cell.capacitor.2..v|stack.cell.3, 1..cell.limIntegrator.y|stack.cell.3, 1..limIntegrator.y|stack.cell.3, 2..cell.capacitor.1..v|stack.cell.3, 2..cell.capacitor.2..v|stack.cell.3, 2..cell.limIntegrator.y|stack.cell.3, 2..limIntegrator.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_StackRC") translateModel(Modelica.Electrical.Batteries.Examples.CCCV_StackRC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|energy.y|stack.cell.1, 1..cell.capacitor.1..v|stack.cell.1, 1..cell.capacitor.2..v|stack.cell.1, 1..cell.limIntegrator.y|stack.cell.1, 1..limIntegrator.y|stack.cell.1, 2..cell.capacitor.1..v|stack.cell.1, 2..cell.capacitor.2..v|stack.cell.1, 2..cell.limIntegrator.y|stack.cell.1, 2..limIntegrator.y|stack.cell.2, 1..cell.capacitor.1..v|stack.cell.2, 1..cell.capacitor.2..v|stack.cell.2, 1..cell.limIntegrator.y|stack.cell.2, 1..limIntegrator.y|stack.cell.2, 2..cell.capacitor.1..v|stack.cell.2, 2..cell.capacitor.2..v|stack.cell.2, 2..cell.limIntegrator.y|stack.cell.2, 2..limIntegrator.y|stack.cell.3, 1..cell.capacitor.1..v|stack.cell.3, 1..cell.capacitor.2..v|stack.cell.3, 1..cell.limIntegrator.y|stack.cell.3, 1..limIntegrator.y|stack.cell.3, 2..cell.capacitor.1..v|stack.cell.3, 2..cell.capacitor.2..v|stack.cell.3, 2..cell.limIntegrator.y|stack.cell.3, 2..limIntegrator.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_StackRC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000975/0.0009752, allocations: 91.25 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.0009907/0.0009909, allocations: 184.5 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.415/1.415, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003847, allocations: 7.938 kB / 301.4 MB, free: 6.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1336, allocations: 50.4 MB / 351.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_StackRC): time 0.01263/0.1462, allocations: 10.61 MB / 362.4 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00655/0.1528, allocations: 3.654 MB / 366.1 MB, free: 5.402 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.1542, allocations: 23.88 kB / 366.1 MB, free: 5.379 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2197/0.3739, allocations: 6.034 MB / 372.1 MB, free: 17.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002748/0.3767, allocations: 449.1 kB / 372.6 MB, free: 17.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.3781, allocations: 470.9 kB / 373 MB, free: 17.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02876/0.4069, allocations: 21.8 MB / 394.8 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008287/0.4152, allocations: 9.215 MB / 404.1 MB, free: 468 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05878/0.4741, allocations: 52.56 MB / 456.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005723/0.4798, allocations: 2.802 MB / 459.4 MB, free: 9.238 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001673/0.4815, allocations: 324 kB / 459.7 MB, free: 8.922 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002835/0.4844, allocations: 0.5398 MB / 460.3 MB, free: 8.398 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002715/0.4871, allocations: 2.603 MB / 462.9 MB, free: 5.793 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00732/0.4944, allocations: 4.057 MB / 466.9 MB, free: 1.711 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01874/0.5132, allocations: 15.61 MB / 482.5 MB, free: 2.375 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.5133, allocations: 0 / 482.5 MB, free: 2.375 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5133, allocations: 0 / 482.5 MB, free: 2.375 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004713/0.5137, allocations: 0 / 482.5 MB, free: 2.375 MB / 382.1 MB Error: Too few equations, under-determined system. The model has 983 equation(s) and 1013 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Batteries/Examples/CCCV_StackRC.mo:54:3-57:22:writable] Error: stack.stackBus.cellBus.T = busTranscription.stackBus.cellBus.T has size 1 but 0 variables ()