Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_Stack.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_Stack") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009086/0.0009086, allocations: 86.62 kB / 17.3 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009751/0.000975, allocations: 174.6 kB / 18.2 MB, free: 5.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 223.3 MB / 242.3 MB, free: 16 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002403/0.0002403, allocations: 7.984 kB / 302.1 MB, free: 6.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07426/0.07451, allocations: 50.42 MB / 352.5 MB, free: 3.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Stack): time 0.008711/0.08326, allocations: 9.455 MB / 362 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004246/0.08753, allocations: 3.361 MB / 365.3 MB, free: 6.785 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004588/0.08801, allocations: 23.88 kB / 365.3 MB, free: 6.762 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001866/0.08989, allocations: 1.098 MB / 366.4 MB, free: 5.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008489/0.09075, allocations: 0.5873 MB / 367 MB, free: 5.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007708/0.09153, allocations: 443.3 kB / 367.5 MB, free: 4.641 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.144/0.2355, allocations: 6.958 MB / 374.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004287/0.2398, allocations: 3.907 MB / 378.3 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003318/0.2432, allocations: 2.524 MB / 380.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002222/0.2454, allocations: 2.157 MB / 383 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004079/0.2458, allocations: 224.7 kB / 383.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000909/0.2468, allocations: 395.4 kB / 383.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00331/0.2501, allocations: 4.837 MB / 388.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004394/0.2545, allocations: 6.084 MB / 394.5 MB, free: 6.777 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01349/0.268, allocations: 20.56 MB / 415.1 MB, free: 5.078 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.268, allocations: 0 / 415.1 MB, free: 5.078 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.268, allocations: 0 / 415.1 MB, free: 5.078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002927/0.2683, allocations: 4 kB / 415.1 MB, free: 5.074 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 4.0.0+maint.om/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 ()