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 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) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/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 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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01055/0.01055, allocations: 98.17 kB / 15.73 MB, free: 6.055 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.001712/0.001712, allocations: 193.5 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05515/0.05515, allocations: 10.74 MB / 280.6 MB, free: 1.281 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 64.95 kB / 390.8 MB, free: 45.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09636/0.09778, allocations: 49.03 MB / 439.9 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.00387/0.1017, allocations: 2.991 MB / 442.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003531/0.1053, allocations: 2.067 MB / 444.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00045/0.1057, allocations: 31.69 kB / 444.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.1069, allocations: 390.4 kB / 445.3 MB, free: 14.31 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0007314/0.1077, allocations: 310.6 kB / 445.6 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.1097, allocations: 0.7779 MB / 446.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001396/0.1111, allocations: 1.15 MB / 447.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000288/0.1114, allocations: 152.8 kB / 447.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006096/0.1121, allocations: 478.4 kB / 448.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005934/0.1127, allocations: 474.1 kB / 448.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.1128, allocations: 60 kB / 448.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005556/0.1134, allocations: 315.7 kB / 449 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.1136, allocations: 251.2 kB / 449.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003561/0.114, allocations: 402.1 kB / 449.6 MB, free: 9.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.1152, allocations: 1.007 MB / 450.6 MB, free: 8.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1152, allocations: 4 kB / 450.7 MB, free: 8.961 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1152, allocations: 0 / 450.7 MB, free: 8.961 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.1153, allocations: 3.938 kB / 450.7 MB, free: 8.957 MB / 334.1 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.00225/0.1175, allocations: 1.454 MB / 452.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1176, allocations: 15.89 kB / 452.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.1178, allocations: 112.3 kB / 452.2 MB, free: 7.277 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.1188, allocations: 0.7001 MB / 452.9 MB, free: 6.535 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.357e-05/0.1189, allocations: 37.38 kB / 453 MB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.119, allocations: 72.06 kB / 453 MB, free: 6.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.1201, allocations: 0.7064 MB / 453.8 MB, free: 5.699 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.1201, allocations: 0 / 453.8 MB, free: 5.699 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-05/0.1202, allocations: 23.98 kB / 453.8 MB, free: 5.676 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.1202, allocations: 12 kB / 453.8 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008009/0.121, allocations: 451.7 kB / 454.2 MB, free: 5.219 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002982/0.124, allocations: 1.86 MB / 456.1 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000938/0.125, allocations: 0.5802 MB / 456.7 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004815/0.1255, allocations: 306.4 kB / 457 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.1255, allocations: 8.562 kB / 457 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008127/0.1263, allocations: 0.4957 MB / 457.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.876e-06/0.1264, allocations: 0 / 457.5 MB, free: 1.855 MB / 334.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