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.001154/0.001153, allocations: 102.8 kB / 15.71 MB, free: 460 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.001925/0.001925, allocations: 176.4 kB / 16.58 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.027/2.027, allocations: 205.4 MB / 222.8 MB, free: 5.879 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05535/0.05535, allocations: 10.75 MB / 281.8 MB, free: 10.78 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.0005429/0.0005429, allocations: 12 kB / 342.3 MB, free: 23.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1267, allocations: 50.01 MB / 392.3 MB, free: 5.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.003319/0.1301, allocations: 2.507 MB / 394.8 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003325/0.1335, allocations: 1.959 MB / 396.7 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000288/0.1338, allocations: 27.75 kB / 396.8 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008801/0.1347, allocations: 342.9 kB / 397.1 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005461/0.1352, allocations: 263 kB / 397.4 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.1369, allocations: 0.6161 MB / 398 MB, free: 68 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001048/0.1379, allocations: 0.9708 MB / 398.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002496/0.1382, allocations: 127.2 kB / 399.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004999/0.1387, allocations: 414.2 kB / 399.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005073/0.1392, allocations: 422.2 kB / 399.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.056e-05/0.1393, allocations: 24 kB / 399.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000447/0.1397, allocations: 255.7 kB / 400.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.14, allocations: 215.3 kB / 400.4 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.1402, allocations: 161.2 kB / 400.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006907/0.1409, allocations: 0.6902 MB / 401.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1409, allocations: 4 kB / 401.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1409, allocations: 0 / 401.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1409, allocations: 0 / 401.2 MB, free: 12.79 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.001838/0.1427, allocations: 1.28 MB / 402.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.746e-05/0.1428, allocations: 12.02 kB / 402.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.1429, allocations: 102.8 kB / 402.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008599/0.1438, allocations: 0.6169 MB / 403.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.883e-05/0.1439, allocations: 44.98 kB / 403.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.928e-05/0.144, allocations: 63.92 kB / 403.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.1452, allocations: 0.6986 MB / 404 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.1452, allocations: 11.83 kB / 404 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.689e-05/0.1453, allocations: 27.95 kB / 404.1 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.1453, allocations: 12 kB / 404.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007933/0.1461, allocations: 451.6 kB / 404.5 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002933/0.149, allocations: 1.867 MB / 406.4 MB, free: 7.387 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009152/0.15, allocations: 0.5802 MB / 407 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004891/0.1505, allocations: 298.4 kB / 407.3 MB, free: 6.484 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.477e-05/0.1505, allocations: 8.562 kB / 407.3 MB, free: 6.477 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008295/0.1514, allocations: 0.4988 MB / 407.8 MB, free: 5.957 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.635e-06/0.1514, allocations: 0 / 407.8 MB, free: 5.957 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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed