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.001139/0.001139, allocations: 175 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.05734/0.05734, allocations: 10.66 MB / 23.92 MB, free: 1.375 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.743/1.743, allocations: 205.2 MB / 232.1 MB, free: 12.77 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.0009994/0.0009992, allocations: 94.39 kB / 282.6 MB, free: 13.56 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 4.292e-05/4.294e-05, allocations: 4 kB / 340.5 MB, free: 3.602 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4187, allocations: 49.98 MB / 390.5 MB, free: 35.74 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.125/0.5438, allocations: 83.88 MB / 474.4 MB, free: 15.74 MB / 362.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.5441, allocations: 83.94 kB / 474.4 MB, free: 15.66 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.05502/0.5991, allocations: 18.97 MB / 493.4 MB, free: 12.61 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.031e-06/0.5992, allocations: 0 / 493.4 MB, free: 12.61 MB / 378.8 MB Notification: Performance of Transformations before backend: time 6.838e-05/0.5992, allocations: 32.14 kB / 493.4 MB, free: 12.58 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.002268/0.6015, allocations: 1.217 MB / 494.7 MB, free: 11.27 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.6016, allocations: 8.031 kB / 494.7 MB, free: 11.27 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.6018, allocations: 102.8 kB / 494.8 MB, free: 11.16 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/0.6035, allocations: 0.7338 MB / 495.5 MB, free: 10.39 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.978e-05/0.6036, allocations: 48.98 kB / 495.5 MB, free: 10.34 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.6037, allocations: 55.98 kB / 495.6 MB, free: 10.29 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.605, allocations: 0.7868 MB / 496.4 MB, free: 9.438 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.605, allocations: 3.906 kB / 496.4 MB, free: 9.434 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-05/0.6051, allocations: 27.98 kB / 496.4 MB, free: 9.406 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.6051, allocations: 16 kB / 496.4 MB, free: 9.391 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007509/0.6059, allocations: 435.8 kB / 496.9 MB, free: 8.965 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003456/0.6094, allocations: 1.93 MB / 498.8 MB, free: 6.969 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009575/0.6103, allocations: 0.5872 MB / 499.4 MB, free: 6.355 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004736/0.6108, allocations: 308.1 kB / 499.7 MB, free: 6.055 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.6109, allocations: 4.875 kB / 499.7 MB, free: 6.051 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008868/0.6118, allocations: 0.5229 MB / 0.4885 GB, free: 5.496 MB / 378.8 MB Notification: Performance of pre-optimization done (n=73): time 3.126e-06/0.6118, allocations: 0 / 0.4885 GB, free: 5.496 MB / 378.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.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:7819:5-7819:89:writable] Error: Internal error Transformation module sort components failed