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.00142/0.00142, allocations: 177.9 kB / 16.12 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.09025/0.09025, allocations: 10.76 MB / 27.62 MB, free: 1.824 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.545/1.545, allocations: 205.4 MB / 236.2 MB, free: 12.22 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.0008218/0.0008217, allocations: 101.2 kB / 287 MB, free: 12.66 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.000391, allocations: 8 kB / 347.6 MB, free: 15.9 MB / 298.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2201, allocations: 49.99 MB / 397.6 MB, free: 34.64 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09588/0.316, allocations: 80.97 MB / 478.6 MB, free: 1.555 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.3162, allocations: 71.95 kB / 478.7 MB, free: 1.484 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.021/0.3373, allocations: 7.429 MB / 486.1 MB, free: 10.01 MB / 362.8 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3373, allocations: 3.938 kB / 486.1 MB, free: 10 MB / 362.8 MB Notification: Performance of Transformations before backend: time 6.155e-05/0.3374, allocations: 16 kB / 486.1 MB, free: 9.988 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.002116/0.3395, allocations: 0.9095 MB / 487 MB, free: 9.012 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.3396, allocations: 12.03 kB / 487 MB, free: 9 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00026/0.3398, allocations: 76.09 kB / 487.1 MB, free: 8.926 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.341, allocations: 0.5374 MB / 487.6 MB, free: 8.348 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.862e-05/0.3412, allocations: 71.27 kB / 487.7 MB, free: 8.273 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.3413, allocations: 56.38 kB / 487.8 MB, free: 8.219 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.3425, allocations: 0.6795 MB / 488.5 MB, free: 7.492 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.3426, allocations: 7.938 kB / 488.5 MB, free: 7.484 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.22e-05/0.3426, allocations: 24 kB / 488.5 MB, free: 7.461 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.3427, allocations: 12 kB / 488.5 MB, free: 7.449 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009498/0.3436, allocations: 459.6 kB / 488.9 MB, free: 7 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002899/0.3465, allocations: 1.767 MB / 490.7 MB, free: 5.16 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008466/0.3474, allocations: 455.4 kB / 491.2 MB, free: 4.707 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004685/0.3479, allocations: 333.5 kB / 491.5 MB, free: 4.379 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/0.3479, allocations: 8 kB / 491.5 MB, free: 4.371 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005687/0.3485, allocations: 335.2 kB / 491.8 MB, free: 4.023 MB / 362.8 MB Notification: Performance of pre-optimization done (n=51): time 2.855e-06/0.3485, allocations: 0 / 491.8 MB, free: 4.023 MB / 362.8 MB [/var/lib/jenkins1/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/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7938:5-7938:89:writable] Error: Internal error Transformation module sort components failed