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/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_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/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 198.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008485/0.000849, allocations: 99.16 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.493e-05/1.495e-05, allocations: 4 kB / 343.7 MB, free: 8.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09593/0.09596, allocations: 51.47 MB / 395.2 MB, free: 4.781 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3279/0.4239, allocations: 92.12 MB / 487.3 MB, free: 1.176 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.4242, allocations: 79.33 kB / 487.4 MB, free: 1.141 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Electrical/Batteries/BaseClasses/BaseStackData.mo:13:3-17:109:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cellData[1,1].Qnom to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Electrical/Batteries/BaseClasses/BaseStackData.mo:13:3-17:109:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cellData[1,1].OCVmax to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Electrical/Batteries/BaseClasses/BaseStackData.mo:13:3-17:109:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cellData[1,1].OCVmin to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Electrical/Batteries/BaseClasses/BaseStackData.mo:13:3-17:109:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cellData[1,1].Ri to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Electrical/Batteries/BaseClasses/BaseStackData.mo:13:3-17:109:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cellData[1,1].Qnom to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Electrical/Batteries/BaseClasses/BaseStackData.mo:13:3-17:109:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cellData[1,1].OCVmax to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Electrical/Batteries/BaseClasses/BaseStackData.mo:13:3-17:109:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cellData[1,1].OCVmin to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Electrical/Batteries/BaseClasses/BaseStackData.mo:13:3-17:109:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cellData[1,1].Ri to false. Notification: Performance of FrontEnd - DAE generated: time 0.6271/1.051, allocations: 201.5 MB / 0.6728 GB, free: 62.34 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.084e-06/1.051, allocations: 0 / 0.6728 GB, free: 62.34 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.002779/1.054, allocations: 234.3 kB / 0.673 GB, free: 62.32 MB / 442.7 MB Error: Too few equations, under-determined system. The model has 831 equation(s) and 837 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Thermal/HeatTransfer/Interfaces/HeatPort.mo:4:3-5:75:writable] Warning: Variable stack.heatPort[3,2].Q_flow does not have any remaining equation to be solved in. The original equations were: Equation 401: stack.heatPort[3,2].Q_flow + thermalCollectorMatrix.port_a[3,2].Q_flow = 0.0, which needs to solve for thermalCollectorMatrix.port_a[3,2].Q_flow [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Thermal/HeatTransfer/Interfaces/HeatPort.mo:4:3-5:75:writable] Warning: Variable stack.heatPort[3,1].Q_flow does not have any remaining equation to be solved in. The original equations were: Equation 402: stack.heatPort[3,1].Q_flow + thermalCollectorMatrix.port_a[3,1].Q_flow = 0.0, which needs to solve for thermalCollectorMatrix.port_a[3,1].Q_flow [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Thermal/HeatTransfer/Interfaces/HeatPort.mo:4:3-5:75:writable] Warning: Variable stack.heatPort[2,2].Q_flow does not have any remaining equation to be solved in. The original equations were: Equation 403: stack.heatPort[2,2].Q_flow + thermalCollectorMatrix.port_a[2,2].Q_flow = 0.0, which needs to solve for thermalCollectorMatrix.port_a[2,2].Q_flow [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Thermal/HeatTransfer/Interfaces/HeatPort.mo:4:3-5:75:writable] Warning: Variable stack.heatPort[2,1].Q_flow does not have any remaining equation to be solved in. The original equations were: Equation 404: stack.heatPort[2,1].Q_flow + thermalCollectorMatrix.port_a[2,1].Q_flow = 0.0, which needs to solve for thermalCollectorMatrix.port_a[2,1].Q_flow [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Thermal/HeatTransfer/Interfaces/HeatPort.mo:4:3-5:75:writable] Warning: Variable stack.heatPort[1,2].Q_flow does not have any remaining equation to be solved in. The original equations were: Equation 405: stack.heatPort[1,2].Q_flow + thermalCollectorMatrix.port_a[1,2].Q_flow = 0.0, which needs to solve for thermalCollectorMatrix.port_a[1,2].Q_flow [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Thermal/HeatTransfer/Interfaces/HeatPort.mo:4:3-5:75:writable] Warning: Variable stack.heatPort[1,1].Q_flow does not have any remaining equation to be solved in. The original equations were: Equation 406: stack.heatPort[1,1].Q_flow + thermalCollectorMatrix.port_a[1,1].Q_flow = 0.0, which needs to solve for thermalCollectorMatrix.port_a[1,1].Q_flow