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.001116/0.001123, allocations: 92.16 kB / 16.02 MB, free: 80 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.0009983/0.0009986, allocations: 172.4 kB / 16.92 MB, free: 6.652 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.964/1.964, allocations: 205.4 MB / 223.1 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06119/0.06119, allocations: 10.74 MB / 282.1 MB, free: 10.45 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.0005642/0.0005642, allocations: 16.2 kB / 342.9 MB, free: 23.49 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1327, allocations: 50 MB / 392.9 MB, free: 5.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004396/0.1371, allocations: 2.63 MB / 395.5 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004493/0.1417, allocations: 2.079 MB / 397.6 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003716/0.1421, allocations: 27.75 kB / 397.6 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.1432, allocations: 354.8 kB / 398 MB, free: 316 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006173/0.1438, allocations: 275 kB / 398.2 MB, free: 40 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.1455, allocations: 0.6825 MB / 398.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.1466, allocations: 1.076 MB / 400 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003081/0.147, allocations: 136.8 kB / 400.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000517/0.1475, allocations: 422.1 kB / 400.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005335/0.148, allocations: 434.1 kB / 401 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.74e-05/0.1481, allocations: 28 kB / 401 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00046/0.1486, allocations: 271.6 kB / 401.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002556/0.1489, allocations: 219.2 kB / 401.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003834/0.1492, allocations: 383.2 kB / 401.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007728/0.15, allocations: 0.698 MB / 402.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.15, allocations: 4 kB / 402.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1501, allocations: 0 / 402.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.1501, allocations: 0 / 402.6 MB, free: 11.7 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.002285/0.1524, allocations: 1.268 MB / 403.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.1524, allocations: 8.031 kB / 403.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.1526, allocations: 103.7 kB / 403.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009411/0.1535, allocations: 0.6487 MB / 404.6 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.295e-05/0.1536, allocations: 45.36 kB / 404.6 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.1537, allocations: 64.11 kB / 404.7 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.1549, allocations: 0.7103 MB / 405.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.155, allocations: 0 / 405.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-05/0.155, allocations: 20 kB / 405.4 MB, free: 8.672 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.1551, allocations: 19.92 kB / 405.4 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000825/0.1559, allocations: 459.6 kB / 405.9 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003093/0.159, allocations: 1.871 MB / 407.8 MB, free: 6.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.16, allocations: 0.5918 MB / 408.3 MB, free: 5.648 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005027/0.1605, allocations: 302.4 kB / 408.6 MB, free: 5.352 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.1606, allocations: 8.562 kB / 408.6 MB, free: 5.344 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000867/0.1615, allocations: 0.4989 MB / 409.1 MB, free: 4.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 4.449e-06/0.1615, allocations: 0 / 409.1 MB, free: 4.82 MB / 302.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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed