Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001652/0.001652, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 229.5 MB / 247.7 MB, free: 6.305 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009157/0.0009156, allocations: 95.66 kB / 299.8 MB, free: 5.352 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002124/0.0002125, allocations: 8 kB / 360.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2286, allocations: 51.41 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_StackRC): time 0.007726/0.2364, allocations: 9.97 MB / 422 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00469/0.2411, allocations: 4.131 MB / 426.2 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008165/0.242, allocations: 27.81 kB / 426.2 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00627/0.2483, allocations: 5.862 MB / 432 MB, free: 5.762 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.2496, allocations: 481.3 kB / 432.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008624/0.2505, allocations: 471.5 kB / 433 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02135/0.2718, allocations: 21.3 MB / 454.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01126/0.2831, allocations: 9.041 MB / 463.3 MB, free: 6.348 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0567/0.3399, allocations: 50.84 MB / 0.5021 GB, free: 3.449 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004988/0.3449, allocations: 2.81 MB / 0.5048 GB, free: 0.625 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00148/0.3464, allocations: 324 kB / 0.5051 GB, free: 316 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2085/0.5549, allocations: 0.5216 MB / 0.5057 GB, free: 81.92 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003364/0.5583, allocations: 2.608 MB / 0.5082 GB, free: 81.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007599/0.5659, allocations: 4.064 MB / 0.5122 GB, free: 80.56 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01529/0.5812, allocations: 15.69 MB / 0.5275 GB, free: 74.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.5813, allocations: 0 / 0.5275 GB, free: 74.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5813, allocations: 2.25 kB / 0.5275 GB, free: 74.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005573/0.5819, allocations: 0 / 0.5275 GB, free: 74.33 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 trunk/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 ()