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.0009101/0.00091, allocations: 97.72 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001466/0.001467, allocations: 192.9 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.7 MB / 246.4 MB, free: 9.809 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002206/0.0002206, allocations: 11.98 kB / 307.1 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1016, allocations: 51.53 MB / 358.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_StackRC): time 0.009584/0.1112, allocations: 9.957 MB / 368.6 MB, free: 3.414 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2067/0.3179, allocations: 3.597 MB / 372.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001791/0.3197, allocations: 28.09 kB / 372.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01071/0.3305, allocations: 5.363 MB / 377.6 MB, free: 12.5 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Electrical/Batteries/BatteryStacks/CellRCStack.mo:14:26-14:33:writable] Warning: 'each' used when modifying non-array element v. Notification: Performance of NFTyping.typeBindings: time 0.002099/0.3326, allocations: 442.2 kB / 378 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.3338, allocations: 321.2 kB / 378.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02194/0.3557, allocations: 18.88 MB / 397.2 MB, free: 4.129 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00958/0.3654, allocations: 7.765 MB / 405 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.06047/0.4259, allocations: 46.9 MB / 451.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005731/0.4316, allocations: 2.719 MB / 454.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001241/0.4329, allocations: 328 kB / 454.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002479/0.4354, allocations: 0.5103 MB / 455.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002365/0.4378, allocations: 2.608 MB / 458 MB, free: 8.098 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003439/0.4412, allocations: 1.747 MB / 459.8 MB, free: 6.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01473/0.456, allocations: 13.82 MB / 473.6 MB, free: 8.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.456, allocations: 0 / 473.6 MB, free: 8.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.746e-06/0.4561, allocations: 4 kB / 473.6 MB, free: 8.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005147/0.4566, allocations: 0 / 473.6 MB, free: 8.801 MB / 382.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 ()