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.00117/0.001171, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001135/0.001135, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.274/1.274, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05532/0.05532, allocations: 10.74 MB / 281.3 MB, free: 1.297 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.001454/0.001454, allocations: 70.89 kB / 391.5 MB, free: 46.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06806/0.06953, allocations: 49.03 MB / 440.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.003482/0.07305, allocations: 2.975 MB / 443.5 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003305/0.07638, allocations: 2.063 MB / 445.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004942/0.0769, allocations: 39.62 kB / 445.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009995/0.07793, allocations: 390.3 kB / 446 MB, free: 14.44 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.0007602/0.07871, allocations: 306.5 kB / 446.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.0805, allocations: 0.7791 MB / 447.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001247/0.08176, allocations: 1.146 MB / 448.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002573/0.08203, allocations: 160.7 kB / 448.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005471/0.08259, allocations: 478.4 kB / 448.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004912/0.08309, allocations: 470.1 kB / 449.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.0832, allocations: 60 kB / 449.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004637/0.08367, allocations: 315.7 kB / 449.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.08392, allocations: 255.1 kB / 449.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003033/0.08423, allocations: 390.2 kB / 450.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009798/0.08522, allocations: 1.004 MB / 451.3 MB, free: 9.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.08524, allocations: 0 / 451.3 MB, free: 9.109 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.08524, allocations: 0 / 451.3 MB, free: 9.109 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.08526, allocations: 0 / 451.3 MB, free: 9.109 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.00203/0.08729, allocations: 1.424 MB / 452.7 MB, free: 7.586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.08734, allocations: 19.83 kB / 452.7 MB, free: 7.566 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.08751, allocations: 103.7 kB / 452.8 MB, free: 7.465 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009877/0.08851, allocations: 0.7033 MB / 453.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.239e-05/0.08856, allocations: 41.38 kB / 453.6 MB, free: 6.676 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.08868, allocations: 72 kB / 453.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.08976, allocations: 0.6986 MB / 454.4 MB, free: 5.887 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.0898, allocations: 4 kB / 454.4 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6e-05/0.08987, allocations: 27.98 kB / 454.4 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.08988, allocations: 12 kB / 454.4 MB, free: 5.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007577/0.09065, allocations: 443.7 kB / 454.8 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/0.09344, allocations: 1.855 MB / 456.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008687/0.09432, allocations: 0.5879 MB / 457.3 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004415/0.09477, allocations: 302.4 kB / 457.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.09481, allocations: 4.562 kB / 457.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007519/0.09557, allocations: 0.5027 MB / 458.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.885e-06/0.09558, allocations: 0 / 458.1 MB, free: 2.039 MB / 334.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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed