Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Batteries.Examples.CCCV_Stack.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Electrical.Batteries.Examples.CCCV_Stack") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001653/0.001653, allocations: 200.3 kB / 18.05 MB, free: 3.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 226.5 MB / 245.3 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007542/0.0007542, allocations: 105.3 kB / 297.4 MB, free: 6.691 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002604/0.0002606, allocations: 8 kB / 357.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2916, allocations: 51.3 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Stack): time 0.007935/0.2996, allocations: 8.881 MB / 417.6 MB, free: 18.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004699/0.3043, allocations: 3.335 MB / 420.9 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008378/0.3052, allocations: 19.88 kB / 420.9 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001933/0.3072, allocations: 1.059 MB / 422 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.3082, allocations: 0.6028 MB / 422.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008648/0.3091, allocations: 300.6 kB / 422.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004974/0.3141, allocations: 6.552 MB / 429.4 MB, free: 6.938 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003381/0.3175, allocations: 3.928 MB / 433.4 MB, free: 2.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00443/0.3219, allocations: 3.116 MB / 436.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003949/0.3259, allocations: 2.022 MB / 438.5 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000704/0.3266, allocations: 228 kB / 438.7 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/0.3281, allocations: 383.7 kB / 439.1 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00411/0.3323, allocations: 4.866 MB / 444 MB, free: 8.297 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0104/0.3427, allocations: 5.757 MB / 449.7 MB, free: 2.5 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02511/0.3678, allocations: 20.62 MB / 470.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.035e-05/0.3679, allocations: 0 / 470.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.596e-06/0.3679, allocations: 4 kB / 470.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.001022/0.3689, allocations: 0 / 470.3 MB, free: 13.83 MB / 346.7 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 ()