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.008072/0.008072, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001637/0.001637, allocations: 189.1 kB / 16.67 MB, free: 5.973 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.894/1.894, allocations: 205.1 MB / 222.5 MB, free: 4.398 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05891/0.05891, allocations: 10.74 MB / 280.6 MB, free: 10.28 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.001947/0.001947, allocations: 72.12 kB / 390.8 MB, free: 5.008 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3787, allocations: 49.01 MB / 439.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004482/0.3832, allocations: 2.992 MB / 442.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003529/0.3868, allocations: 2.067 MB / 444.9 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000467/0.3873, allocations: 33.62 kB / 444.9 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.3884, allocations: 390.4 kB / 445.3 MB, free: 1.625 MB / 318.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.0007357/0.3892, allocations: 313.4 kB / 445.6 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.3914, allocations: 0.7708 MB / 446.4 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001647/0.393, allocations: 1.153 MB / 447.6 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002821/0.3933, allocations: 155.3 kB / 447.7 MB, free: 492 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006265/0.3939, allocations: 478.9 kB / 448.2 MB, free: 212 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007264/0.3947, allocations: 469.5 kB / 448.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.3949, allocations: 59.69 kB / 448.7 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000837/0.3957, allocations: 317.8 kB / 449 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003172/0.396, allocations: 254.8 kB / 449.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004696/0.3965, allocations: 394.8 kB / 449.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.3978, allocations: 1.004 MB / 450.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.3978, allocations: 0 / 450.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3978, allocations: 0 / 450.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.843e-05/0.3978, allocations: 0 / 450.6 MB, free: 14.61 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.002356/0.4002, allocations: 1.429 MB / 452.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.582e-05/0.4003, allocations: 12.05 kB / 452.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002254/0.4005, allocations: 105.4 kB / 452.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.4016, allocations: 0.6905 MB / 452.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.07e-05/0.4016, allocations: 45.45 kB / 452.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.4017, allocations: 71.89 kB / 453 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.403, allocations: 0.6996 MB / 453.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.403, allocations: 6.422 kB / 453.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.32e-05/0.4031, allocations: 21.58 kB / 453.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.4031, allocations: 12.94 kB / 453.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009009/0.404, allocations: 460.1 kB / 454.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003325/0.4074, allocations: 1.854 MB / 456 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.4084, allocations: 0.5898 MB / 456.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000532/0.409, allocations: 303.1 kB / 456.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.612e-05/0.409, allocations: 7.469 kB / 456.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009409/0.41, allocations: 0.4906 MB / 457.4 MB, free: 9.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.855e-06/0.41, allocations: 0 / 457.4 MB, free: 9.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