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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.005501/0.005501, allocations: 101.7 kB / 15.73 MB, free: 6.453 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.001364/0.001364, allocations: 191.3 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.1845/0.1845, allocations: 11.18 MB / 301.7 MB, free: 1.281 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 59.91 kB / 417.3 MB, free: 6.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2879, allocations: 51.97 MB / 469.3 MB, free: 16.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.00379/0.2917, allocations: 2.696 MB / 472 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.2934, allocations: 0.8272 MB / 472.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.2937, allocations: 23.03 kB / 472.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.2941, allocations: 84.64 kB / 472.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.2943, allocations: 59.33 kB / 473 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008755/0.2952, allocations: 406 kB / 473.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008999/0.2961, allocations: 0.8327 MB / 474.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.2963, allocations: 128.1 kB / 474.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003233/0.2967, allocations: 286.5 kB / 474.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000354/0.297, allocations: 299.7 kB / 474.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.734e-05/0.2971, allocations: 49.5 kB / 475 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.2973, allocations: 94.11 kB / 475.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.2975, allocations: 160.4 kB / 475.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000251/0.2978, allocations: 305.3 kB / 475.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007032/0.2985, allocations: 0.6277 MB / 476.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2985, allocations: 5.219 kB / 476.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2985, allocations: 3.938 kB / 476.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.2985, allocations: 0 / 476.2 MB, free: 12.22 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001686/0.3002, allocations: 1.04 MB / 477.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.3003, allocations: 16.77 kB / 477.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.3004, allocations: 99.69 kB / 477.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.3006, allocations: 83.94 kB / 477.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007033/0.3013, allocations: 0.5099 MB / 477.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.61e-05/0.3014, allocations: 67.8 kB / 478 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.3015, allocations: 65.42 kB / 478 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.3026, allocations: 0.6584 MB / 478.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/0.3026, allocations: 10.3 kB / 478.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-05/0.3027, allocations: 29 kB / 478.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.3027, allocations: 11.75 kB / 478.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000976/0.3037, allocations: 451 kB / 479.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002792/0.3065, allocations: 2.136 MB / 481.3 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008451/0.3074, allocations: 438.5 kB / 481.7 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004479/0.3078, allocations: 315.8 kB / 482.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.3079, allocations: 8.484 kB / 482.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005246/0.3084, allocations: 326.2 kB / 482.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.034e-06/0.3084, allocations: 0 / 482.4 MB, free: 7.676 MB / 350.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