Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell.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_Cell,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|cell.cell.limIntegrator.y|cell.limIntegrator.y|energy.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell") translateModel(Modelica.Electrical.Batteries.Examples.CCCV_Cell,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|cell.cell.limIntegrator.y|cell.limIntegrator.y|energy.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 113 kB / 17.75 MB, free: 5.344 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.001125/0.001125, allocations: 184.7 kB / 18.68 MB, free: 4.426 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.208/1.208, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.352e-05, allocations: 2.281 kB / 351.9 MB, free: 3.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Cell): time 0.006788/0.00682, allocations: 5.488 MB / 357.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002966/0.009802, allocations: 1.723 MB / 359.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005976/0.01041, allocations: 15.94 kB / 359.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.01163, allocations: 0.5135 MB / 359.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008739/0.01254, allocations: 350.2 kB / 360 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009391/0.01349, allocations: 374.3 kB / 360.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001359/0.01486, allocations: 1.013 MB / 361.4 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004784/0.01534, allocations: 333.4 kB / 361.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003496/0.0157, allocations: 370.7 kB / 362.1 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000408/0.01612, allocations: 390.5 kB / 362.4 MB, free: 8.738 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.876e-05/0.01622, allocations: 83.98 kB / 362.5 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008391/0.01706, allocations: 0.757 MB / 363.3 MB, free: 7.898 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007907/0.01786, allocations: 1.078 MB / 364.4 MB, free: 6.809 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003683/0.01824, allocations: 0.6775 MB / 365 MB, free: 6.121 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.01836, allocations: 115.7 kB / 365.1 MB, free: 6.008 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001256/0.01849, allocations: 31.86 kB / 365.2 MB, free: 5.977 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 (120) * Number of variables: 120 (120) Notification: Performance of Bindings: time 0.003033/0.02153, allocations: 3.601 MB / 368.8 MB, free: 2.246 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001722/0.02171, allocations: 159.2 kB / 368.9 MB, free: 2.094 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001208/0.02292, allocations: 1.37 MB / 370.3 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of simplify1: time 9.577e-05/0.02303, allocations: 115.9 kB / 370.4 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of Alias: time 0.1704/0.1935, allocations: 3.456 MB / 373.9 MB, free: 16.7 MB / 302.1 MB Notification: Performance of simplify2: time 8.026e-05/0.1936, allocations: 51.7 kB / 373.9 MB, free: 16.7 MB / 302.1 MB Notification: Performance of Events: time 0.0002677/0.1938, allocations: 201.6 kB / 374.1 MB, free: 16.67 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003933/0.1942, allocations: 308.8 kB / 374.4 MB, free: 16.62 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003977/0.1947, allocations: 383.6 kB / 374.8 MB, free: 16.46 MB / 302.1 MB Notification: Performance of Causalize: time 0.001468/0.1961, allocations: 1.244 MB / 376 MB, free: 16.12 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0006945/0.1968, allocations: 0.7997 MB / 376.8 MB, free: 16.03 MB / 302.1 MB Error: Internal error NBInitialization.main failed to apply modules!