Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_CellRC.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_CellRC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|cell.cell.capacitor.1..v|cell.cell.capacitor.2..v|cell.cell.limIntegrator.y|cell.limIntegrator.y|energy.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_CellRC") translateModel(Modelica.Electrical.Batteries.Examples.CCCV_CellRC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|cell.cell.capacitor.1..v|cell.cell.capacitor.2..v|cell.cell.limIntegrator.y|cell.limIntegrator.y|energy.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_CellRC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009808/0.0009809, allocations: 114.5 kB / 18.47 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009623/0.0009623, allocations: 206.2 kB / 19.42 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.233/1.233, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24e-05/1.242e-05, allocations: 4.391 kB / 359.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_CellRC): time 0.006197/0.006218, allocations: 6.057 MB / 365.4 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003118/0.009348, allocations: 2.306 MB / 367.7 MB, free: 4.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002766/0.009637, allocations: 15.94 kB / 367.7 MB, free: 4.555 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.0108, allocations: 0.634 MB / 368.3 MB, free: 3.918 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006195/0.01143, allocations: 437.7 kB / 368.8 MB, free: 3.488 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007233/0.01217, allocations: 410.9 kB / 369.2 MB, free: 3.09 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Electrical/Batteries/BatteryStacks/CellRCStack.mo:29:5-31:11:writable] Error: Internal error Failed to evaluate branch condition in if equation containing connect equations: `k < cell.cell.cellData.nRC`