Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.UsingBatteries.LoadRescuedByBattery.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.Examples.UsingBatteries.LoadRescuedByBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingBatteries.LoadRescuedByBattery") translateModel(PowerSysPro.Examples.UsingBatteries.LoadRescuedByBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingBatteries.LoadRescuedByBattery") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 115.2 kB / 17.14 MB, free: 5.922 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.00112/0.00112, allocations: 197.3 kB / 18.08 MB, free: 5 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.182/1.182, allocations: 222.9 MB / 241.8 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04146/0.04146, allocations: 8.085 MB / 300 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.804e-05, allocations: 6.219 kB / 415.1 MB, free: 21.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingBatteries.LoadRescuedByBattery): time 0.003881/0.003908, allocations: 4.691 MB / 419.8 MB, free: 17.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.005494, allocations: 1.432 MB / 421.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.005679, allocations: 8 kB / 421.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006836/0.006368, allocations: 0.498 MB / 421.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005077/0.006897, allocations: 421.8 kB / 422.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.008234, allocations: 1.074 MB / 423.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006577/0.008899, allocations: 1.02 MB / 424.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003219/0.009228, allocations: 311.3 kB / 424.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.009465, allocations: 394.5 kB / 424.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004398/0.009911, allocations: 0.5332 MB / 425.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.759e-05/0.01001, allocations: 80 kB / 425.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000697/0.01071, allocations: 0.7415 MB / 426.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006671/0.01139, allocations: 1.314 MB / 427.6 MB, free: 9.215 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003045/0.0117, allocations: 0.8318 MB / 428.4 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.183e-05/0.01179, allocations: 107.7 kB / 428.5 MB, free: 8.266 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.49e-05/0.01188, allocations: 15.94 kB / 428.6 MB, free: 8.25 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: 144 (126) * Number of variables: 144 (144) Notification: Performance of Bindings: time 0.002935/0.01482, allocations: 4.516 MB / 433.1 MB, free: 3.566 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001852/0.01501, allocations: 227.6 kB / 433.3 MB, free: 3.344 MB / 302.1 MB Notification: Performance of Early Inline: time 0.00266/0.01768, allocations: 3.587 MB / 436.9 MB, free: 15.71 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001996/0.01789, allocations: 219.7 kB / 437.1 MB, free: 15.49 MB / 318.1 MB Notification: Performance of Alias: time 0.002605/0.0205, allocations: 2.556 MB / 439.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001452/0.02066, allocations: 199.8 kB / 439.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of Events: time 0.0003715/0.02104, allocations: 421.2 kB / 440.3 MB, free: 12.19 MB / 318.1 MB Notification: Performance of Detect States: time 0.0005119/0.02156, allocations: 0.6382 MB / 440.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0008394/0.02241, allocations: 0.9575 MB / 441.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of Causalize: time 0.003884/0.0263, allocations: 3.982 MB / 445.8 MB, free: 6.441 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.001793/0.0281, allocations: 2.233 MB / 448.1 MB, free: 4.176 MB / 318.1 MB Error: Internal error NBInitialization.main failed to apply modules!