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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital") translateModel(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001288/0.001288, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06578/0.06578, allocations: 11.21 MB / 302.3 MB, free: 4.117 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 63.88 kB / 365.3 MB, free: 5.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.2013, allocations: 51.97 MB / 417.2 MB, free: 22.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.003277/0.2046, allocations: 2.701 MB / 419.9 MB, free: 19.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.2059, allocations: 0.8309 MB / 420.8 MB, free: 18.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.2061, allocations: 23.81 kB / 420.8 MB, free: 18.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.2064, allocations: 79.08 kB / 420.9 MB, free: 18.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002084/0.2066, allocations: 63.34 kB / 420.9 MB, free: 18.78 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006461/0.2073, allocations: 402.2 kB / 421.3 MB, free: 18.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005417/0.2078, allocations: 0.8199 MB / 422.1 MB, free: 17.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.208, allocations: 114.7 kB / 422.3 MB, free: 17.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.2082, allocations: 298.9 kB / 422.5 MB, free: 17.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.2085, allocations: 298.6 kB / 422.8 MB, free: 16.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.639e-05/0.2086, allocations: 52 kB / 422.9 MB, free: 16.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.2088, allocations: 83.97 kB / 423 MB, free: 16.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.2089, allocations: 175.4 kB / 423.1 MB, free: 16.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.2091, allocations: 294.2 kB / 423.4 MB, free: 16.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004077/0.2095, allocations: 0.6013 MB / 424 MB, free: 15.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2095, allocations: 8 kB / 424 MB, free: 15.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2095, allocations: 0 / 424 MB, free: 15.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.2095, allocations: 0 / 424 MB, free: 15.67 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.0014/0.2109, allocations: 1.018 MB / 425.1 MB, free: 14.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.211, allocations: 12.03 kB / 425.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.2111, allocations: 79.98 kB / 425.1 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005053/0.2116, allocations: 489.4 kB / 425.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.936e-05/0.2117, allocations: 67.27 kB / 425.7 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.732e-05/0.2118, allocations: 60.28 kB / 425.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000872/0.2127, allocations: 0.6618 MB / 426.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.2127, allocations: 7.922 kB / 426.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.011e-05/0.2127, allocations: 24 kB / 426.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.2128, allocations: 12 kB / 426.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007636/0.2135, allocations: 459.6 kB / 426.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.2159, allocations: 2.131 MB / 429 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007585/0.2166, allocations: 445.1 kB / 429.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003689/0.217, allocations: 309.6 kB / 429.8 MB, free: 9.688 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.217, allocations: 4 kB / 429.8 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004582/0.2175, allocations: 335.4 kB / 430.1 MB, free: 9.336 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.204e-06/0.2175, allocations: 0 / 430.1 MB, free: 9.336 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed