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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007869/0.0007869, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0008765/0.0008765, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.252/1.252, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05387/0.05387, allocations: 10.74 MB / 281.1 MB, free: 10.54 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.0005145/0.0005146, allocations: 15.12 kB / 341.7 MB, free: 23.76 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07712/0.07764, allocations: 50.01 MB / 391.7 MB, free: 5.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.002495/0.08018, allocations: 2.188 MB / 393.9 MB, free: 3.477 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.08166, allocations: 0.7648 MB / 394.7 MB, free: 2.707 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003123/0.082, allocations: 19.81 kB / 394.7 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.08221, allocations: 59.39 kB / 394.8 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.08244, allocations: 39.67 kB / 394.8 MB, free: 2.59 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007044/0.08316, allocations: 295.5 kB / 395.1 MB, free: 2.301 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000698/0.08387, allocations: 0.6492 MB / 395.7 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.08407, allocations: 98.95 kB / 395.8 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003329/0.08441, allocations: 255 kB / 396.1 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003606/0.08478, allocations: 262.8 kB / 396.3 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.133e-05/0.08487, allocations: 20 kB / 396.4 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.08502, allocations: 59.97 kB / 396.4 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.08518, allocations: 135.5 kB / 396.6 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.08532, allocations: 125.4 kB / 396.7 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003753/0.0857, allocations: 411.1 kB / 397.1 MB, free: 308 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.08572, allocations: 0 / 397.1 MB, free: 308 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.08573, allocations: 4 kB / 397.1 MB, free: 304 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.08575, allocations: 4 kB / 397.1 MB, free: 300 kB / 286.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.001506/0.08726, allocations: 0.8899 MB / 398 MB, free: 15.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.08731, allocations: 12.03 kB / 398 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/0.08745, allocations: 94.52 kB / 398.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.08757, allocations: 78.92 kB / 398.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005773/0.08816, allocations: 452.5 kB / 398.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.948e-05/0.08824, allocations: 70.69 kB / 398.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.15e-05/0.08834, allocations: 52 kB / 398.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009968/0.08934, allocations: 0.6207 MB / 399.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.08938, allocations: 7.906 kB / 399.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.058e-05/0.08944, allocations: 27.98 kB / 399.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.08945, allocations: 11.95 kB / 399.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008518/0.09031, allocations: 459.6 kB / 399.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002577/0.0929, allocations: 1.787 MB / 401.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008148/0.09373, allocations: 491.3 kB / 402.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000462/0.09421, allocations: 365.5 kB / 402.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.09426, allocations: 4 kB / 402.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005478/0.09482, allocations: 355.5 kB / 402.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 3.657e-06/0.09484, allocations: 4 kB / 402.8 MB, free: 10.31 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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed