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.006562/0.006561, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05949/0.05949, allocations: 10.74 MB / 26.59 MB, free: 2.266 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.84/1.84, allocations: 205.4 MB / 235.2 MB, free: 192 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008852/0.0008849, allocations: 89.05 kB / 285.9 MB, free: 10.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004559/0.0004563, allocations: 8 kB / 346.5 MB, free: 5.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1369, allocations: 49.99 MB / 396.5 MB, free: 2.988 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3745/0.5115, allocations: 80.94 MB / 477.4 MB, free: 15.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.5118, allocations: 71.75 kB / 477.5 MB, free: 15.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02/0.5318, allocations: 7.417 MB / 484.9 MB, free: 9.016 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5319, allocations: 0 / 484.9 MB, free: 9.016 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.19e-05/0.5319, allocations: 20 kB / 484.9 MB, free: 8.996 MB / 346.7 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.002088/0.534, allocations: 0.9167 MB / 485.9 MB, free: 8.062 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.5341, allocations: 15.64 kB / 485.9 MB, free: 8.051 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002235/0.5343, allocations: 100.8 kB / 486 MB, free: 7.973 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002147/0.5346, allocations: 71.16 kB / 486 MB, free: 7.902 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.5358, allocations: 0.5215 MB / 486.6 MB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.78e-05/0.5359, allocations: 68.58 kB / 486.6 MB, free: 7.332 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.536, allocations: 61.67 kB / 486.7 MB, free: 7.289 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.5371, allocations: 0.6689 MB / 487.4 MB, free: 6.742 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/0.5371, allocations: 8 kB / 487.4 MB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.857e-05/0.5372, allocations: 26.36 kB / 487.4 MB, free: 6.723 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.5372, allocations: 12 kB / 487.4 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008585/0.5381, allocations: 461.5 kB / 487.8 MB, free: 6.383 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002741/0.5409, allocations: 1.782 MB / 489.6 MB, free: 4.844 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008609/0.5417, allocations: 492 kB / 490.1 MB, free: 4.555 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.05e-05/0.5418, allocations: 4 kB / 490.1 MB, free: 4.551 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005265/0.5423, allocations: 348.4 kB / 490.5 MB, free: 4.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=51): time 2.665e-06/0.5423, allocations: 0 / 490.5 MB, free: 4.27 MB / 346.7 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:7906:5-7906:89:writable] Error: Internal error Transformation module sort components failed