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.001653/0.001653, allocations: 108 kB / 15.61 MB, free: 152 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.002069/0.002069, allocations: 195.9 kB / 16.53 MB, free: 6.699 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.593/1.593, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05899/0.05899, allocations: 10.76 MB / 280.5 MB, free: 10.51 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.001554/0.001554, allocations: 75.89 kB / 340.7 MB, free: 23.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09267/0.09424, allocations: 49 MB / 389.7 MB, free: 6.152 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.0046/0.09887, allocations: 3 MB / 392.7 MB, free: 3.133 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003504/0.1024, allocations: 2.063 MB / 394.7 MB, free: 1.059 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004522/0.1029, allocations: 31.69 kB / 394.7 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009667/0.1039, allocations: 390.4 kB / 395.1 MB, free: 0.6445 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.0007744/0.1047, allocations: 318.5 kB / 395.4 MB, free: 340 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.1068, allocations: 0.7757 MB / 396.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001656/0.1085, allocations: 1.139 MB / 397.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003939/0.1089, allocations: 149.1 kB / 397.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007619/0.1096, allocations: 454.5 kB / 397.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006521/0.1103, allocations: 470.1 kB / 398.4 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.1105, allocations: 60 kB / 398.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005124/0.111, allocations: 303.7 kB / 398.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002696/0.1113, allocations: 247.2 kB / 399 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004594/0.1117, allocations: 410 kB / 399.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.1131, allocations: 0.9772 MB / 400.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1131, allocations: 4 kB / 400.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1131, allocations: 0 / 400.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.784e-05/0.1132, allocations: 0 / 400.4 MB, free: 11.36 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.002401/0.1156, allocations: 1.428 MB / 401.8 MB, free: 9.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1156, allocations: 15.83 kB / 401.8 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001271/0.1158, allocations: 98.7 kB / 401.9 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.116, allocations: 103.7 kB / 402 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009112/0.1169, allocations: 0.6603 MB / 402.7 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.022e-05/0.1169, allocations: 41.36 kB / 402.7 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.1171, allocations: 59.94 kB / 402.8 MB, free: 8.816 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.1183, allocations: 0.7025 MB / 403.5 MB, free: 8.094 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/0.1183, allocations: 7.938 kB / 403.5 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.729e-05/0.1184, allocations: 23.98 kB / 403.5 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.1184, allocations: 12 kB / 403.5 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008469/0.1193, allocations: 439.7 kB / 404 MB, free: 7.617 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002944/0.1222, allocations: 1.883 MB / 405.8 MB, free: 5.668 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009509/0.1232, allocations: 0.5823 MB / 406.4 MB, free: 5.062 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004804/0.1237, allocations: 306.3 kB / 406.7 MB, free: 4.762 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.1237, allocations: 8.562 kB / 406.7 MB, free: 4.754 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008009/0.1245, allocations: 498.9 kB / 407.2 MB, free: 4.238 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 3.096e-06/0.1245, allocations: 0 / 407.2 MB, free: 4.238 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed