Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking.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.Controllers.Examples.TestPID_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004732/0.004732, allocations: 173.4 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.07049/0.07049, allocations: 10.74 MB / 26.59 MB, free: 2.23 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.491/1.491, allocations: 205.4 MB / 235.2 MB, free: 180 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.0008646/0.0008646, allocations: 84.77 kB / 285.9 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004117, allocations: 12 kB / 346.4 MB, free: 5.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1346, allocations: 50 MB / 396.4 MB, free: 3.086 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3987/0.5333, allocations: 83.98 MB / 480.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003498/0.5338, allocations: 81.95 kB / 480.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04917/0.583, allocations: 19.03 MB / 499.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.583, allocations: 0 / 499.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001267/0.5832, allocations: 24 kB / 499.5 MB, free: 12.39 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.003555/0.5867, allocations: 1.355 MB / 0.4891 GB, free: 11.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.5868, allocations: 8.031 kB / 0.4891 GB, free: 11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004414/0.5872, allocations: 106.8 kB / 0.4892 GB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002071/0.5893, allocations: 0.7306 MB / 0.4899 GB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-05/0.5894, allocations: 44.92 kB / 0.49 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.5896, allocations: 60.98 kB / 0.49 GB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.5912, allocations: 0.8033 MB / 0.4908 GB, free: 9.328 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.193e-05/0.5913, allocations: 4 kB / 0.4908 GB, free: 9.324 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.12e-05/0.5914, allocations: 23.98 kB / 0.4909 GB, free: 9.301 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.5914, allocations: 15.94 kB / 0.4909 GB, free: 9.285 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.5924, allocations: 475.6 kB / 0.4913 GB, free: 8.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004384/0.5968, allocations: 1.922 MB / 0.4932 GB, free: 6.832 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.598, allocations: 0.6098 MB / 0.4938 GB, free: 6.195 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.5981, allocations: 12.48 kB / 0.4938 GB, free: 6.184 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009034/0.599, allocations: 0.53 MB / 0.4943 GB, free: 5.633 MB / 362.7 MB Notification: Performance of pre-optimization done (n=73): time 3.897e-06/0.599, allocations: 0 / 0.4943 GB, free: 5.633 MB / 362.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.cs R.satin R.satDiff R.Iaction when $whenCondition7 then R.satin := R.Iaction + R.Paction + R.Daction; end when; when $whenCondition7 then R.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R.SP - R.PV) + R.satDiff / 1.58113883008419, 2.0 * (pre(R.SP) - pre(R.PV)) + pre(R.satDiff) / 1.58113883008419, pre(R.Iaction), 0.01, 1.0); end when; when $whenCondition7 then R.satDiff := R.cs - R.satin; end when; when $whenCondition7 then R.cs := max(0.0, min(2.0, R.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.cs R.satin R.satDiff R.Iaction equations: when $whenCondition7 then R.satin := R.Iaction + R.Paction + R.Daction; end when; when $whenCondition7 then R.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R.SP - R.PV) + R.satDiff / 1.58113883008419, 2.0 * (pre(R.SP) - pre(R.PV)) + pre(R.satDiff) / 1.58113883008419, pre(R.Iaction), 0.01, 1.0); end when; when $whenCondition7 then R.satDiff := R.cs - R.satin; end when; when $whenCondition7 then R.cs := max(0.0, min(2.0, R.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