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.001048/0.001048, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001495/0.001495, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.7 MB / 247.5 MB, free: 11.24 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002262/0.0002263, allocations: 4 kB / 308.4 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09058/0.09082, allocations: 51.53 MB / 359.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Stack): time 0.01/0.1009, allocations: 9.496 MB / 369.4 MB, free: 3.762 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005155/0.1061, allocations: 3.517 MB / 372.9 MB, free: 240 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008615/0.1069, allocations: 23.88 kB / 373 MB, free: 216 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1674/0.2744, allocations: 1.101 MB / 374.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001845/0.2763, allocations: 0.6183 MB / 374.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.2776, allocations: 434.8 kB / 375.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009183/0.2868, allocations: 6.987 MB / 382.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00538/0.2922, allocations: 3.924 MB / 386 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004851/0.2971, allocations: 2.527 MB / 388.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003878/0.301, allocations: 2.158 MB / 390.7 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001152/0.3022, allocations: 225.5 kB / 390.9 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00212/0.3043, allocations: 395.3 kB / 391.3 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003501/0.3078, allocations: 4.844 MB / 396.1 MB, free: 5.508 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007934/0.3158, allocations: 6.085 MB / 402.2 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01983/0.3356, allocations: 20.6 MB / 422.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3357, allocations: 0 / 422.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.3357, allocations: 4 kB / 422.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0006581/0.3363, allocations: 0 / 422.8 MB, free: 11.18 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 ()