Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_StackRC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008873/0.0008873, allocations: 94.31 kB / 17.31 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.0011, allocations: 181.1 kB / 18.21 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 223.3 MB / 242.3 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002182/0.0002182, allocations: 11.92 kB / 302.1 MB, free: 5.859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0726/0.07284, allocations: 50.41 MB / 352.5 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_StackRC): time 0.009962/0.08281, allocations: 10.61 MB / 363.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004811/0.08764, allocations: 3.654 MB / 366.8 MB, free: 5.121 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006894/0.08834, allocations: 23.88 kB / 366.8 MB, free: 5.098 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1346/0.223, allocations: 6.033 MB / 372.8 MB, free: 16.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.2244, allocations: 451.7 kB / 373.3 MB, free: 16.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009094/0.2253, allocations: 476.3 kB / 373.7 MB, free: 16.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01811/0.2434, allocations: 21.79 MB / 395.5 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007165/0.2506, allocations: 9.207 MB / 404.7 MB, free: 132 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05494/0.3056, allocations: 52.56 MB / 457.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003348/0.309, allocations: 2.807 MB / 460.1 MB, free: 8.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004917/0.3095, allocations: 324 kB / 460.4 MB, free: 8.594 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.3106, allocations: 0.5286 MB / 460.9 MB, free: 8.078 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00177/0.3124, allocations: 2.602 MB / 463.5 MB, free: 5.473 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003569/0.316, allocations: 4.055 MB / 467.6 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009948/0.3259, allocations: 13.79 MB / 481.4 MB, free: 3.898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.326, allocations: 0 / 481.4 MB, free: 3.898 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.326, allocations: 0 / 481.4 MB, free: 3.898 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000125/0.3261, allocations: 5.219 kB / 481.4 MB, free: 3.895 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 4.0.0+maint.om/Electrical/Batteries/Examples/CCCV_StackRC.mo:54:3-57:22:writable] Error: stack.stackBus.cellBus.T = busTranscription.stackBus.cellBus.T has size 1 but 0 variables ()