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.01038/0.01038, allocations: 98.34 kB / 15.73 MB, free: 6.055 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.002506/0.002507, allocations: 191.7 kB / 16.67 MB, free: 5.965 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.792/1.792, allocations: 205.1 MB / 222.6 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06088/0.06088, allocations: 10.73 MB / 280.6 MB, free: 10.42 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.001545/0.001545, allocations: 74.92 kB / 390.9 MB, free: 5.023 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3199, 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.006451/0.3264, allocations: 2.99 MB / 442.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004606/0.3311, allocations: 2.062 MB / 444.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.3323, allocations: 33.72 kB / 444.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001598/0.3339, allocations: 391.2 kB / 445.3 MB, free: 1.629 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.001489/0.3354, allocations: 313.2 kB / 445.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.3383, allocations: 0.7697 MB / 446.4 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002407/0.3407, allocations: 1.144 MB / 447.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004334/0.3411, allocations: 156.1 kB / 447.7 MB, free: 484 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.3422, allocations: 465 kB / 448.2 MB, free: 212 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.3433, allocations: 477 kB / 448.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003755/0.3436, allocations: 59.12 kB / 448.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.3448, allocations: 314.5 kB / 449 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004353/0.3452, allocations: 248 kB / 449.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006565/0.3459, allocations: 396.9 kB / 449.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.348, allocations: 1.005 MB / 450.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.348, allocations: 5.781 kB / 450.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.348, allocations: 0 / 450.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.737e-05/0.348, 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.003462/0.3515, allocations: 1.466 MB / 452.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.3516, allocations: 12.73 kB / 452.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003536/0.3519, allocations: 105.6 kB / 452.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.3533, allocations: 0.7008 MB / 452.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.463e-05/0.3534, allocations: 44.36 kB / 453 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.3535, allocations: 74.45 kB / 453 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.355, allocations: 0.7005 MB / 453.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.606e-05/0.355, allocations: 2.281 kB / 453.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.321e-05/0.3551, allocations: 22.81 kB / 453.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.3551, allocations: 11.84 kB / 453.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009264/0.3561, allocations: 452 kB / 454.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003224/0.3593, allocations: 1.863 MB / 456.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.3603, allocations: 0.5893 MB / 456.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005053/0.3608, allocations: 299.6 kB / 456.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.41e-05/0.3609, allocations: 11.89 kB / 457 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009002/0.3618, allocations: 0.5007 MB / 457.5 MB, free: 9.797 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 3.246e-06/0.3618, allocations: 1.344 kB / 457.5 MB, free: 9.797 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