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.005944/0.005945, allocations: 170.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06011/0.06011, allocations: 10.74 MB / 26.59 MB, free: 2.234 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.666/1.666, allocations: 205.4 MB / 235.2 MB, free: 164 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009885/0.0009884, allocations: 83.69 kB / 285.9 MB, free: 10.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003509, allocations: 4 kB / 346.4 MB, free: 5.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1218, allocations: 50 MB / 396.4 MB, free: 3.078 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3673/0.4892, allocations: 80.93 MB / 477.3 MB, free: 15.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/0.4895, allocations: 79.47 kB / 477.4 MB, free: 15.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01869/0.5082, allocations: 7.407 MB / 484.8 MB, free: 9.023 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5083, allocations: 0 / 484.8 MB, free: 9.023 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.415e-05/0.5083, allocations: 22.38 kB / 484.8 MB, free: 9.004 MB / 346.7 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.001407/0.5097, allocations: 0.9118 MB / 485.7 MB, free: 8.074 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.5098, allocations: 11.75 kB / 485.8 MB, free: 8.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.5099, allocations: 79.16 kB / 485.8 MB, free: 7.988 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009996/0.5109, allocations: 0.5204 MB / 486.4 MB, free: 7.477 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-05/0.511, allocations: 72.08 kB / 486.4 MB, free: 7.418 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.543e-05/0.5111, allocations: 61.89 kB / 486.5 MB, free: 7.375 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000898/0.512, allocations: 0.6749 MB / 487.2 MB, free: 6.824 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.512, allocations: 11.94 kB / 487.2 MB, free: 6.812 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.438e-05/0.5121, allocations: 23.62 kB / 487.2 MB, free: 6.805 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.5121, allocations: 16 kB / 487.2 MB, free: 6.789 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007364/0.5129, allocations: 450.2 kB / 487.7 MB, free: 6.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002383/0.5153, allocations: 1.784 MB / 489.4 MB, free: 4.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007652/0.516, allocations: 486.2 kB / 489.9 MB, free: 4.645 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.5161, allocations: 8 kB / 489.9 MB, free: 4.637 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004841/0.5166, allocations: 348.4 kB / 490.3 MB, free: 4.355 MB / 346.7 MB Notification: Performance of pre-optimization done (n=51): time 1.853e-06/0.5166, allocations: 0 / 490.3 MB, free: 4.355 MB / 346.7 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:7906:5-7906:89:writable] Error: Internal error Transformation module sort components failed