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.0009952/0.0009998, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001609/0.001609, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.4 MB / 222.1 MB, free: 5.391 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05482/0.05482, allocations: 10.75 MB / 281.1 MB, free: 10.41 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005072/0.0005072, allocations: 12 kB / 341.6 MB, free: 23.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1015, allocations: 50.01 MB / 391.6 MB, free: 5.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.002858/0.1044, allocations: 2.188 MB / 393.8 MB, free: 3.551 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1058, allocations: 0.757 MB / 394.6 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002115/0.106, allocations: 19.81 kB / 394.6 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.1062, allocations: 51.52 kB / 394.7 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.1064, allocations: 47.53 kB / 394.7 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005905/0.107, allocations: 299.5 kB / 395 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006506/0.1077, allocations: 0.6452 MB / 395.6 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.1079, allocations: 90.67 kB / 395.7 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002971/0.1082, allocations: 255 kB / 396 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003615/0.1086, allocations: 266.8 kB / 396.2 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.368e-05/0.1086, allocations: 20 kB / 396.3 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.1088, allocations: 59.97 kB / 396.3 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.1089, allocations: 135.5 kB / 396.5 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.1091, allocations: 129.3 kB / 396.6 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.1095, allocations: 415.3 kB / 397 MB, free: 388 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1095, allocations: 12 kB / 397 MB, free: 376 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1095, allocations: 0 / 397 MB, free: 376 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1095, allocations: 0 / 397 MB, free: 376 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001473/0.111, allocations: 0.8859 MB / 397.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.111, allocations: 8.031 kB / 397.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.1112, allocations: 75.11 kB / 398 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005989/0.1118, allocations: 464.5 kB / 398.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.1119, allocations: 70.69 kB / 398.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.552e-05/0.112, allocations: 52 kB / 398.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.113, allocations: 0.6168 MB / 399.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.1131, allocations: 7.906 kB / 399.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.294e-05/0.1131, allocations: 24 kB / 399.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.1131, allocations: 8 kB / 399.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00088/0.114, allocations: 467.6 kB / 399.6 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002688/0.1167, allocations: 1.779 MB / 401.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008836/0.1176, allocations: 487.3 kB / 401.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004792/0.1181, allocations: 369.5 kB / 402.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.85e-05/0.1182, allocations: 7.984 kB / 402.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005476/0.1187, allocations: 351.5 kB / 402.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 1.703e-06/0.1187, allocations: 0 / 402.6 MB, free: 10.5 MB / 302.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) R_disc.cs R_disc.Iaction R_disc.satDiff R_disc.satin when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; end when; when $whenCondition2 then R_disc.satDiff := R_disc.cs - R_disc.satin; end when; when $whenCondition2 then R_disc.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 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); end when; when $whenCondition2 then R_disc.cs := max(0.0, min(2.0, R_disc.satin)); end when; [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: R_disc.cs R_disc.Iaction R_disc.satDiff R_disc.satin equations: when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; end when; when $whenCondition2 then R_disc.satDiff := R_disc.cs - R_disc.satin; end when; when $whenCondition2 then R_disc.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 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); end when; when $whenCondition2 then R_disc.cs := max(0.0, min(2.0, R_disc.satin)); end when; [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed