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.008153/0.008153, allocations: 100.1 kB / 15.87 MB, free: 5.867 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.001157/0.001157, allocations: 190.1 kB / 16.79 MB, free: 5.809 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.717/1.717, allocations: 205.1 MB / 222.6 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05634/0.05634, allocations: 10.73 MB / 280.7 MB, free: 10.72 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.001492/0.001492, allocations: 63.91 kB / 340.5 MB, free: 23.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1117, allocations: 49.03 MB / 389.5 MB, free: 6.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004497/0.1162, allocations: 3.003 MB / 392.5 MB, free: 3.668 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003262/0.1195, allocations: 2.102 MB / 394.6 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002517/0.1198, allocations: 35.69 kB / 394.7 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009149/0.1207, allocations: 358.9 kB / 395 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005286/0.1213, allocations: 279 kB / 395.3 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.1227, allocations: 0.6474 MB / 395.9 MB, free: 252 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009711/0.1237, allocations: 1.076 MB / 397 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.124, allocations: 148.8 kB / 397.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004521/0.1244, allocations: 418.3 kB / 397.6 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004691/0.1249, allocations: 454.1 kB / 398 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.765e-05/0.125, allocations: 32 kB / 398 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000427/0.1254, allocations: 267.7 kB / 398.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002337/0.1257, allocations: 231.1 kB / 398.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003252/0.126, allocations: 374.1 kB / 398.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006589/0.1267, allocations: 0.7059 MB / 399.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1267, allocations: 0 / 399.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1267, allocations: 0 / 399.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1267, allocations: 0 / 399.6 MB, free: 12.56 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.002162/0.1289, allocations: 1.435 MB / 401 MB, free: 11.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1289, allocations: 12.03 kB / 401 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.1291, allocations: 107.7 kB / 401.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000837/0.13, allocations: 0.6526 MB / 401.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.13, allocations: 45.31 kB / 401.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.1301, allocations: 68.02 kB / 401.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.1313, allocations: 0.6986 MB / 402.6 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.1313, allocations: 11.94 kB / 402.6 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.097e-05/0.1314, allocations: 23.98 kB / 402.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.1314, allocations: 12 kB / 402.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007903/0.1322, allocations: 443.7 kB / 403.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002973/0.1352, allocations: 1.863 MB / 405 MB, free: 6.973 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009219/0.1361, allocations: 0.5841 MB / 405.5 MB, free: 6.363 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005018/0.1366, allocations: 306.3 kB / 405.8 MB, free: 6.062 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.685e-05/0.1367, allocations: 12.55 kB / 405.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009522/0.1376, allocations: 0.4957 MB / 406.4 MB, free: 5.531 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.234e-06/0.1376, allocations: 0 / 406.4 MB, free: 5.531 MB / 302.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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed