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.001071/0.001071, allocations: 108 kB / 15.6 MB, free: 132 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.001019/0.00102, allocations: 197.8 kB / 16.54 MB, free: 6.672 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.513/1.513, allocations: 205.1 MB / 222.4 MB, free: 4.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0559/0.0559, allocations: 10.74 MB / 280.5 MB, free: 10.52 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.00167/0.00167, allocations: 72.58 kB / 340.5 MB, free: 23.35 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09815/0.09984, allocations: 49.02 MB / 389.6 MB, free: 6.254 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.005511/0.1054, allocations: 2.993 MB / 392.5 MB, free: 3.238 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003898/0.1093, allocations: 2.059 MB / 394.6 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007519/0.1101, allocations: 35.69 kB / 394.6 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.1114, allocations: 394.4 kB / 395 MB, free: 0.7461 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0009866/0.1124, allocations: 310.6 kB / 395.3 MB, free: 452 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00187/0.1143, allocations: 0.7796 MB / 396.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.1154, allocations: 1.139 MB / 397.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.1156, allocations: 144.8 kB / 397.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004558/0.1161, allocations: 462.5 kB / 397.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004689/0.1166, allocations: 466.1 kB / 398.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.1167, allocations: 60 kB / 398.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004813/0.1172, allocations: 307.7 kB / 398.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002491/0.1174, allocations: 247.1 kB / 398.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003443/0.1178, allocations: 402.1 kB / 399.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009586/0.1187, allocations: 0.9853 MB / 400.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.1188, allocations: 0 / 400.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1188, allocations: 0 / 400.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.1188, allocations: 0 / 400.3 MB, free: 11.47 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.001984/0.1208, allocations: 1.42 MB / 401.7 MB, free: 9.953 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1208, allocations: 19.89 kB / 401.7 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.121, allocations: 107.7 kB / 401.8 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000777/0.1218, allocations: 0.6487 MB / 402.5 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.952e-05/0.1218, allocations: 41.36 kB / 402.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.385e-05/0.1219, allocations: 64.03 kB / 402.6 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.123, allocations: 0.7103 MB / 403.3 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.123, allocations: 0 / 403.3 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.135e-05/0.1231, allocations: 23.98 kB / 403.3 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.1231, allocations: 19.98 kB / 403.3 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007558/0.1238, allocations: 451.6 kB / 403.8 MB, free: 7.816 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002631/0.1265, allocations: 1.863 MB / 405.6 MB, free: 5.887 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000871/0.1274, allocations: 0.5811 MB / 406.2 MB, free: 5.281 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004352/0.1278, allocations: 310.4 kB / 406.5 MB, free: 4.977 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/0.1279, allocations: 8.547 kB / 406.5 MB, free: 4.969 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007283/0.1286, allocations: 0.4949 MB / 407 MB, free: 4.445 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.245e-06/0.1286, allocations: 0 / 407 MB, free: 4.445 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed