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.00132/0.001319, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01027/0.01027, allocations: 172.1 kB / 16.26 MB, free: 6.613 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.707/1.707, allocations: 205.4 MB / 222.4 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05499/0.05499, allocations: 10.75 MB / 281.5 MB, free: 10.67 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.0006862/0.0006863, allocations: 16.2 kB / 342.2 MB, free: 23.52 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1154, allocations: 50 MB / 392.2 MB, free: 5.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004051/0.1195, allocations: 2.63 MB / 394.9 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004177/0.1238, allocations: 2.079 MB / 396.9 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006524/0.1245, allocations: 31.69 kB / 397 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.1256, allocations: 350.9 kB / 397.3 MB, free: 340 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.1267, allocations: 279 kB / 397.6 MB, free: 60 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002064/0.1287, allocations: 0.6747 MB / 398.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001642/0.1304, allocations: 1.072 MB / 399.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003922/0.1308, allocations: 140.8 kB / 399.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008673/0.1317, allocations: 418.1 kB / 399.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008004/0.1325, allocations: 434.1 kB / 400.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.1327, allocations: 24 kB / 400.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006601/0.1333, allocations: 271.7 kB / 400.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003994/0.1338, allocations: 227.1 kB / 400.8 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004835/0.1342, allocations: 387.2 kB / 401.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.1357, allocations: 0.9382 MB / 402.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1357, allocations: 0 / 402.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1357, allocations: 0 / 402.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.644e-05/0.1358, allocations: 0 / 402.1 MB, free: 11.48 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.003659/0.1395, allocations: 1.268 MB / 403.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.758e-05/0.1395, allocations: 8.031 kB / 403.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003731/0.1399, allocations: 103.7 kB / 403.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.1412, allocations: 0.6603 MB / 404.2 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.994e-05/0.1413, allocations: 45.36 kB / 404.2 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.1415, allocations: 64.11 kB / 404.3 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.1428, allocations: 0.7064 MB / 405 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.1428, allocations: 4 kB / 405 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.737e-05/0.1429, allocations: 23.98 kB / 405 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.1429, allocations: 12 kB / 405 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008099/0.1437, allocations: 451.7 kB / 405.5 MB, free: 7.988 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003127/0.1469, allocations: 1.875 MB / 407.3 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.148, allocations: 0.5918 MB / 407.9 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005487/0.1485, allocations: 302.4 kB / 408.2 MB, free: 5.133 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.848e-05/0.1486, allocations: 4.562 kB / 408.2 MB, free: 5.129 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00088/0.1495, allocations: 0.4997 MB / 408.7 MB, free: 4.605 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 3.186e-06/0.1495, allocations: 0 / 408.7 MB, free: 4.605 MB / 302.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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed