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/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05985/0.05985, allocations: 10.65 MB / 23.91 MB, free: 1.379 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.2 MB / 232.1 MB, free: 12.83 MB / 202.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009185/0.0009187, allocations: 101.1 kB / 282.6 MB, free: 13.58 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 3.523e-05/3.525e-05, allocations: 0 / 340.5 MB, free: 3.617 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3145, allocations: 49.99 MB / 390.5 MB, free: 35.73 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.4289, allocations: 80.84 MB / 471.3 MB, free: 2.77 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/0.4293, allocations: 71.95 kB / 471.4 MB, free: 2.699 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02149/0.4508, allocations: 7.38 MB / 478.8 MB, free: 11.27 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4508, allocations: 4 kB / 478.8 MB, free: 11.27 MB / 362.8 MB Notification: Performance of Transformations before backend: time 3.55e-05/0.4509, allocations: 16 kB / 478.8 MB, free: 11.25 MB / 362.8 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.001443/0.4523, allocations: 0.8625 MB / 479.6 MB, free: 10.33 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.4524, allocations: 8.031 kB / 479.7 MB, free: 10.32 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.4525, allocations: 75.16 kB / 479.7 MB, free: 10.25 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.4537, allocations: 0.521 MB / 480.3 MB, free: 9.688 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.992e-05/0.4538, allocations: 66.7 kB / 480.3 MB, free: 9.617 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.4539, allocations: 59.89 kB / 480.4 MB, free: 9.559 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009921/0.4549, allocations: 0.6371 MB / 481 MB, free: 8.871 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.4549, allocations: 7.953 kB / 481 MB, free: 8.863 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-05/0.455, allocations: 24 kB / 481 MB, free: 8.84 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.455, allocations: 12 kB / 481.1 MB, free: 8.828 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006366/0.4556, allocations: 383.8 kB / 481.4 MB, free: 8.457 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002896/0.4585, allocations: 1.791 MB / 483.2 MB, free: 6.59 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007817/0.4593, allocations: 448.5 kB / 483.7 MB, free: 6.141 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/0.4597, allocations: 339.1 kB / 484 MB, free: 5.809 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.4598, allocations: 4 kB / 484 MB, free: 5.805 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004623/0.4603, allocations: 303.6 kB / 484.3 MB, free: 5.488 MB / 362.8 MB Notification: Performance of pre-optimization done (n=51): time 2.424e-06/0.4603, allocations: 0 / 484.3 MB, free: 5.488 MB / 362.8 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.satin R_disc.satDiff R_disc.Iaction when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; 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.satDiff := R_disc.cs - R_disc.satin; 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.satin R_disc.satDiff R_disc.Iaction equations: when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; 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.satDiff := R_disc.cs - R_disc.satin; 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:7819:5-7819:89:writable] Error: Internal error Transformation module sort components failed