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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001483/0.001483, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002089/0.002089, allocations: 196.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.1948/0.1948, allocations: 11.15 MB / 301.5 MB, free: 1.293 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 364.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1232, allocations: 51.98 MB / 416.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004543/0.1277, allocations: 3.071 MB / 419.6 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003459/0.1312, allocations: 2.199 MB / 421.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003082/0.1316, allocations: 35.69 kB / 421.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009064/0.1325, allocations: 398.3 kB / 422.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005891/0.1331, allocations: 310.5 kB / 422.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2123/0.3454, allocations: 0.822 MB / 423.4 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002045/0.3474, allocations: 1.189 MB / 424.5 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003179/0.3478, allocations: 154.1 kB / 424.7 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005418/0.3483, allocations: 473 kB / 425.2 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000502/0.3488, allocations: 485.2 kB / 425.6 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.349, allocations: 63.33 kB / 425.7 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005959/0.3496, allocations: 303 kB / 426 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.3498, allocations: 255.6 kB / 426.2 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003035/0.3502, allocations: 420.4 kB / 426.6 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008668/0.351, allocations: 1.012 MB / 427.7 MB, free: 36.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.351, allocations: 3.938 kB / 427.7 MB, free: 36.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3511, allocations: 1.281 kB / 427.7 MB, free: 36.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.3511, allocations: 0 / 427.7 MB, free: 36.97 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002026/0.3531, allocations: 1.468 MB / 429.1 MB, free: 36.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3532, allocations: 15.98 kB / 429.2 MB, free: 36.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.3534, allocations: 105.2 kB / 429.3 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008524/0.3542, allocations: 0.6782 MB / 429.9 MB, free: 35.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.745e-05/0.3543, allocations: 51.45 kB / 430 MB, free: 35.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.69e-05/0.3544, allocations: 64.38 kB / 430 MB, free: 35.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.3555, allocations: 0.7824 MB / 430.8 MB, free: 35.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.3555, allocations: 3.844 kB / 430.8 MB, free: 35.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.936e-05/0.3556, allocations: 25.09 kB / 430.9 MB, free: 35.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.3556, allocations: 18.92 kB / 430.9 MB, free: 35.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007063/0.3564, allocations: 466.6 kB / 431.3 MB, free: 35.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.359, allocations: 2.419 MB / 433.7 MB, free: 34.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007919/0.3598, allocations: 0.5836 MB / 434.3 MB, free: 33.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000401/0.3602, allocations: 305 kB / 434.6 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/0.3603, allocations: 7.297 kB / 434.6 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006618/0.3609, allocations: 0.4977 MB / 435.1 MB, free: 33.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.544e-06/0.361, allocations: 3.094 kB / 435.1 MB, free: 33.46 MB / 350.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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed