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.001048/0.001048, allocations: 116.9 kB / 16.37 MB, free: 6.012 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.001098/0.001098, allocations: 192.8 kB / 17.31 MB, free: 5.613 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.451/1.451, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05794/0.05794, allocations: 10.74 MB / 281.3 MB, free: 1.32 MB / 222.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.001601/0.001601, allocations: 63.91 kB / 342 MB, free: 4.473 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2769, allocations: 49.01 MB / 391 MB, free: 49.97 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.003658/0.2806, allocations: 2.626 MB / 393.6 MB, free: 48.11 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.2822, allocations: 0.8096 MB / 394.4 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002543/0.2825, allocations: 22.81 kB / 394.5 MB, free: 47.54 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.2828, allocations: 74.62 kB / 394.5 MB, free: 47.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.283, allocations: 56.08 kB / 394.6 MB, free: 47.44 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009045/0.2839, allocations: 385 kB / 395 MB, free: 47.24 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009451/0.2849, allocations: 0.7983 MB / 395.8 MB, free: 46.89 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.2851, allocations: 116.7 kB / 395.9 MB, free: 46.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003778/0.2855, allocations: 287.4 kB / 396.2 MB, free: 46.71 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004218/0.2859, allocations: 289.2 kB / 396.4 MB, free: 46.58 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.185e-05/0.286, allocations: 49.28 kB / 396.5 MB, free: 46.58 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.2862, allocations: 90.14 kB / 396.6 MB, free: 46.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.2864, allocations: 166 kB / 396.7 MB, free: 46.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000259/0.2867, allocations: 287.7 kB / 397 MB, free: 46.29 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007554/0.2875, allocations: 0.6087 MB / 397.6 MB, free: 46.01 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2875, allocations: 1.438 kB / 397.6 MB, free: 46.01 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2875, allocations: 0 / 397.6 MB, free: 46.01 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.2875, allocations: 0 / 397.6 MB, free: 46.01 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.001687/0.2892, allocations: 0.9887 MB / 398.6 MB, free: 45.28 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2892, allocations: 8.344 kB / 398.6 MB, free: 45.28 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.2894, allocations: 73.88 kB / 398.7 MB, free: 45.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000686/0.2901, allocations: 0.4967 MB / 399.2 MB, free: 44.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.285e-05/0.2902, allocations: 67.48 kB / 399.3 MB, free: 44.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-05/0.2903, allocations: 58.45 kB / 399.3 MB, free: 44.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009554/0.2912, allocations: 0.6122 MB / 399.9 MB, free: 44.42 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.2913, allocations: 10.09 kB / 399.9 MB, free: 44.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.241e-05/0.2913, allocations: 27.91 kB / 400 MB, free: 44.39 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.2914, allocations: 10.78 kB / 400 MB, free: 44.39 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008109/0.2922, allocations: 439.2 kB / 400.4 MB, free: 44.19 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002673/0.2949, allocations: 1.748 MB / 402.1 MB, free: 42.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008514/0.2957, allocations: 445.8 kB / 402.6 MB, free: 42.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004248/0.2962, allocations: 320.7 kB / 402.9 MB, free: 42.4 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.265e-05/0.2962, allocations: 7.984 kB / 402.9 MB, free: 42.39 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005043/0.2967, allocations: 334.4 kB / 403.2 MB, free: 42.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=51): time 2.846e-06/0.2967, allocations: 0 / 403.2 MB, free: 42.16 MB / 318.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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed