Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009096/0.0009097, allocations: 179.7 kB / 16.71 MB, free: 4.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 225.7 MB / 243.2 MB, free: 8.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008596/0.0008596, allocations: 100.4 kB / 294.4 MB, free: 9.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002616/0.0002616, allocations: 7.938 kB / 354.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2411, allocations: 50.41 MB / 404.6 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_StackRC): time 0.007562/0.2487, allocations: 9.937 MB / 414.5 MB, free: 21.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004764/0.2535, allocations: 3.683 MB / 418.2 MB, free: 17.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009402/0.2544, allocations: 23.88 kB / 418.2 MB, free: 17.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006277/0.2607, allocations: 5.838 MB / 424.1 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.2622, allocations: 457.3 kB / 424.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.2633, allocations: 475.5 kB / 425 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01915/0.2824, allocations: 21.26 MB / 446.2 MB, free: 5.562 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01133/0.2938, allocations: 9.041 MB / 455.3 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05802/0.3519, allocations: 50.83 MB / 0.4942 GB, free: 9.531 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004877/0.3568, allocations: 2.803 MB / 0.497 GB, free: 6.715 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001605/0.3585, allocations: 328 kB / 0.4973 GB, free: 6.395 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002954/0.3614, allocations: 0.5192 MB / 0.4978 GB, free: 5.875 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003156/0.3646, allocations: 2.597 MB / 0.5003 GB, free: 3.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2125/0.5771, allocations: 4.056 MB / 0.5043 GB, free: 84.11 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01686/0.594, allocations: 15.62 MB / 0.5195 GB, free: 79.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.5941, allocations: 2.344 kB / 0.5195 GB, free: 79.76 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5941, allocations: 0.5625 kB / 0.5195 GB, free: 79.76 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006394/0.5947, allocations: 0 / 0.5195 GB, free: 79.76 MB / 378.7 MB Error: Too few equations, under-determined system. The model has 983 equation(s) and 1013 variable(s). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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 ()