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.0008659/0.0008659, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001006/0.001006, allocations: 177.3 kB / 15.95 MB, free: 216 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.306/1.306, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05446/0.05446, allocations: 10.73 MB / 281.1 MB, free: 10.57 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.0004504/0.0004504, allocations: 15.34 kB / 341.6 MB, free: 23.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0795/0.07996, allocations: 50.01 MB / 391.6 MB, free: 5.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.002493/0.08249, allocations: 2.196 MB / 393.8 MB, free: 3.594 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.08387, allocations: 0.7648 MB / 394.6 MB, free: 2.824 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002654/0.08416, allocations: 15.81 kB / 394.6 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.08435, allocations: 43.53 kB / 394.6 MB, free: 2.766 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002397/0.0846, allocations: 63.78 kB / 394.7 MB, free: 2.703 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006984/0.08531, allocations: 295.4 kB / 395 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005954/0.08592, allocations: 433.2 kB / 395.4 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.08611, allocations: 86.69 kB / 395.5 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003592/0.08648, allocations: 255 kB / 395.7 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003461/0.08683, allocations: 246.8 kB / 396 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.814e-05/0.08694, allocations: 24 kB / 396 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.08711, allocations: 59.95 kB / 396 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.08727, allocations: 131.5 kB / 396.2 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.08742, allocations: 129.3 kB / 396.3 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003982/0.08783, allocations: 415.3 kB / 396.7 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.08784, allocations: 0 / 396.7 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.08785, allocations: 0 / 396.7 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.08787, allocations: 7.938 kB / 396.7 MB, free: 0.6523 MB / 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.001416/0.08929, allocations: 0.8859 MB / 397.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.08934, allocations: 16.02 kB / 397.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.08948, allocations: 75.11 kB / 397.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006167/0.09011, allocations: 460.5 kB / 398.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.602e-05/0.09018, allocations: 62.7 kB / 398.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.072e-05/0.09028, allocations: 56 kB / 398.3 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009889/0.09128, allocations: 0.6168 MB / 398.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.09131, allocations: 7.906 kB / 398.9 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.024e-05/0.09136, allocations: 19.98 kB / 398.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.09138, allocations: 12 kB / 398.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008385/0.09223, allocations: 467.6 kB / 399.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002759/0.095, allocations: 1.779 MB / 401.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009124/0.09593, allocations: 491.3 kB / 401.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.09597, allocations: 4 kB / 401.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005906/0.09657, allocations: 355.4 kB / 402 MB, free: 11.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.624e-06/0.09659, allocations: 0 / 402 MB, free: 11.15 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:7903:5-7903:89:writable] Error: Internal error Transformation module sort components failed