Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital") translateModel(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 105.8 kB / 16.42 MB, free: 6.52 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.001175/0.001175, allocations: 192.3 kB / 17.35 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05406/0.05406, allocations: 10.74 MB / 281.3 MB, free: 1.285 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.431e-05, allocations: 5.516 kB / 391.4 MB, free: 45.99 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.003231/0.003264, allocations: 2.62 MB / 394.1 MB, free: 44.13 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.004726, allocations: 0.8053 MB / 394.9 MB, free: 43.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002196/0.004956, allocations: 22.81 kB / 394.9 MB, free: 43.56 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.005216, allocations: 75.23 kB / 395 MB, free: 43.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.005469, allocations: 56.08 kB / 395 MB, free: 43.46 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007734/0.00625, allocations: 387.9 kB / 395.4 MB, free: 43.26 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009234/0.007185, allocations: 0.8131 MB / 396.2 MB, free: 42.89 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.007431, allocations: 117.4 kB / 396.3 MB, free: 42.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000416/0.007855, allocations: 326.3 kB / 396.6 MB, free: 42.7 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003998/0.008261, allocations: 268.2 kB / 396.9 MB, free: 42.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.089e-05/0.008359, allocations: 46.56 kB / 397 MB, free: 42.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.008542, allocations: 84.97 kB / 397 MB, free: 42.56 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0006315/0.00918, allocations: 0.857 MB / 397.9 MB, free: 41.95 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002815/0.009469, allocations: 0.5417 MB / 398.4 MB, free: 41.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.009598, allocations: 94.38 kB / 398.5 MB, free: 41.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.328e-05/0.009687, allocations: 35.62 kB / 398.6 MB, free: 41.48 MB / 318.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if not R_disc.ts then R_disc.Iaction = IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(R_disc.alfa, 2.0 * (R_disc.SP - R_disc.PV) + 0.01 * R_disc.satDiff, 2.0 * (pre(R_disc.SP) - pre(R_disc.PV)) + 0.01 * pre(R_disc.satDiff), pre(R_disc.Iaction), 0.01, 1.0); elseif true then R_disc.Iaction = IndustrialControlSystems.LinearSystems.Discrete.Functions.f1Pole(R_disc.alfa, R_disc.cs, pre(R_disc.cs), pre(R_disc.Iaction), 0.01, 1.0, 0.1); end if