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: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_tracking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_tracking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007037/0.0007037, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0007558/0.0007558, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.204/1.204, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05233/0.05233, allocations: 10.76 MB / 281.1 MB, free: 10.42 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.0004439/0.0004439, allocations: 20 kB / 341.7 MB, free: 23.73 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0742/0.07466, allocations: 50 MB / 391.7 MB, free: 5.648 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.002652/0.07734, allocations: 2.499 MB / 394.2 MB, free: 3.133 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002502/0.07986, allocations: 1.963 MB / 396.2 MB, free: 1.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.08007, allocations: 27.75 kB / 396.2 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007308/0.08081, allocations: 346.8 kB / 396.6 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004434/0.08127, allocations: 259 kB / 396.8 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.08244, allocations: 0.6278 MB / 397.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008199/0.08327, allocations: 0.9591 MB / 398.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.08347, allocations: 123.2 kB / 398.5 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000406/0.08388, allocations: 414.2 kB / 398.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004266/0.08432, allocations: 430.2 kB / 399.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.698e-05/0.08439, allocations: 28 kB / 399.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000331/0.08473, allocations: 255.7 kB / 399.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.08493, allocations: 203.3 kB / 399.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.08507, allocations: 161.2 kB / 400 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005589/0.08563, allocations: 0.6902 MB / 400.7 MB, free: 12.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.08564, allocations: 0 / 400.7 MB, free: 12.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.08565, allocations: 4 kB / 400.7 MB, free: 12.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.08567, allocations: 0 / 400.7 MB, free: 12.65 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.001572/0.08724, allocations: 1.279 MB / 402 MB, free: 11.28 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.08728, allocations: 12.03 kB / 402 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.926e-05/0.08739, allocations: 98.5 kB / 402.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.08752, allocations: 98.78 kB / 402.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007643/0.08829, allocations: 0.6286 MB / 402.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.767e-05/0.08833, allocations: 44.92 kB / 402.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-05/0.08842, allocations: 55.98 kB / 402.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.08943, allocations: 0.6986 MB / 403.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.08947, allocations: 15.8 kB / 403.6 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.152e-05/0.08953, allocations: 24 kB / 403.6 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.08954, allocations: 12 kB / 403.6 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007062/0.09026, allocations: 447.7 kB / 404.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/0.0927, allocations: 1.875 MB / 405.9 MB, free: 7.141 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007771/0.09349, allocations: 0.5771 MB / 406.5 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004248/0.09393, allocations: 306.3 kB / 406.8 MB, free: 6.234 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.09397, allocations: 12.5 kB / 406.8 MB, free: 6.223 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006976/0.09468, allocations: 0.5105 MB / 407.3 MB, free: 5.691 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.074e-06/0.09469, allocations: 0 / 407.3 MB, free: 5.691 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