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.001083/0.001083, allocations: 111.8 kB / 18.47 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001082/0.001082, allocations: 218.2 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.099e-05/3.1e-05, allocations: 2.281 kB / 359.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Cell): time 0.006733/0.006774, allocations: 5.541 MB / 364.9 MB, free: 7.402 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003493/0.0103, allocations: 1.882 MB / 366.7 MB, free: 5.516 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004709/0.0108, allocations: 11.94 kB / 366.7 MB, free: 5.504 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.01198, allocations: 0.5213 MB / 367.3 MB, free: 4.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008119/0.0128, allocations: 398 kB / 367.7 MB, free: 4.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008887/0.01376, allocations: 374.9 kB / 368 MB, free: 4.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001093/0.01486, allocations: 1.017 MB / 369 MB, free: 3.211 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005655/0.01543, allocations: 337.4 kB / 369.4 MB, free: 2.867 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004566/0.0159, allocations: 374.7 kB / 369.7 MB, free: 2.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004219/0.01633, allocations: 394.4 kB / 370.1 MB, free: 2.113 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.472e-05/0.01643, allocations: 80 kB / 370.2 MB, free: 2.035 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008934/0.01733, allocations: 0.7609 MB / 371 MB, free: 1.273 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007836/0.01813, allocations: 1.101 MB / 372.1 MB, free: 164 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.2189/0.2371, allocations: 0.6776 MB / 372.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003369/0.2374, allocations: 114.9 kB / 372.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002759/0.2377, allocations: 37.56 kB / 372.9 MB, free: 13.73 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.003114/0.2408, allocations: 3.619 MB / 376.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001509/0.241, allocations: 159.5 kB / 376.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001163/0.2422, allocations: 1.371 MB / 378 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001419/0.2423, allocations: 114.4 kB / 378.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of Alias: time 0.003931/0.2463, allocations: 3.466 MB / 381.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of simplify2: time 8.213e-05/0.2464, allocations: 57.89 kB / 381.7 MB, free: 9.988 MB / 302.1 MB Notification: Performance of Events: time 0.0002911/0.2467, allocations: 212.9 kB / 381.9 MB, free: 9.875 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003166/0.247, allocations: 292.2 kB / 382.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003447/0.2473, allocations: 386.2 kB / 382.5 MB, free: 9.395 MB / 302.1 MB Notification: Performance of Causalize: time 0.001397/0.2487, allocations: 1.238 MB / 383.8 MB, free: 8.855 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0007233/0.2495, allocations: 0.8055 MB / 384.6 MB, free: 8.328 MB / 302.1 MB Error: Internal error NBInitialization.main failed to apply modules!