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.00113/0.00113, allocations: 199.8 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 226.5 MB / 245.4 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007563/0.0007563, allocations: 97.28 kB / 297.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000243/0.0002431, allocations: 4 kB / 358.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2274, allocations: 51.29 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1199/0.3474, allocations: 92.86 MB / 0.4905 GB, free: 14.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.3477, allocations: 92.89 kB / 0.4905 GB, free: 14.55 MB / 378.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.923/1.271, allocations: 204.6 MB / 0.6904 GB, free: 63.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.603e-06/1.271, allocations: 3.188 kB / 0.6904 GB, free: 63.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.003795/1.275, allocations: 230.1 kB / 0.6906 GB, free: 63.35 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