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.001238/0.001238, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001558/0.001558, allocations: 193.5 kB / 16.13 MB, free: 6.676 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.534/1.534, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05603/0.05603, allocations: 10.74 MB / 280.1 MB, free: 10.7 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.001246/0.001246, allocations: 63.92 kB / 339.9 MB, free: 23.8 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1209, allocations: 49.02 MB / 388.9 MB, free: 6.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004828/0.1258, allocations: 3.003 MB / 391.9 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003764/0.1296, allocations: 2.11 MB / 394 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003648/0.13, allocations: 35.69 kB / 394 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009207/0.1309, allocations: 346.9 kB / 394.4 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005424/0.1315, allocations: 283 kB / 394.6 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.1333, allocations: 0.6435 MB / 395.3 MB, free: 272 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.1344, allocations: 1.08 MB / 396.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.1346, allocations: 148.8 kB / 396.5 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004428/0.135, allocations: 422.2 kB / 396.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000456/0.1355, allocations: 450.1 kB / 397.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.094e-05/0.1356, allocations: 32 kB / 397.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000499/0.1361, allocations: 279.7 kB / 397.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002472/0.1364, allocations: 231.1 kB / 397.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003443/0.1367, allocations: 366.1 kB / 398.2 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009926/0.1377, allocations: 0.9501 MB / 399.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1377, allocations: 0 / 399.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.11e-07/0.1378, allocations: 4 kB / 399.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.1378, allocations: 0 / 399.2 MB, free: 12.32 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.002358/0.1401, allocations: 1.423 MB / 400.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.1402, allocations: 8.031 kB / 400.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.1404, allocations: 103.7 kB / 400.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009213/0.1413, allocations: 0.6565 MB / 401.4 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.724e-05/0.1414, allocations: 41.38 kB / 401.4 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.1415, allocations: 72 kB / 401.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.1427, allocations: 0.7064 MB / 402.2 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.1427, allocations: 4 kB / 402.2 MB, free: 9.148 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.528e-05/0.1428, allocations: 23.98 kB / 402.2 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.1428, allocations: 12 kB / 402.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008118/0.1436, allocations: 447.7 kB / 402.7 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002957/0.1466, allocations: 1.867 MB / 404.6 MB, free: 6.742 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009538/0.1476, allocations: 0.5848 MB / 405.1 MB, free: 6.133 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004842/0.1481, allocations: 298.4 kB / 405.4 MB, free: 5.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.545e-05/0.1481, allocations: 12.62 kB / 405.4 MB, free: 5.828 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008509/0.149, allocations: 0.4949 MB / 405.9 MB, free: 5.309 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 3.096e-06/0.149, allocations: 0 / 405.9 MB, free: 5.309 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