Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MixingOneSourceOneBatteryOneDieselOneLoad.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.MixingOneSourceOneBatteryOneDieselOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MixingOneSourceOneBatteryOneDieselOneLoad") translateModel(PowerSysPro.Examples.MixingOneSourceOneBatteryOneDieselOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MixingOneSourceOneBatteryOneDieselOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 114.5 kB / 17.14 MB, free: 5.781 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.001133/0.001133, allocations: 198.9 kB / 18.08 MB, free: 4.883 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.199/1.199, allocations: 222.9 MB / 241.8 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04295/0.04295, allocations: 8.104 MB / 300 MB, free: 6.613 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.419e-05/1.42e-05, allocations: 2.281 kB / 415.1 MB, free: 21.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MixingOneSourceOneBatteryOneDieselOneLoad): time 0.003889/0.003911, allocations: 4.605 MB / 419.7 MB, free: 17.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.005776, allocations: 1.756 MB / 421.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.005973, allocations: 15.94 kB / 421.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006558/0.006635, allocations: 0.4902 MB / 422 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004766/0.00712, allocations: 390 kB / 422.4 MB, free: 14.47 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:34:7-34:67:writable] Warning: In relation diesel.rampTime == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.00845, allocations: 1.082 MB / 423.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006045/0.009064, allocations: 0.966 MB / 424.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003343/0.009406, allocations: 330.1 kB / 424.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.009634, allocations: 394.5 kB / 425.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004241/0.01006, allocations: 0.541 MB / 425.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.183e-05/0.01015, allocations: 84 kB / 425.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000595/0.01076, allocations: 0.7453 MB / 426.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005628/0.01133, allocations: 1.256 MB / 427.7 MB, free: 9.059 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002395/0.01157, allocations: 0.797 MB / 428.5 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.095e-05/0.01167, allocations: 107.7 kB / 428.6 MB, free: 8.145 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.693e-05/0.01174, allocations: 19.88 kB / 428.7 MB, free: 8.125 MB / 302.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for assert(diesel.S <= diesel.coeff * diesel.Smax, ">>> Required power is above the value that can be provided by " + "MixingOneSourceOneBatteryOneDieselOneLoad.diesel", AssertionLevel.error)