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.008729/0.008729, allocations: 102.6 kB / 15.73 MB, free: 6.492 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.001971/0.001971, allocations: 195 kB / 16.68 MB, free: 6.375 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.734/1.734, allocations: 205.1 MB / 222.6 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0616/0.0616, allocations: 10.74 MB / 280.6 MB, free: 10.41 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.002477/0.002478, allocations: 73.08 kB / 390.8 MB, free: 5.039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3606, allocations: 49.02 MB / 439.8 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.003805/0.3645, allocations: 2.625 MB / 442.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.3662, allocations: 0.8058 MB / 443.3 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003033/0.3665, allocations: 22.81 kB / 443.3 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.3668, allocations: 78.34 kB / 443.4 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.3671, allocations: 64.67 kB / 443.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009669/0.368, allocations: 384.2 kB / 443.8 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009711/0.369, allocations: 0.793 MB / 444.6 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002529/0.3693, allocations: 119.4 kB / 444.7 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/0.3697, allocations: 291.1 kB / 445 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004195/0.3701, allocations: 284.3 kB / 445.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.129e-05/0.3702, allocations: 57.86 kB / 445.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.3704, allocations: 93.22 kB / 445.4 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.3706, allocations: 161.8 kB / 445.6 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002323/0.3708, allocations: 285.2 kB / 445.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007194/0.3716, allocations: 0.6015 MB / 446.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3716, allocations: 5.375 kB / 446.5 MB, free: 1.363 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.3716, allocations: 0.75 kB / 446.5 MB, free: 1.363 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.3716, allocations: 3.938 kB / 446.5 MB, free: 1.359 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.001554/0.3731, allocations: 0.9884 MB / 447.5 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.3732, allocations: 8.562 kB / 447.5 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.3734, allocations: 77.2 kB / 447.6 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006672/0.374, allocations: 0.4918 MB / 448 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-05/0.3741, allocations: 67.23 kB / 448.1 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.3743, allocations: 54.38 kB / 448.2 MB, free: 48 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.3754, allocations: 0.6159 MB / 448.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.562e-05/0.3755, allocations: 14.19 kB / 448.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.18e-05/0.3755, allocations: 24.14 kB / 448.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.3756, allocations: 14.69 kB / 448.8 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009263/0.3765, allocations: 440.9 kB / 449.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002988/0.3795, allocations: 1.754 MB / 451 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009233/0.3804, allocations: 445.6 kB / 451.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004844/0.3809, allocations: 312.5 kB / 451.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.191e-05/0.381, allocations: 4.594 kB / 451.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006121/0.3816, allocations: 333.6 kB / 452.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=51): time 2.474e-06/0.3816, allocations: 0 / 452.1 MB, free: 13.41 MB / 334.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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed