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.001508/0.001508, allocations: 174.5 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.06282/0.06282, allocations: 10.65 MB / 23.91 MB, free: 1.379 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.764/1.764, allocations: 205.2 MB / 232.1 MB, free: 12.91 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.0008842/0.0008842, allocations: 99.97 kB / 282.6 MB, free: 13.67 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 3.443e-05/3.458e-05, allocations: 4 kB / 340.6 MB, free: 3.617 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3032, allocations: 49.99 MB / 390.6 MB, free: 35.8 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1139/0.4172, allocations: 83.88 MB / 474.5 MB, free: 15.8 MB / 362.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.4176, allocations: 75.95 kB / 474.5 MB, free: 15.73 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.05527/0.4729, allocations: 18.98 MB / 493.5 MB, free: 12.68 MB / 378.8 MB Notification: Performance of FrontEnd: time 2.275e-06/0.4729, allocations: 7.938 kB / 493.5 MB, free: 12.68 MB / 378.8 MB Notification: Performance of Transformations before backend: time 7.17e-05/0.473, allocations: 24.16 kB / 493.5 MB, free: 12.65 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.0023/0.4753, allocations: 1.221 MB / 494.8 MB, free: 11.34 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/0.4754, allocations: 11.97 kB / 494.8 MB, free: 11.33 MB / 378.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001423/0.4755, allocations: 94.5 kB / 494.9 MB, free: 11.23 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.4757, allocations: 106.7 kB / 495 MB, free: 11.12 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.4774, allocations: 0.73 MB / 495.7 MB, free: 10.35 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.477e-05/0.4775, allocations: 44.98 kB / 495.7 MB, free: 10.31 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.4776, allocations: 48 kB / 495.8 MB, free: 10.26 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.4789, allocations: 0.7945 MB / 496.6 MB, free: 9.402 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.4789, allocations: 0 / 496.6 MB, free: 9.402 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.215e-05/0.479, allocations: 27.98 kB / 496.6 MB, free: 9.375 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.479, allocations: 12 kB / 496.6 MB, free: 9.363 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007298/0.4798, allocations: 443.8 kB / 497.1 MB, free: 8.93 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003227/0.483, allocations: 1.938 MB / 499 MB, free: 6.926 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008853/0.4839, allocations: 0.5769 MB / 499.6 MB, free: 6.324 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004408/0.4844, allocations: 312.1 kB / 499.9 MB, free: 6.02 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.4844, allocations: 4.562 kB / 499.9 MB, free: 6.016 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007925/0.4852, allocations: 0.5152 MB / 0.4887 GB, free: 5.469 MB / 378.8 MB Notification: Performance of pre-optimization done (n=73): time 3.808e-06/0.4852, allocations: 0 / 0.4887 GB, free: 5.469 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:7819:5-7819:89:writable] Error: Internal error Transformation module sort components failed