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: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_tracking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_tracking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006045/0.006045, allocations: 168.5 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.05695/0.05695, allocations: 10.74 MB / 26.59 MB, free: 2.262 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.671/1.671, allocations: 205.4 MB / 235.2 MB, free: 188 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.0008879/0.0008878, allocations: 86.31 kB / 285.9 MB, free: 10.64 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003578, allocations: 8 kB / 346.5 MB, free: 5.066 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1339, allocations: 49.98 MB / 396.5 MB, free: 2.992 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.434/0.568, allocations: 83.98 MB / 480.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.5683, allocations: 81.95 kB / 480.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05148/0.6198, allocations: 19.05 MB / 499.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6199, allocations: 0 / 499.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001224/0.62, allocations: 27.98 kB / 499.6 MB, free: 12.22 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.003588/0.6236, allocations: 1.348 MB / 0.4892 GB, free: 10.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.6237, allocations: 12.03 kB / 0.4892 GB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003257/0.624, allocations: 102.8 kB / 0.4893 GB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004332/0.6244, allocations: 106.8 kB / 0.4894 GB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/0.6267, allocations: 0.7281 MB / 0.4902 GB, free: 9.969 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.454e-05/0.6268, allocations: 43.17 kB / 0.4902 GB, free: 9.938 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.627, allocations: 60.47 kB / 0.4902 GB, free: 9.895 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.6283, allocations: 0.8022 MB / 0.491 GB, free: 9.156 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.6283, allocations: 4 kB / 0.491 GB, free: 9.152 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.3e-05/0.6284, allocations: 27.98 kB / 0.4911 GB, free: 9.125 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.6284, allocations: 12 kB / 0.4911 GB, free: 9.113 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008325/0.6293, allocations: 467.6 kB / 0.4915 GB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003452/0.6327, allocations: 1.93 MB / 0.4934 GB, free: 6.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.6338, allocations: 0.6105 MB / 0.494 GB, free: 6.023 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.6338, allocations: 8.547 kB / 0.494 GB, free: 6.016 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008655/0.6347, allocations: 0.5378 MB / 0.4945 GB, free: 5.457 MB / 362.7 MB Notification: Performance of pre-optimization done (n=73): time 4.218e-06/0.6347, allocations: 0 / 0.4945 GB, free: 5.457 MB / 362.7 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:7906:5-7906:89:writable] Error: Internal error Transformation module sort components failed