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.001282/0.001282, allocations: 105.8 kB / 16.42 MB, free: 6.531 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.001228/0.001228, allocations: 186 kB / 17.36 MB, free: 5.723 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.982/1.982, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05867/0.05867, allocations: 10.73 MB / 281.3 MB, free: 1.285 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.944e-05/2.945e-05, allocations: 2.281 kB / 391.4 MB, free: 46.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.004645/0.004682, allocations: 2.63 MB / 394.1 MB, free: 44.21 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.006725, allocations: 0.7972 MB / 394.9 MB, free: 43.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003099/0.007048, allocations: 27.28 kB / 394.9 MB, free: 43.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003178/0.007372, allocations: 74.39 kB / 395 MB, free: 43.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.007648, allocations: 60.62 kB / 395 MB, free: 43.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.008697, allocations: 395.8 kB / 395.4 MB, free: 43.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001192/0.009902, allocations: 0.8042 MB / 396.2 MB, free: 42.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002732/0.01019, allocations: 117.8 kB / 396.3 MB, free: 42.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000472/0.01067, allocations: 320.9 kB / 396.6 MB, free: 42.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004111/0.01109, allocations: 273.1 kB / 396.9 MB, free: 42.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.01121, allocations: 46.62 kB / 397 MB, free: 42.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/0.01147, allocations: 84.36 kB / 397 MB, free: 42.65 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0007722/0.01226, allocations: 0.8618 MB / 397.9 MB, free: 42.04 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003739/0.01264, allocations: 0.5426 MB / 398.4 MB, free: 41.63 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.0128, allocations: 88.75 kB / 398.5 MB, free: 41.58 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001497/0.01295, allocations: 33.12 kB / 398.6 MB, free: 41.57 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