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.000925/0.0009249, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005928/0.005928, allocations: 169.4 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.103/2.103, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06097/0.06097, allocations: 10.74 MB / 281.5 MB, free: 10.45 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.0006992/0.0006992, allocations: 12 kB / 342.3 MB, free: 23.4 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.15, allocations: 50.01 MB / 392.3 MB, free: 5.324 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.003774/0.1538, allocations: 2.273 MB / 394.6 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.1558, allocations: 0.8231 MB / 395.4 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002385/0.156, allocations: 19.81 kB / 395.5 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.1563, allocations: 55.45 kB / 395.5 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.1565, allocations: 39.67 kB / 395.5 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006704/0.1572, allocations: 335.5 kB / 395.9 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008627/0.1581, allocations: 0.7194 MB / 396.6 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002626/0.1584, allocations: 118.1 kB / 396.7 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003375/0.1587, allocations: 250.9 kB / 397 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003751/0.1591, allocations: 270.6 kB / 397.2 MB, free: 432 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.43e-05/0.1592, allocations: 20 kB / 397.2 MB, free: 412 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.1593, allocations: 71.89 kB / 397.3 MB, free: 340 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.1595, allocations: 139.5 kB / 397.4 MB, free: 200 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003104/0.1599, allocations: 284 kB / 397.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006148/0.1605, allocations: 0.5448 MB / 398.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1605, allocations: 4 kB / 398.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.1605, allocations: 0 / 398.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1605, allocations: 0 / 398.3 MB, free: 15.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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001744/0.1623, allocations: 0.8821 MB / 399.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/0.1624, allocations: 8.031 kB / 399.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001435/0.1625, allocations: 94.7 kB / 399.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.1627, allocations: 84.03 kB / 399.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006893/0.1633, allocations: 469.4 kB / 399.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.72e-05/0.1635, allocations: 71.27 kB / 399.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.1636, allocations: 64.27 kB / 399.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.1647, allocations: 0.621 MB / 400.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.1648, allocations: 11.94 kB / 400.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.365e-05/0.1648, allocations: 20 kB / 400.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.1649, allocations: 12 kB / 400.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009577/0.1658, allocations: 459.6 kB / 401 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003115/0.169, allocations: 1.783 MB / 402.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.17, allocations: 450.9 kB / 403.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005469/0.1705, allocations: 321.6 kB / 403.6 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.482e-05/0.1706, allocations: 11.98 kB / 403.6 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006657/0.1713, allocations: 335.2 kB / 403.9 MB, free: 9.461 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.224e-06/0.1713, allocations: 4 kB / 403.9 MB, free: 9.457 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed