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.001144/0.001144, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001116/0.001116, allocations: 194.9 kB / 16.25 MB, free: 6.625 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.525/1.525, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05418/0.05418, allocations: 10.74 MB / 280.2 MB, free: 10.66 MB / 238.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.001286/0.001286, allocations: 67.84 kB / 340 MB, free: 23.68 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09626/0.09756, allocations: 49.03 MB / 389.1 MB, free: 6.602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.005782/0.1034, allocations: 3.019 MB / 392.1 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005277/0.1087, allocations: 2.047 MB / 394.1 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007248/0.1095, allocations: 31.75 kB / 394.2 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.1109, allocations: 370.8 kB / 394.5 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.112, allocations: 279 kB / 394.8 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002903/0.1149, allocations: 0.6981 MB / 395.5 MB, free: 140 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001754/0.1167, allocations: 1.143 MB / 396.6 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003737/0.1171, allocations: 152.8 kB / 396.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009025/0.118, allocations: 482.2 kB / 397.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007604/0.1188, allocations: 482.1 kB / 397.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.1189, allocations: 60 kB / 397.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006813/0.1196, allocations: 303.7 kB / 398.1 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003515/0.12, allocations: 255.2 kB / 398.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005088/0.1205, allocations: 402 kB / 398.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.1219, allocations: 0.9814 MB / 399.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.122, allocations: 0 / 399.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.122, allocations: 0 / 399.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.122, allocations: 0 / 399.7 MB, free: 11.9 MB / 302.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.002929/0.1249, allocations: 1.432 MB / 401.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.125, allocations: 11.89 kB / 401.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002621/0.1253, allocations: 103.7 kB / 401.2 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.1265, allocations: 0.6565 MB / 401.9 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.45e-05/0.1266, allocations: 45.38 kB / 401.9 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.1267, allocations: 68.02 kB / 402 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.1283, allocations: 0.6986 MB / 402.7 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.1284, allocations: 4 kB / 402.7 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.089e-05/0.1285, allocations: 27.98 kB / 402.7 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.1285, allocations: 16 kB / 402.8 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.1296, allocations: 443.7 kB / 403.2 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004198/0.1339, allocations: 1.871 MB / 405.1 MB, free: 6.305 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.1352, allocations: 0.5764 MB / 405.6 MB, free: 5.703 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006899/0.1359, allocations: 298.4 kB / 405.9 MB, free: 5.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.053e-05/0.136, allocations: 8.562 kB / 405.9 MB, free: 5.402 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001201/0.1372, allocations: 0.5065 MB / 406.4 MB, free: 4.871 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 4.188e-06/0.1372, allocations: 0 / 406.4 MB, free: 4.871 MB / 302.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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed