Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital.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.Applications.ControlProblems.PI_ContinuousVsDigital,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_PI_ContinuousVsDigital",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_PI_ContinuousVsDigital",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.001597/0.001597, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001207/0.001207, allocations: 190 kB / 16.25 MB, free: 6.625 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.485/1.485, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05709/0.05709, allocations: 10.74 MB / 280.2 MB, free: 10.68 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.001313/0.001313, allocations: 67.84 kB / 340.1 MB, free: 23.59 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09972/0.101, allocations: 49.02 MB / 389.2 MB, free: 6.508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.004068/0.1052, allocations: 2.654 MB / 391.8 MB, free: 3.836 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.1068, allocations: 0.7918 MB / 392.6 MB, free: 3.039 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.107, allocations: 19.81 kB / 392.6 MB, free: 3.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.1073, allocations: 59.45 kB / 392.7 MB, free: 2.961 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.1075, allocations: 35.67 kB / 392.7 MB, free: 2.926 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006938/0.1082, allocations: 351.5 kB / 393.1 MB, free: 2.582 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007698/0.109, allocations: 0.7859 MB / 393.8 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.1092, allocations: 115 kB / 394 MB, free: 1.684 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003382/0.1096, allocations: 302.9 kB / 394.3 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003587/0.1099, allocations: 298.6 kB / 394.5 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.614e-05/0.11, allocations: 48 kB / 394.6 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.1102, allocations: 91.95 kB / 394.7 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.1104, allocations: 159.5 kB / 394.8 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002864/0.1107, allocations: 294.2 kB / 395.1 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005738/0.1112, allocations: 0.5723 MB / 395.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1113, allocations: 11.94 kB / 395.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1113, allocations: 0 / 395.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.1113, allocations: 0 / 395.7 MB, free: 15.92 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001679/0.113, allocations: 0.991 MB / 396.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.113, allocations: 15.89 kB / 396.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.1131, allocations: 94.69 kB / 396.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.1133, allocations: 72.09 kB / 396.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005925/0.1138, allocations: 477.4 kB / 397.3 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.926e-05/0.1139, allocations: 63.27 kB / 397.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.557e-05/0.114, allocations: 60.27 kB / 397.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.1151, allocations: 0.6249 MB / 398.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.1151, allocations: 3.984 kB / 398.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.165e-05/0.1152, allocations: 20 kB / 398.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.1152, allocations: 12 kB / 398.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008515/0.1161, allocations: 447.6 kB / 398.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002814/0.1189, allocations: 1.759 MB / 400.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008804/0.1198, allocations: 438.9 kB / 400.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004904/0.1203, allocations: 309.6 kB / 401.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.1203, allocations: 4 kB / 401.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006021/0.121, allocations: 339.2 kB / 401.4 MB, free: 9.992 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.595e-06/0.121, allocations: 0 / 401.4 MB, free: 9.992 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_disc.cs R_disc.Iaction R_disc.satDiff R_disc.satin when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; end when; when $whenCondition2 then R_disc.satDiff := R_disc.cs - R_disc.satin; end when; when $whenCondition2 then R_disc.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R_disc.SP - R_disc.PV) + 0.01 * R_disc.satDiff, 2.0 * (pre(R_disc.SP) - pre(R_disc.PV)) + 0.01 * pre(R_disc.satDiff), pre(R_disc.Iaction), 0.01, 1.0); end when; when $whenCondition2 then R_disc.cs := max(0.0, min(2.0, R_disc.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_disc.cs R_disc.Iaction R_disc.satDiff R_disc.satin equations: when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; end when; when $whenCondition2 then R_disc.satDiff := R_disc.cs - R_disc.satin; end when; when $whenCondition2 then R_disc.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R_disc.SP - R_disc.PV) + 0.01 * R_disc.satDiff, 2.0 * (pre(R_disc.SP) - pre(R_disc.PV)) + 0.01 * pre(R_disc.satDiff), pre(R_disc.Iaction), 0.01, 1.0); end when; when $whenCondition2 then R_disc.cs := max(0.0, min(2.0, R_disc.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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed