Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Components.myBattery.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) 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(PowerSysPro.Components.myBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Components.myBattery") translateModel(PowerSysPro.Components.myBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Components.myBattery") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 105.7 kB / 17.08 MB, free: 6.078 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.0009305/0.0009305, allocations: 195.5 kB / 18.03 MB, free: 5.164 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.235/1.235, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04947/0.04947, allocations: 8.105 MB / 300 MB, free: 6.672 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.187e-05, allocations: 5.375 kB / 363.1 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Components.myBattery): time 0.003486/0.003522, allocations: 2.473 MB / 365.6 MB, free: 4.988 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.004846, allocations: 0.9028 MB / 366.5 MB, free: 4.082 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.833e-05/0.004946, allocations: 4 kB / 366.5 MB, free: 4.078 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005238/0.005476, allocations: 382.8 kB / 366.9 MB, free: 3.703 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.005771, allocations: 203.2 kB / 367.1 MB, free: 3.504 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008045/0.006605, allocations: 437.3 kB / 367.5 MB, free: 3.078 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004233/0.007038, allocations: 390.8 kB / 367.9 MB, free: 2.695 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.007254, allocations: 115.2 kB / 368 MB, free: 2.574 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.007431, allocations: 175.4 kB / 368.2 MB, free: 2.402 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003039/0.007742, allocations: 227.4 kB / 368.4 MB, free: 2.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.007797, allocations: 28 kB / 368.4 MB, free: 2.152 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007815/0.008584, allocations: 0.6047 MB / 369 MB, free: 1.547 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003401/0.008935, allocations: 467 kB / 369.5 MB, free: 1.086 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001545/0.009096, allocations: 275.9 kB / 369.7 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.009153, allocations: 39.88 kB / 369.8 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.103e-05/0.00921, allocations: 4 kB / 369.8 MB, free: 0.7695 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: 45 (44) * Number of variables: 45 (45) Notification: Performance of Bindings: time 0.1245/0.1337, allocations: 1.552 MB / 371.3 MB, free: 53.33 MB / 302.1 MB Notification: Performance of FunctionAlias: time 8.14e-05/0.1338, allocations: 64.81 kB / 371.4 MB, free: 53.33 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0005898/0.1344, allocations: 0.731 MB / 372.1 MB, free: 53.27 MB / 302.1 MB Notification: Performance of simplify1: time 4.524e-05/0.1345, allocations: 44.78 kB / 372.2 MB, free: 53.27 MB / 302.1 MB Notification: Performance of Alias: time 0.0009404/0.1354, allocations: 1.001 MB / 373.2 MB, free: 53.02 MB / 302.1 MB Notification: Performance of simplify2: time 2.441e-05/0.1355, allocations: 30.55 kB / 373.2 MB, free: 53.02 MB / 302.1 MB Notification: Performance of Events: time 0.0001762/0.1356, allocations: 133.8 kB / 373.3 MB, free: 53 MB / 302.1 MB Notification: Performance of Detect States: time 0.00016/0.1358, allocations: 176.5 kB / 373.5 MB, free: 52.96 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001879/0.136, allocations: 245.6 kB / 373.7 MB, free: 52.84 MB / 302.1 MB Notification: Performance of Causalize: time 0.0008461/0.1369, allocations: 1.093 MB / 374.8 MB, free: 52.67 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003275/0.1372, allocations: 494.2 kB / 375.3 MB, free: 52.61 MB / 302.1 MB Error: Internal error NBInitialization.main failed to apply modules!