Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Electrical.Batteries.Examples.CCCV_Stack") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 196.1 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 226.5 MB / 245.4 MB, free: 8.074 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007602/0.0007602, allocations: 92.91 kB / 297.4 MB, free: 6.879 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002203/0.0002204, allocations: 4 kB / 357.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2046, allocations: 51.29 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1007/0.3054, allocations: 92.86 MB / 0.4898 GB, free: 14.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.3056, allocations: 83.97 kB / 0.4899 GB, free: 14.64 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.8814/1.187, allocations: 204.6 MB / 0.6897 GB, free: 63.55 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.305e-06/1.187, allocations: 3.469 kB / 0.6897 GB, free: 63.55 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.003451/1.191, allocations: 223.9 kB / 0.6899 GB, free: 63.54 MB / 442.8 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