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.005788/0.005788, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001275/0.001275, allocations: 198.5 kB / 16.68 MB, free: 5.926 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 / 222.5 MB, free: 4.457 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0594/0.0594, allocations: 10.74 MB / 280.7 MB, free: 10.38 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.001526/0.001526, allocations: 68.75 kB / 390.3 MB, free: 5.523 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3158, allocations: 49.02 MB / 439.3 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.003855/0.3197, allocations: 2.638 MB / 442 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.3214, allocations: 0.8012 MB / 442.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002998/0.3217, allocations: 22.81 kB / 442.8 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.322, allocations: 75.33 kB / 442.9 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.3223, allocations: 59.72 kB / 442.9 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008773/0.3231, allocations: 384.9 kB / 443.3 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008626/0.324, allocations: 0.7893 MB / 444.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.3243, allocations: 119.8 kB / 444.2 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003685/0.3246, allocations: 295.1 kB / 444.5 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004313/0.3251, allocations: 289.2 kB / 444.8 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.898e-05/0.3252, allocations: 52.97 kB / 444.8 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.3254, allocations: 90 kB / 444.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001975/0.3256, allocations: 160.5 kB / 445.1 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002609/0.3259, allocations: 290.5 kB / 445.4 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007599/0.3266, allocations: 0.5998 MB / 446 MB, free: 1.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.3266, allocations: 0 / 446 MB, free: 1.082 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3267, allocations: 1.156 kB / 446 MB, free: 1.082 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.082e-05/0.3267, allocations: 0 / 446 MB, free: 1.082 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.001818/0.3285, allocations: 0.9875 MB / 447 MB, free: 364 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.3286, allocations: 18.45 kB / 447 MB, free: 356 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000114/0.3287, allocations: 99.06 kB / 447.1 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.3288, allocations: 74.28 kB / 447.2 MB, free: 244 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007838/0.3296, allocations: 0.4974 MB / 447.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.623e-05/0.3297, allocations: 69.92 kB / 447.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.3298, allocations: 62.92 kB / 447.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.331, allocations: 0.6161 MB / 448.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.331, allocations: 2.125 kB / 448.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.579e-05/0.3311, allocations: 28.17 kB / 448.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.3311, allocations: 10.84 kB / 448.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009638/0.3321, allocations: 443.1 kB / 448.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003014/0.3351, allocations: 1.756 MB / 450.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008829/0.336, allocations: 429.8 kB / 451 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004488/0.3365, allocations: 324.2 kB / 451.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.3365, allocations: 4.125 kB / 451.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006035/0.3372, allocations: 330.7 kB / 451.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=51): time 2.384e-06/0.3372, allocations: 0 / 451.7 MB, free: 13.14 MB / 334.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