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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005073/0.005073, allocations: 99.77 kB / 15.73 MB, free: 6.02 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.001339/0.001339, allocations: 193.6 kB / 16.67 MB, free: 5.934 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06619/0.06619, allocations: 11.21 MB / 301.7 MB, free: 4.062 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001829, allocations: 72.36 kB / 417.4 MB, free: 19.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08564/0.08748, allocations: 51.98 MB / 469.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004342/0.09185, allocations: 3.081 MB / 472.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003593/0.09546, allocations: 2.192 MB / 474.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002683/0.09575, allocations: 31.75 kB / 474.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009658/0.09673, allocations: 413.2 kB / 475 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006451/0.09739, allocations: 306.6 kB / 475.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.0993, allocations: 0.8392 MB / 476.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00131/0.1006, allocations: 1.194 MB / 477.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002805/0.1009, allocations: 153 kB / 477.5 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005605/0.1015, allocations: 470.4 kB / 478 MB, free: 6.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005841/0.1021, allocations: 486 kB / 478.5 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.1022, allocations: 64 kB / 478.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005074/0.1027, allocations: 323.7 kB / 478.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000278/0.103, allocations: 259.1 kB / 479.1 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004017/0.1034, allocations: 414 kB / 479.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.1046, allocations: 1.05 MB / 480.5 MB, free: 3.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1046, allocations: 4 kB / 480.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1046, allocations: 0 / 480.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.1047, allocations: 0 / 480.5 MB, free: 3.832 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.002323/0.107, allocations: 1.498 MB / 482 MB, free: 2.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.107, allocations: 19.77 kB / 482.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001226/0.1072, allocations: 102.7 kB / 482.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.1074, allocations: 116.2 kB / 482.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.1084, allocations: 0.7239 MB / 483 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.196e-05/0.1085, allocations: 45.67 kB / 483 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.1086, allocations: 71.92 kB / 483.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.1099, allocations: 0.7679 MB / 483.9 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/0.11, allocations: 7.953 kB / 483.9 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.61e-05/0.11, allocations: 35.92 kB / 483.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.1101, allocations: 12 kB / 483.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008975/0.111, allocations: 471.6 kB / 484.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003321/0.1143, allocations: 2.407 MB / 486.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009723/0.1153, allocations: 0.5851 MB / 487.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005088/0.1158, allocations: 310.1 kB / 487.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.351e-05/0.1159, allocations: 12.55 kB / 487.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008759/0.1167, allocations: 498.8 kB / 488.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 2.304e-06/0.1168, allocations: 0 / 488.2 MB, free: 11.85 MB / 366.1 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.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/jenkins1/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/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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed