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.0009364/0.0009365, allocations: 95.41 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000972/0.0009719, allocations: 205.8 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003388, allocations: 8 kB / 306.6 MB, free: 1.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1373, allocations: 51.49 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Stack): time 0.01028/0.1477, allocations: 8.252 MB / 366.3 MB, free: 5.641 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006181/0.1539, allocations: 3.36 MB / 369.7 MB, free: 2.273 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009355/0.1549, allocations: 23.88 kB / 369.7 MB, free: 2.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2512/0.4061, allocations: 2.798 MB / 372.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.4078, allocations: 377.1 kB / 372.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009976/0.4088, allocations: 310.7 kB / 373.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01311/0.4219, allocations: 7.543 MB / 380.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004953/0.4269, allocations: 3.229 MB / 383.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006938/0.4339, allocations: 2.485 MB / 386.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005896/0.4398, allocations: 2.325 MB / 388.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001618/0.4415, allocations: 178.3 kB / 388.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.4438, allocations: 222.8 kB / 389.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003599/0.4474, allocations: 3.642 MB / 392.8 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002938/0.4504, allocations: 2.421 MB / 395.2 MB, free: 8.164 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01451/0.4649, allocations: 16.65 MB / 411.9 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4649, allocations: 4 kB / 411.9 MB, free: 7.918 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.838e-06/0.4649, allocations: 0 / 411.9 MB, free: 7.918 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0007059/0.4656, allocations: 0 / 411.9 MB, free: 7.918 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 ()