Running command: translateModel(Modelica.Electrical.Batteries.Examples.CCCV_StackRC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=24000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Batteries.Examples.CCCV_StackRC") Notification: Performance of loadModel(Modelica): time 2.387/2.387, allocations: 224.7 MB / 241.1 MB, free: 1.699 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.874e-05/2.872e-05, allocations: 5.406 kB / 294.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1241, allocations: 50.41 MB / 345 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_StackRC): time 0.01842/0.1426, allocations: 8.893 MB / 353.9 MB, free: 44 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007413/0.1501, allocations: 3.204 MB / 357.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.1514, allocations: 43.88 kB / 357.1 MB, free: 12.79 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:996:9-996:67:writable] Error: Internal error NFCeval.evalBinarySub failed to evaluate stack.stackData.cellDataDegraded.Ri - 0.0 [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:996:9-996:67:writable] Error: Internal error NFCeval.evalBinarySub failed to evaluate stack.stackData.cellDataOriginal.Ri - 0.0 Notification: Performance of NFTyping.typeComponents: time 0.01562/0.167, allocations: 4.898 MB / 362 MB, free: 7.883 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/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.001994/0.1691, allocations: 414.7 kB / 362.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.1707, allocations: 303.5 kB / 362.7 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01914/0.1899, allocations: 7.114 MB / 369.8 MB, free: 56 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007954/0.1979, allocations: 2.692 MB / 372.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007639/0.2056, allocations: 2.307 MB / 374.8 MB, free: 11.03 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006265/0.2119, allocations: 2.691 MB / 377.5 MB, free: 8.332 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002595/0.2146, allocations: 211.9 kB / 377.7 MB, free: 8.125 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001919/0.2166, allocations: 168 kB / 377.9 MB, free: 7.961 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005353/0.222, allocations: 1.752 MB / 379.6 MB, free: 6.203 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00422/0.2263, allocations: 0.5352 MB / 380.2 MB, free: 5.668 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02338/0.2497, allocations: 11.69 MB / 391.9 MB, free: 9.953 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2498, allocations: 0 / 391.9 MB, free: 9.953 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.2498, allocations: 0 / 391.9 MB, free: 9.953 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004515/0.2503, allocations: 0 / 391.9 MB, free: 9.953 MB / 330.7 MB Error: Too few equations, under-determined system. The model has 983 equation(s) and 1013 variable(s). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Electrical/Batteries/Examples/CCCV_StackRC.mo:54:3-57:22:writable] Error: Internal error stack.stackBus.cellBus.T = busTranscription.stackBus.cellBus.T has size size 1 but 0 variables () Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 983 * Number of variables: 1013 Notification: Performance of Generate backend data structure: time 0.3725/0.6228, allocations: 13.5 MB / 405.4 MB, free: 40.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.6229, allocations: 8.781 kB / 405.4 MB, free: 40.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003601/0.6265, allocations: 0.8917 MB / 406.3 MB, free: 39.58 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01943/0.646, allocations: 6.627 MB / 412.9 MB, free: 36.72 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003158/0.6492, allocations: 1.003 MB / 413.9 MB, free: 36.35 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001829/0.6511, allocations: 382.6 kB / 414.3 MB, free: 36.23 MB / 330.7 MB Error: Too few equations, under-determined system. The model has 983 equation(s) and 1013 variable(s). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Electrical/Batteries/Examples/CCCV_StackRC.mo:54:3-57:22:writable] Error: Internal error stack.stackBus.cellBus.T = busTranscription.stackBus.cellBus.T has size size 1 but 0 variables () Notification: Performance of preOpt clockPartitioning (simulation) : time 0.02192/0.673, allocations: 6.53 MB / 420.8 MB, free: 32.89 MB / 330.7 MB Error: pre-optimization module clockPartitioning (simulation) failed.