Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Cell.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Cell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001024/0.001024, allocations: 109.9 kB / 18.47 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001116/0.001116, allocations: 204.1 kB / 19.42 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.347e-05, allocations: 2.281 kB / 359.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Cell): time 0.006747/0.006779, allocations: 5.541 MB / 364.9 MB, free: 7.426 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002868/0.009668, allocations: 1.882 MB / 366.7 MB, free: 5.539 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002687/0.00995, allocations: 11.94 kB / 366.7 MB, free: 5.527 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009937/0.01095, allocations: 0.5292 MB / 367.3 MB, free: 4.996 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006298/0.01163, allocations: 397.9 kB / 367.7 MB, free: 4.605 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007437/0.01238, allocations: 367.1 kB / 368 MB, free: 4.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009863/0.01337, allocations: 1.017 MB / 369 MB, free: 3.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004731/0.01386, allocations: 349.3 kB / 369.4 MB, free: 2.875 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003635/0.01423, allocations: 370.8 kB / 369.7 MB, free: 2.512 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004045/0.01464, allocations: 398.4 kB / 370.1 MB, free: 2.121 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.258e-05/0.01474, allocations: 76 kB / 370.2 MB, free: 2.047 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008566/0.01561, allocations: 0.7608 MB / 371 MB, free: 1.285 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007872/0.0164, allocations: 1.101 MB / 372.1 MB, free: 176 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.2168/0.2332, allocations: 0.6792 MB / 372.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003376/0.2336, allocations: 117.2 kB / 372.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003016/0.2339, allocations: 32.44 kB / 372.9 MB, free: 13.7 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.003586/0.2375, allocations: 3.617 MB / 376.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001866/0.2377, allocations: 164.4 kB / 376.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001357/0.2391, allocations: 1.367 MB / 378 MB, free: 11.99 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001727/0.2393, allocations: 111 kB / 378.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of Alias: time 0.00424/0.2435, allocations: 3.469 MB / 381.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simplify2: time 7.724e-05/0.2436, allocations: 54.86 kB / 381.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of Detect States: time 0.0005712/0.2442, allocations: 244.9 kB / 381.9 MB, free: 9.852 MB / 302.1 MB Notification: Performance of Events: time 0.0003084/0.2445, allocations: 204.7 kB / 382.1 MB, free: 9.746 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003863/0.2449, allocations: 387.8 kB / 382.5 MB, free: 9.457 MB / 302.1 MB Notification: Performance of Causalize: time 0.001556/0.2465, allocations: 1.246 MB / 383.7 MB, free: 8.914 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008721/0.2473, allocations: 0.7993 MB / 384.5 MB, free: 8.391 MB / 302.1 MB Error: Internal error NBInitialization.main failed to apply modules!