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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 90] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008654/0.008654, allocations: 104.2 kB / 15.73 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00194/0.001941, allocations: 192.2 kB / 16.67 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.06452/0.06452, allocations: 11.18 MB / 301.7 MB, free: 4.027 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 67.47 kB / 417.8 MB, free: 18.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09752/0.09945, allocations: 52 MB / 469.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.00449/0.104, allocations: 3.077 MB / 472.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00377/0.1078, allocations: 2.192 MB / 475.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003722/0.1082, allocations: 35.69 kB / 475.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.1093, allocations: 402.2 kB / 475.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006704/0.1099, allocations: 313.5 kB / 475.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.1119, allocations: 0.8291 MB / 476.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001596/0.1135, allocations: 1.194 MB / 477.8 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002986/0.1138, allocations: 161 kB / 478 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006286/0.1144, allocations: 474.4 kB / 478.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000726/0.1152, allocations: 486 kB / 478.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.1153, allocations: 64 kB / 479 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006834/0.116, allocations: 319.7 kB / 479.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003678/0.1164, allocations: 255.2 kB / 479.6 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000472/0.1169, allocations: 414 kB / 480 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.1182, allocations: 1.05 MB / 481 MB, free: 3.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1183, allocations: 0 / 481 MB, free: 3.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1183, allocations: 0 / 481 MB, free: 3.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.1183, allocations: 0 / 481 MB, free: 3.305 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002764/0.121, allocations: 1.501 MB / 482.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.1211, allocations: 11.89 kB / 482.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002392/0.1213, allocations: 112.2 kB / 482.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.1225, allocations: 0.7316 MB / 483.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.989e-05/0.1226, allocations: 49.67 kB / 483.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.1227, allocations: 60.12 kB / 483.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.1241, allocations: 0.7835 MB / 484.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/0.1241, allocations: 3.953 kB / 484.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.33e-05/0.1242, allocations: 27.98 kB / 484.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.1242, allocations: 16 kB / 484.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.1252, allocations: 463.6 kB / 484.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003852/0.1291, allocations: 2.411 MB / 487.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.1302, allocations: 0.5764 MB / 487.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000527/0.1308, allocations: 306.4 kB / 488 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.115e-05/0.1308, allocations: 8.5 kB / 488.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009018/0.1318, allocations: 0.4997 MB / 488.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 3.236e-06/0.1318, allocations: 0 / 488.6 MB, free: 11.44 MB / 366.1 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.satin R.cs R.satDiff R.Iaction when $whenCondition4 then R.satin := R.Iaction + R.Paction + R.Daction; end when; when $whenCondition4 then R.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R.SP - R.PV) + 0.6324555320336759 * R.satDiff, 2.0 * (pre(R.SP) - pre(R.PV)) + 0.6324555320336759 * pre(R.satDiff), pre(R.Iaction), 0.01, 1.0); end when; when $whenCondition4 then R.satDiff := R.cs - R.satin; end when; when $whenCondition4 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.satin R.cs R.satDiff R.Iaction equations: when $whenCondition4 then R.satin := R.Iaction + R.Paction + R.Daction; end when; when $whenCondition4 then R.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R.SP - R.PV) + 0.6324555320336759 * R.satDiff, 2.0 * (pre(R.SP) - pre(R.PV)) + 0.6324555320336759 * pre(R.satDiff), pre(R.Iaction), 0.01, 1.0); end when; when $whenCondition4 then R.satDiff := R.cs - R.satin; end when; when $whenCondition4 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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed