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.001255/0.001255, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001483/0.001483, allocations: 196.4 kB / 16.14 MB, free: 6.715 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.37/1.37, allocations: 205.1 MB / 222 MB, free: 4.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05335/0.05335, allocations: 10.73 MB / 280.1 MB, free: 10.72 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.001441/0.001441, allocations: 63.89 kB / 340 MB, free: 23.69 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09206/0.09351, allocations: 49.02 MB / 389 MB, free: 6.613 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004236/0.09779, allocations: 3.015 MB / 392 MB, free: 3.578 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003246/0.1011, allocations: 2.102 MB / 394.1 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000254/0.1013, allocations: 31.69 kB / 394.1 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009903/0.1023, allocations: 366.9 kB / 394.5 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005781/0.1029, allocations: 279 kB / 394.8 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.1043, allocations: 0.6435 MB / 395.4 MB, free: 160 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.1053, allocations: 1.072 MB / 396.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002594/0.1056, allocations: 149.1 kB / 396.6 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004673/0.1061, allocations: 418.2 kB / 397 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004883/0.1066, allocations: 458.1 kB / 397.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.955e-05/0.1067, allocations: 32 kB / 397.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004311/0.1071, allocations: 271.7 kB / 397.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002326/0.1074, allocations: 227.1 kB / 398 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003533/0.1077, allocations: 374.1 kB / 398.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009667/0.1087, allocations: 0.9538 MB / 399.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1087, allocations: 0 / 399.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1087, allocations: 0 / 399.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1087, allocations: 0 / 399.3 MB, free: 12.22 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.002164/0.1109, allocations: 1.423 MB / 400.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.111, allocations: 12.03 kB / 400.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001203/0.1111, allocations: 98.69 kB / 400.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.1113, allocations: 111.6 kB / 400.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000851/0.1121, allocations: 0.6526 MB / 401.6 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.492e-05/0.1122, allocations: 41.38 kB / 401.6 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.1123, allocations: 63.92 kB / 401.7 MB, free: 9.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.1135, allocations: 0.7063 MB / 402.4 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.1136, allocations: 4 kB / 402.4 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.491e-05/0.1136, allocations: 27.98 kB / 402.4 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.1136, allocations: 12 kB / 402.5 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007922/0.1144, allocations: 443.7 kB / 402.9 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/0.1172, allocations: 1.875 MB / 404.8 MB, free: 6.527 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008887/0.1181, allocations: 0.5802 MB / 405.3 MB, free: 5.922 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000461/0.1186, allocations: 298.4 kB / 405.6 MB, free: 5.629 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.176e-05/0.1186, allocations: 12.55 kB / 405.6 MB, free: 5.617 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008344/0.1195, allocations: 0.4919 MB / 406.1 MB, free: 5.102 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.735e-06/0.1195, allocations: 0 / 406.1 MB, free: 5.102 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed