Running command: "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_PI_ContinuousVsDigital",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IndustrialControlSystems): time 2.074/2.074, allocations: 216.8 MB / 229 MB, free: 15.09 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.429e-05/3.438e-05, allocations: 4 kB / 282 MB, free: 10.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1079, allocations: 50 MB / 332 MB, free: 8.762 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5298/0.6377, allocations: 81.26 MB / 413.2 MB, free: 14.94 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.638, allocations: 65.84 kB / 413.3 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03525/0.6733, allocations: 7.376 MB / 420.7 MB, free: 8.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6734, allocations: 0 / 420.7 MB, free: 8.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.666e-05/0.6734, allocations: 16 kB / 420.7 MB, free: 8.465 MB / 346.7 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.002253/0.6757, allocations: 0.8609 MB / 421.6 MB, free: 7.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.6758, allocations: 20.02 kB / 421.6 MB, free: 7.57 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002108/0.676, allocations: 93.58 kB / 421.7 MB, free: 7.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.6762, allocations: 71.16 kB / 421.7 MB, free: 7.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/0.678, allocations: 0.5174 MB / 422.3 MB, free: 6.918 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.6782, allocations: 67.89 kB / 422.3 MB, free: 6.863 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.6784, allocations: 57.84 kB / 422.4 MB, free: 6.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.6799, allocations: 0.6356 MB / 423 MB, free: 6.309 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.87e-05/0.68, allocations: 7.984 kB / 423 MB, free: 6.301 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.183e-05/0.68, allocations: 23.62 kB / 423 MB, free: 6.293 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.6801, allocations: 12 kB / 423.1 MB, free: 6.281 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.6812, allocations: 379 kB / 423.4 MB, free: 6.027 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004624/0.6858, allocations: 1.78 MB / 425.2 MB, free: 4.488 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.6871, allocations: 459.4 kB / 425.7 MB, free: 4.227 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005794/0.6877, allocations: 329.6 kB / 426 MB, free: 4.078 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.321e-05/0.6877, allocations: 4 kB / 426 MB, free: 4.074 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007377/0.6885, allocations: 312.4 kB / 426.3 MB, free: 3.824 MB / 346.7 MB Notification: Performance of pre-optimization done (n=51): time 3.507e-06/0.6885, allocations: 0 / 426.3 MB, free: 3.824 MB / 346.7 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.satin R_disc.satDiff R_disc.Iaction when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; 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.satDiff := R_disc.cs - R_disc.satin; 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.satin R_disc.satDiff R_disc.Iaction equations: when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; 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.satDiff := R_disc.cs - R_disc.satin; 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:7735:5-7735:89:writable] Error: Internal error Transformation module sort components failed