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.000941/0.0009411, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001745/0.001745, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205.4 MB / 222.1 MB, free: 5.383 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05747/0.05747, allocations: 10.75 MB / 281.1 MB, free: 10.43 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.0005238/0.000524, allocations: 19.98 kB / 341.6 MB, free: 23.82 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1051, allocations: 50 MB / 391.6 MB, free: 5.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004345/0.1095, allocations: 2.499 MB / 394.1 MB, free: 3.234 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004272/0.1139, allocations: 1.967 MB / 396.1 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006558/0.1146, allocations: 23.75 kB / 396.1 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.1157, allocations: 338.9 kB / 396.5 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008799/0.1166, allocations: 259 kB / 396.7 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.1187, allocations: 0.6239 MB / 397.3 MB, free: 24 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001441/0.1201, allocations: 0.9591 MB / 398.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003645/0.1205, allocations: 131.2 kB / 398.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009473/0.1214, allocations: 410.3 kB / 398.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009339/0.1224, allocations: 426.2 kB / 399.2 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002397/0.1226, allocations: 28 kB / 399.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007132/0.1234, allocations: 247.7 kB / 399.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003337/0.1237, allocations: 219.3 kB / 399.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002404/0.124, allocations: 157.2 kB / 399.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000959/0.1249, allocations: 0.698 MB / 400.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1249, allocations: 0 / 400.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.125, allocations: 0 / 400.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.733e-05/0.125, allocations: 4 kB / 400.6 MB, free: 12.75 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.002306/0.1273, allocations: 1.275 MB / 401.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.1274, allocations: 12.03 kB / 401.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.1276, allocations: 98.78 kB / 402 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009318/0.1285, allocations: 0.6247 MB / 402.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.466e-05/0.1286, allocations: 40.98 kB / 402.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.1287, allocations: 67.92 kB / 402.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.1298, allocations: 0.6986 MB / 403.4 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.1298, allocations: 11.89 kB / 403.4 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.933e-05/0.1299, allocations: 19.95 kB / 403.4 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.1299, allocations: 16 kB / 403.4 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007879/0.1307, allocations: 451.6 kB / 403.9 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002988/0.1337, allocations: 1.867 MB / 405.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009623/0.1347, allocations: 0.5841 MB / 406.3 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004806/0.1352, allocations: 302.4 kB / 406.6 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.872e-05/0.1353, allocations: 8.562 kB / 406.6 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008366/0.1361, allocations: 0.491 MB / 407.1 MB, free: 5.926 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 3.336e-06/0.1361, allocations: 4 kB / 407.1 MB, free: 5.922 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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed