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.0011/0.001101, allocations: 96.64 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 206.2 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.8 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002756/0.0002757, allocations: 11.98 kB / 307.7 MB, free: 0.8164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1168, allocations: 51.52 MB / 359.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Stack): time 0.009803/0.1267, allocations: 9.496 MB / 368.8 MB, free: 3.762 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005541/0.1323, allocations: 3.521 MB / 372.3 MB, free: 236 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009656/0.1333, allocations: 23.88 kB / 372.3 MB, free: 212 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2023/0.3356, allocations: 1.099 MB / 373.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001733/0.3374, allocations: 0.6229 MB / 374 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.3386, allocations: 437.5 kB / 374.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00776/0.3464, allocations: 6.981 MB / 381.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004675/0.3511, allocations: 3.927 MB / 385.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005048/0.3562, allocations: 2.525 MB / 387.9 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003996/0.3602, allocations: 2.154 MB / 390 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008359/0.3611, allocations: 225.8 kB / 390.3 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.3628, allocations: 399.3 kB / 390.7 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002803/0.3657, allocations: 4.836 MB / 395.5 MB, free: 5.633 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00781/0.3735, allocations: 6.092 MB / 401.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02254/0.396, allocations: 22.93 MB / 424.5 MB, free: 8.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.201e-05/0.3961, allocations: 0 / 424.5 MB, free: 8.945 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.298e-06/0.3961, allocations: 6 kB / 424.5 MB, free: 8.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000941/0.3971, allocations: 0 / 424.5 MB, free: 8.941 MB / 334.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 ()