Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Stack.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Stack") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008428/0.0008429, allocations: 97.77 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009256/0.0009256, allocations: 197.6 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.657/1.657, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.000347, allocations: 4 kB / 307.3 MB, free: 1.395 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1655, allocations: 51.48 MB / 358.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Stack): time 0.0119/0.1774, allocations: 8.886 MB / 367.7 MB, free: 4.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007808/0.1853, allocations: 3.352 MB / 371 MB, free: 1.621 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.187, allocations: 23.94 kB / 371 MB, free: 1.598 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003235/0.1903, allocations: 1.047 MB / 372.1 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2787/0.469, allocations: 0.5864 MB / 372.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.4711, allocations: 306 kB / 373 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01022/0.4813, allocations: 6.163 MB / 379.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005759/0.4871, allocations: 3.163 MB / 382.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006965/0.4941, allocations: 2.434 MB / 384.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006007/0.5002, allocations: 2.023 MB / 386.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00161/0.5018, allocations: 224.2 kB / 387 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00351/0.5053, allocations: 380.6 kB / 387.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005446/0.5108, allocations: 4.871 MB / 392.2 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0059/0.5167, allocations: 2.418 MB / 394.6 MB, free: 7.402 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02131/0.538, allocations: 20.62 MB / 415.3 MB, free: 3.945 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.789e-06/0.5381, allocations: 0 / 415.3 MB, free: 3.945 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.198e-06/0.5381, allocations: 6.062 kB / 415.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0008536/0.539, allocations: 0 / 415.3 MB, free: 3.941 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 trunk/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 ()