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.0009508/0.0009506, allocations: 197.7 kB / 17.05 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 226.6 MB / 244.3 MB, free: 6.574 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007019/0.0007022, allocations: 93.47 kB / 296.4 MB, free: 6.809 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000209/0.0002091, allocations: 7.938 kB / 356.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1899, allocations: 51.29 MB / 407.5 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Stack): time 0.006211/0.1961, allocations: 8.885 MB / 416.4 MB, free: 18.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003559/0.1997, allocations: 3.335 MB / 419.7 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006816/0.2005, allocations: 23.88 kB / 419.7 MB, free: 15.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.2021, allocations: 1.051 MB / 420.8 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008425/0.2029, allocations: 0.6028 MB / 421.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006908/0.2036, allocations: 301.8 kB / 421.7 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004125/0.2078, allocations: 6.17 MB / 427.9 MB, free: 7.422 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002695/0.2105, allocations: 3.152 MB / 431 MB, free: 4.215 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002939/0.2134, allocations: 2.426 MB / 433.4 MB, free: 1.781 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002535/0.216, allocations: 2.026 MB / 435.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000711/0.2167, allocations: 224 kB / 435.7 MB, free: 15.53 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.2181, allocations: 387.7 kB / 436.1 MB, free: 15.15 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004247/0.2224, allocations: 4.863 MB / 440.9 MB, free: 10.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003457/0.2259, allocations: 2.42 MB / 443.3 MB, free: 7.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0185/0.2444, allocations: 20.63 MB / 464 MB, free: 3.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.495e-06/0.2444, allocations: 3.938 kB / 464 MB, free: 3.156 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.2444, allocations: 0 / 464 MB, free: 3.156 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000714/0.2452, allocations: 0 / 464 MB, free: 3.156 MB / 330.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 ()