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.001409/0.001409, allocations: 195.3 kB / 17.38 MB, free: 4.316 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 226.5 MB / 244.7 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007597/0.0007597, allocations: 93.44 kB / 296.8 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001998/0.0002, allocations: 7.984 kB / 356.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1896, allocations: 51.29 MB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Stack): time 0.006353/0.196, allocations: 8.885 MB / 416.9 MB, free: 18.78 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003835/0.1998, allocations: 3.335 MB / 420.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007761/0.2007, allocations: 23.88 kB / 420.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.2024, allocations: 1.055 MB / 421.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.2034, allocations: 0.599 MB / 421.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000798/0.2042, allocations: 308 kB / 422.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00452/0.2088, allocations: 6.549 MB / 428.8 MB, free: 6.906 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003115/0.2119, allocations: 3.936 MB / 432.7 MB, free: 2.891 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003585/0.2155, allocations: 3.112 MB / 435.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002335/0.2179, allocations: 2.018 MB / 437.9 MB, free: 13.74 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004164/0.2183, allocations: 228 kB / 438.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009197/0.2192, allocations: 383.7 kB / 438.5 MB, free: 13.14 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003631/0.2229, allocations: 4.87 MB / 443.3 MB, free: 8.262 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00649/0.2294, allocations: 5.753 MB / 449.1 MB, free: 2.469 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01552/0.2449, allocations: 20.63 MB / 469.7 MB, free: 13.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2449, allocations: 0 / 469.7 MB, free: 13.79 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.245, allocations: 0 / 469.7 MB, free: 13.79 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000486/0.2455, allocations: 0 / 469.7 MB, free: 13.79 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 ()