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.001181/0.001181, allocations: 117.1 kB / 17.76 MB, free: 5.316 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.001522/0.001523, allocations: 188.5 kB / 18.69 MB, free: 4.395 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.325/1.325, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/1.982e-05, allocations: 2.281 kB / 351.9 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Cell): time 0.006999/0.007027, allocations: 5.478 MB / 357.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003152/0.01019, allocations: 1.727 MB / 359.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006689/0.01088, allocations: 11.94 kB / 359.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.01214, allocations: 0.5253 MB / 359.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.01315, allocations: 350.1 kB / 360 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.01423, allocations: 368.5 kB / 360.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001479/0.01572, allocations: 1.021 MB / 361.4 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006041/0.01634, allocations: 341.4 kB / 361.7 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00062/0.01697, allocations: 370.7 kB / 362.1 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004157/0.01739, allocations: 390.4 kB / 362.5 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.0175, allocations: 75.94 kB / 362.5 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008605/0.01837, allocations: 0.7609 MB / 363.3 MB, free: 7.844 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000706/0.01909, allocations: 1.082 MB / 364.4 MB, free: 6.75 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003551/0.01945, allocations: 0.6775 MB / 365.1 MB, free: 6.062 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.01958, allocations: 115.7 kB / 365.2 MB, free: 5.949 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001452/0.01973, allocations: 35.86 kB / 365.2 MB, free: 5.914 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.003091/0.02283, allocations: 3.601 MB / 368.8 MB, free: 2.184 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001468/0.02299, allocations: 147.8 kB / 368.9 MB, free: 2.039 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001276/0.02427, allocations: 1.37 MB / 370.3 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001026/0.02438, allocations: 107.9 kB / 370.4 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of Alias: time 0.1815/0.2058, allocations: 3.458 MB / 373.9 MB, free: 16.63 MB / 302.1 MB Notification: Performance of simplify2: time 8.454e-05/0.206, allocations: 53.39 kB / 373.9 MB, free: 16.63 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002591/0.2062, allocations: 255 kB / 374.2 MB, free: 16.58 MB / 302.1 MB Notification: Performance of Events: time 0.0002438/0.2065, allocations: 198.1 kB / 374.4 MB, free: 16.55 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003017/0.2068, allocations: 387.4 kB / 374.8 MB, free: 16.39 MB / 302.1 MB Notification: Performance of Causalize: time 0.001215/0.208, allocations: 1.245 MB / 376 MB, free: 16.04 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0006668/0.2087, allocations: 0.8028 MB / 376.8 MB, free: 15.95 MB / 302.1 MB Error: Internal error NBInitialization.main failed to apply modules!