Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad.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.OneBatteryOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad") translateModel(PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009325/0.0009326, allocations: 110.9 kB / 17.09 MB, free: 5.984 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.0009021/0.0009021, allocations: 187.5 kB / 18.03 MB, free: 5.07 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.233/1.233, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05161/0.05161, allocations: 8.092 MB / 300 MB, free: 6.664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.433e-05, allocations: 2.281 kB / 363.1 MB, free: 7.453 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad): time 0.004229/0.004268, allocations: 3.128 MB / 366.3 MB, free: 4.309 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.006047, allocations: 1.179 MB / 367.4 MB, free: 3.125 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.006197, allocations: 4 kB / 367.4 MB, free: 3.121 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007333/0.006937, allocations: 442.5 kB / 367.9 MB, free: 2.688 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004176/0.007364, allocations: 266.8 kB / 368.1 MB, free: 2.426 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.009054, allocations: 0.9843 MB / 369.1 MB, free: 1.438 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006419/0.009704, allocations: 0.5958 MB / 369.7 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/0.009999, allocations: 161.2 kB / 369.9 MB, free: 0.668 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.01024, allocations: 239.2 kB / 370.1 MB, free: 444 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003587/0.0106, allocations: 314.9 kB / 370.4 MB, free: 128 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.598e-05/0.01067, allocations: 51.94 kB / 370.5 MB, free: 76 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1332/0.1439, allocations: 0.7074 MB / 371.2 MB, free: 52.53 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003788/0.1443, allocations: 0.6949 MB / 371.9 MB, free: 52.26 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001572/0.1445, allocations: 435.5 kB / 372.3 MB, free: 51.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.74e-05/0.1446, allocations: 63.88 kB / 372.4 MB, free: 51.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.987e-05/0.1447, allocations: 9.406 kB / 372.4 MB, free: 51.96 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: 67 (63) * Number of variables: 67 (67) Notification: Performance of Bindings: time 0.001472/0.1462, allocations: 2.421 MB / 374.8 MB, free: 50.96 MB / 302.1 MB Notification: Performance of FunctionAlias: time 9.809e-05/0.1463, allocations: 111.4 kB / 374.9 MB, free: 50.95 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001065/0.1473, allocations: 1.64 MB / 376.5 MB, free: 50.88 MB / 302.1 MB Notification: Performance of simplify1: time 6.785e-05/0.1474, allocations: 102.3 kB / 376.6 MB, free: 50.88 MB / 302.1 MB Notification: Performance of Alias: time 0.001197/0.1486, allocations: 1.502 MB / 378.1 MB, free: 50.59 MB / 302.1 MB Notification: Performance of simplify2: time 5.639e-05/0.1487, allocations: 88.42 kB / 378.2 MB, free: 50.59 MB / 302.1 MB Notification: Performance of Events: time 0.0001962/0.1489, allocations: 198.8 kB / 378.4 MB, free: 50.56 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002365/0.1491, allocations: 323.4 kB / 378.7 MB, free: 50.52 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003325/0.1495, allocations: 449.9 kB / 379.2 MB, free: 50.39 MB / 302.1 MB Notification: Performance of Causalize: time 0.00192/0.1514, allocations: 2.437 MB / 381.6 MB, free: 50.01 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.000685/0.1521, allocations: 1.016 MB / 382.6 MB, free: 49.91 MB / 302.1 MB Error: Internal error NBInitialization.main failed to apply modules!