Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.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_StackRC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|energy.y|stack.cell.1, 1..cell.capacitor.1..v|stack.cell.1, 1..cell.capacitor.2..v|stack.cell.1, 1..cell.limIntegrator.y|stack.cell.1, 1..limIntegrator.y|stack.cell.1, 2..cell.capacitor.1..v|stack.cell.1, 2..cell.capacitor.2..v|stack.cell.1, 2..cell.limIntegrator.y|stack.cell.1, 2..limIntegrator.y|stack.cell.2, 1..cell.capacitor.1..v|stack.cell.2, 1..cell.capacitor.2..v|stack.cell.2, 1..cell.limIntegrator.y|stack.cell.2, 1..limIntegrator.y|stack.cell.2, 2..cell.capacitor.1..v|stack.cell.2, 2..cell.capacitor.2..v|stack.cell.2, 2..cell.limIntegrator.y|stack.cell.2, 2..limIntegrator.y|stack.cell.3, 1..cell.capacitor.1..v|stack.cell.3, 1..cell.capacitor.2..v|stack.cell.3, 1..cell.limIntegrator.y|stack.cell.3, 1..limIntegrator.y|stack.cell.3, 2..cell.capacitor.1..v|stack.cell.3, 2..cell.capacitor.2..v|stack.cell.3, 2..cell.limIntegrator.y|stack.cell.3, 2..limIntegrator.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC") translateModel(Modelica.Electrical.Batteries.Examples.CCCV_StackRC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|energy.y|stack.cell.1, 1..cell.capacitor.1..v|stack.cell.1, 1..cell.capacitor.2..v|stack.cell.1, 1..cell.limIntegrator.y|stack.cell.1, 1..limIntegrator.y|stack.cell.1, 2..cell.capacitor.1..v|stack.cell.1, 2..cell.capacitor.2..v|stack.cell.1, 2..cell.limIntegrator.y|stack.cell.1, 2..limIntegrator.y|stack.cell.2, 1..cell.capacitor.1..v|stack.cell.2, 1..cell.capacitor.2..v|stack.cell.2, 1..cell.limIntegrator.y|stack.cell.2, 1..limIntegrator.y|stack.cell.2, 2..cell.capacitor.1..v|stack.cell.2, 2..cell.capacitor.2..v|stack.cell.2, 2..cell.limIntegrator.y|stack.cell.2, 2..limIntegrator.y|stack.cell.3, 1..cell.capacitor.1..v|stack.cell.3, 1..cell.capacitor.2..v|stack.cell.3, 1..cell.limIntegrator.y|stack.cell.3, 1..limIntegrator.y|stack.cell.3, 2..cell.capacitor.1..v|stack.cell.3, 2..cell.capacitor.2..v|stack.cell.3, 2..cell.limIntegrator.y|stack.cell.3, 2..limIntegrator.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009715/0.0009715, allocations: 97.91 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001025/0.001025, allocations: 200.5 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.7 MB / 246.8 MB, free: 9.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002437/0.0002438, allocations: 4 kB / 307.7 MB, free: 0.5703 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1216, allocations: 51.53 MB / 359.3 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_StackRC): time 0.01426/0.1359, allocations: 10.64 MB / 369.9 MB, free: 2.359 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1919/0.3278, allocations: 3.807 MB / 373.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.3289, allocations: 36.98 kB / 373.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008312/0.3373, allocations: 5.92 MB / 379.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.3387, allocations: 476.2 kB / 380.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.3398, allocations: 479.6 kB / 380.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01807/0.3579, allocations: 21.45 MB / 402.1 MB, free: 15.46 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01016/0.3681, allocations: 9.102 MB / 411.2 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05425/0.4224, allocations: 51.12 MB / 462.3 MB, free: 3.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005452/0.4279, allocations: 2.81 MB / 465.1 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001087/0.429, allocations: 328 kB / 465.4 MB, free: 380 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/0.4311, allocations: 0.5235 MB / 465.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002173/0.4333, allocations: 2.611 MB / 468.5 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006563/0.4399, allocations: 4.065 MB / 472.6 MB, free: 9.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0162/0.4561, allocations: 15.65 MB / 488.3 MB, free: 9.754 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4562, allocations: 0 / 488.3 MB, free: 9.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4562, allocations: 0 / 488.3 MB, free: 9.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004974/0.4567, allocations: 4 kB / 488.3 MB, free: 9.75 MB / 398.1 MB Error: Too few equations, under-determined system. The model has 983 equation(s) and 1013 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Electrical/Batteries/Examples/CCCV_StackRC.mo:55:3-58:22:writable] Error: stack.stackBus.cellBus.T = busTranscription.stackBus.cellBus.T has size 1 but 0 variables ()