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/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05602/0.05602, allocations: 10.65 MB / 23.92 MB, free: 1.379 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.2 MB / 232.1 MB, free: 12.82 MB / 202.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009349/0.000935, allocations: 101 kB / 282.6 MB, free: 13.59 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 3.409e-05/3.411e-05, allocations: 0 / 340.6 MB, free: 3.531 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3105, allocations: 49.98 MB / 390.6 MB, free: 35.72 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1292/0.4398, allocations: 80.85 MB / 471.4 MB, free: 2.762 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003555/0.4402, allocations: 75.95 kB / 471.5 MB, free: 2.688 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.03609/0.4763, allocations: 7.378 MB / 478.9 MB, free: 11.27 MB / 362.8 MB Notification: Performance of FrontEnd: time 2.906e-06/0.4764, allocations: 0 / 478.9 MB, free: 11.27 MB / 362.8 MB Notification: Performance of Transformations before backend: time 7.706e-05/0.4765, allocations: 20 kB / 478.9 MB, free: 11.25 MB / 362.8 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.002548/0.4791, allocations: 0.8739 MB / 479.8 MB, free: 10.32 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.155e-05/0.4791, allocations: 8.031 kB / 479.8 MB, free: 10.31 MB / 362.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002046/0.4794, allocations: 90.52 kB / 479.8 MB, free: 10.21 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002443/0.4796, allocations: 75.16 kB / 479.9 MB, free: 10.14 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.4817, allocations: 0.5171 MB / 480.4 MB, free: 9.578 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.4819, allocations: 70.64 kB / 480.5 MB, free: 9.504 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.4821, allocations: 55.91 kB / 480.6 MB, free: 9.449 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.4839, allocations: 0.6411 MB / 481.2 MB, free: 8.758 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.605e-05/0.484, allocations: 8 kB / 481.2 MB, free: 8.75 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.425e-05/0.4841, allocations: 20 kB / 481.2 MB, free: 8.73 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.4842, allocations: 12 kB / 481.2 MB, free: 8.719 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.4854, allocations: 391.8 kB / 481.6 MB, free: 8.34 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004529/0.4899, allocations: 1.783 MB / 483.4 MB, free: 6.48 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.4912, allocations: 452.5 kB / 483.9 MB, free: 6.027 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007148/0.4919, allocations: 335.1 kB / 484.2 MB, free: 5.699 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.659e-05/0.492, allocations: 4 kB / 484.2 MB, free: 5.695 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008632/0.4929, allocations: 307.5 kB / 484.5 MB, free: 5.375 MB / 362.8 MB Notification: Performance of pre-optimization done (n=51): time 4.298e-06/0.4929, allocations: 0 / 484.5 MB, free: 5.375 MB / 362.8 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.satin R_disc.satDiff R_disc.Iaction when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; 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.satDiff := R_disc.cs - R_disc.satin; 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.satin R_disc.satDiff R_disc.Iaction equations: when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; 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.satDiff := R_disc.cs - R_disc.satin; 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:7819:5-7819:89:writable] Error: Internal error Transformation module sort components failed