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.000819/0.000819, allocations: 97.64 kB / 17.01 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00105/0.00105, allocations: 194.4 kB / 17.91 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003538, allocations: 4 kB / 307.1 MB, free: 1.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.133, allocations: 51.52 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Stack): time 0.01238/0.1455, allocations: 8.894 MB / 367.5 MB, free: 4.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008329/0.1539, allocations: 3.348 MB / 370.9 MB, free: 1.375 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002014/0.156, allocations: 19.94 kB / 370.9 MB, free: 1.355 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003511/0.1595, allocations: 1.055 MB / 371.9 MB, free: 304 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2584/0.418, allocations: 0.5842 MB / 372.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.4193, allocations: 305.2 kB / 372.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01085/0.4302, allocations: 6.129 MB / 379 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005567/0.4358, allocations: 3.154 MB / 382.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006506/0.4424, allocations: 2.425 MB / 384.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005192/0.4476, allocations: 2.025 MB / 386.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001264/0.4489, allocations: 228.7 kB / 386.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002689/0.4516, allocations: 380.7 kB / 387.2 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006476/0.4581, allocations: 4.868 MB / 392 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006631/0.4647, allocations: 2.42 MB / 394.4 MB, free: 7.047 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02458/0.4894, allocations: 20.6 MB / 415 MB, free: 3.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.4894, allocations: 3.938 kB / 415 MB, free: 3.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.4894, allocations: 0 / 415 MB, free: 3.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.001051/0.4905, allocations: 0 / 415 MB, free: 3.406 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:63:3-66:22:writable] Error: stack.stackBus.cellBus.T = busTranscription.stackBus.cellBus.T has size 1 but 0 variables ()