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.001482/0.001482, allocations: 170.3 kB / 16.11 MB, free: 5.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0599/0.0599, allocations: 10.76 MB / 27.63 MB, free: 1.816 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.587/1.587, allocations: 205.4 MB / 236.2 MB, free: 10.19 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.0007496/0.0007495, allocations: 97.06 kB / 287 MB, free: 12.4 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003836, allocations: 15.98 kB / 347.6 MB, free: 15.64 MB / 298.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2453, allocations: 50 MB / 397.6 MB, free: 34.62 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1054/0.3507, allocations: 84.03 MB / 481.7 MB, free: 14.46 MB / 362.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.351, allocations: 87.94 kB / 481.7 MB, free: 14.38 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.05694/0.408, allocations: 19.12 MB / 0.4891 GB, free: 11.19 MB / 378.8 MB Notification: Performance of FrontEnd: time 2.544e-06/0.408, allocations: 0 / 0.4891 GB, free: 11.19 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0001172/0.4082, allocations: 31.98 kB / 0.4892 GB, free: 11.16 MB / 378.8 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.003062/0.4112, allocations: 1.337 MB / 0.4905 GB, free: 9.719 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.4113, allocations: 12.03 kB / 0.4905 GB, free: 9.707 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004364/0.4117, allocations: 111.6 kB / 0.4906 GB, free: 9.598 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/0.4137, allocations: 0.7579 MB / 0.4913 GB, free: 8.801 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.794e-05/0.4138, allocations: 45.3 kB / 0.4914 GB, free: 8.754 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.414, allocations: 56.38 kB / 0.4914 GB, free: 8.699 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.4154, allocations: 0.8145 MB / 0.4922 GB, free: 7.82 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.723e-05/0.4155, allocations: 192 / 0.4922 GB, free: 7.82 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.137e-05/0.4156, allocations: 27.92 kB / 0.4922 GB, free: 7.793 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.4156, allocations: 12 kB / 0.4922 GB, free: 7.781 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009216/0.4165, allocations: 471.6 kB / 0.4927 GB, free: 7.32 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003974/0.4205, allocations: 1.926 MB / 0.4946 GB, free: 5.328 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.4215, allocations: 0.6099 MB / 0.4952 GB, free: 4.691 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005678/0.4221, allocations: 318.8 kB / 0.4955 GB, free: 4.379 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.4222, allocations: 12.5 kB / 0.4955 GB, free: 4.367 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009191/0.4231, allocations: 0.5231 MB / 0.496 GB, free: 3.82 MB / 378.8 MB Notification: Performance of pre-optimization done (n=73): time 4.097e-06/0.4231, allocations: 4 kB / 0.496 GB, free: 3.816 MB / 378.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.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/jenkins1/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/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