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: 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.001015/0.001015, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008286/0.008286, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.778/1.778, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05741/0.05741, allocations: 10.75 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.0007868/0.0007869, allocations: 16 kB / 342.2 MB, free: 23.49 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1553, allocations: 50 MB / 392.2 MB, free: 5.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.003677/0.159, allocations: 2.28 MB / 394.5 MB, free: 3.125 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.1616, allocations: 0.8075 MB / 395.3 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005881/0.1622, allocations: 19.81 kB / 395.4 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003643/0.1626, allocations: 55.45 kB / 395.4 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004303/0.163, allocations: 47.66 kB / 395.5 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.1641, allocations: 335.5 kB / 395.8 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.1652, allocations: 0.7116 MB / 396.5 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002697/0.1655, allocations: 111 kB / 396.6 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.1659, allocations: 262.8 kB / 396.9 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003607/0.1662, allocations: 266.6 kB / 397.1 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.598e-05/0.1663, allocations: 20 kB / 397.1 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.1665, allocations: 67.97 kB / 397.2 MB, free: 448 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.1668, allocations: 139.5 kB / 397.3 MB, free: 308 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002597/0.167, allocations: 288 kB / 397.6 MB, free: 12 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005505/0.1676, allocations: 0.5408 MB / 398.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1676, allocations: 4 kB / 398.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1676, allocations: 0 / 398.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.1676, allocations: 0 / 398.2 MB, free: 15.46 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.001875/0.1695, allocations: 0.8861 MB / 399.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.1696, allocations: 8.031 kB / 399.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.1697, allocations: 80.09 kB / 399.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006343/0.1704, allocations: 477.3 kB / 399.6 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.1705, allocations: 67.25 kB / 399.7 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.1706, allocations: 64.28 kB / 399.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.1717, allocations: 0.6213 MB / 400.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.1717, allocations: 7.938 kB / 400.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/0.1718, allocations: 20 kB / 400.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.1718, allocations: 15.98 kB / 400.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009923/0.1728, allocations: 459.6 kB / 400.8 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002942/0.1758, allocations: 1.779 MB / 402.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009629/0.1768, allocations: 447 kB / 403.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005174/0.1773, allocations: 333.5 kB / 403.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.1774, allocations: 8 kB / 403.4 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005686/0.178, allocations: 335.2 kB / 403.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 1.893e-06/0.178, allocations: 0 / 403.7 MB, free: 9.664 MB / 302.1 MB [/var/lib/jenkins/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/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed