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.001401/0.001401, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001415/0.001415, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.301/1.301, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05544/0.05544, allocations: 10.74 MB / 281.2 MB, free: 1.375 MB / 222.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.001578/0.001578, allocations: 75.84 kB / 341.2 MB, free: 5.199 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.225, allocations: 49 MB / 390.2 MB, free: 49.64 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.003393/0.2284, allocations: 2.625 MB / 392.8 MB, free: 47.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.2297, allocations: 0.8091 MB / 393.6 MB, free: 47.22 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.23, allocations: 23.59 kB / 393.7 MB, free: 47.21 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.2302, allocations: 73.66 kB / 393.7 MB, free: 47.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.2304, allocations: 56.39 kB / 393.8 MB, free: 47.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00066/0.231, allocations: 379.9 kB / 394.2 MB, free: 46.92 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006954/0.2318, allocations: 0.7932 MB / 395 MB, free: 46.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.232, allocations: 128 kB / 395.1 MB, free: 46.51 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003024/0.2323, allocations: 292.7 kB / 395.4 MB, free: 46.38 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003652/0.2326, allocations: 284.2 kB / 395.6 MB, free: 46.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.305e-05/0.2328, allocations: 48.91 kB / 395.7 MB, free: 46.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.2329, allocations: 92 kB / 395.8 MB, free: 46.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.2331, allocations: 156.4 kB / 395.9 MB, free: 46.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.2333, allocations: 293 kB / 396.2 MB, free: 45.96 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005773/0.2339, allocations: 0.5811 MB / 396.8 MB, free: 45.7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/0.2339, allocations: 0 / 396.8 MB, free: 45.7 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2339, allocations: 0 / 396.8 MB, free: 45.7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.234, allocations: 0 / 396.8 MB, free: 45.7 MB / 318.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.001518/0.2355, allocations: 0.9927 MB / 397.8 MB, free: 44.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.2355, allocations: 10.16 kB / 397.8 MB, free: 44.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.2357, allocations: 77.78 kB / 397.9 MB, free: 44.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005812/0.2363, allocations: 470.7 kB / 398.3 MB, free: 44.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.151e-05/0.2363, allocations: 64.41 kB / 398.4 MB, free: 44.55 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.2364, allocations: 56.88 kB / 398.5 MB, free: 44.53 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.2375, allocations: 0.6171 MB / 399.1 MB, free: 44.26 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.2376, allocations: 14.22 kB / 399.1 MB, free: 44.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-05/0.2376, allocations: 20.25 kB / 399.1 MB, free: 44.24 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.2376, allocations: 10.78 kB / 399.1 MB, free: 44.24 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008117/0.2385, allocations: 439.8 kB / 399.6 MB, free: 44.04 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002338/0.2408, allocations: 1.766 MB / 401.3 MB, free: 42.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008519/0.2417, allocations: 443 kB / 401.8 MB, free: 42.42 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/0.2421, allocations: 320.8 kB / 402.1 MB, free: 42.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.2422, allocations: 3.562 kB / 402.1 MB, free: 42.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004917/0.2427, allocations: 341.7 kB / 402.4 MB, free: 42 MB / 318.1 MB Notification: Performance of pre-optimization done (n=51): time 1.983e-06/0.2427, allocations: 1.281 kB / 402.4 MB, free: 42 MB / 318.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