Running command: "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.ComparisonTFunction,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_ComparisonTFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IndustrialControlSystems): time 2.265/2.265, allocations: 216.8 MB / 229 MB, free: 15.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.401e-05/3.429e-05, allocations: 0 / 282 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1121, allocations: 50.02 MB / 332 MB, free: 8.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4319/0.5441, allocations: 78.45 MB / 410.4 MB, free: 2.039 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.5445, allocations: 73.7 kB / 410.5 MB, free: 2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02125/0.5657, allocations: 4.755 MB / 415.3 MB, free: 13.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.5658, allocations: 3.938 kB / 415.3 MB, free: 13.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.33e-05/0.5658, allocations: 15.98 kB / 415.3 MB, free: 13.82 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001429/0.5673, allocations: 0.6043 MB / 415.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.5673, allocations: 8.031 kB / 415.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.5674, allocations: 69.91 kB / 416 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.5676, allocations: 39.53 kB / 416 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008331/0.5684, allocations: 384.7 kB / 416.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.724e-05/0.5685, allocations: 22.77 kB / 416.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.5687, allocations: 31.36 kB / 416.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.5698, allocations: 403.8 kB / 416.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.5698, allocations: 7.938 kB / 416.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-05/0.5699, allocations: 9.438 kB / 416.8 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.5699, allocations: 15.88 kB / 416.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007201/0.5706, allocations: 255.1 kB / 417.1 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002921/0.5736, allocations: 0.9839 MB / 418.1 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009518/0.5746, allocations: 296.3 kB / 418.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003642/0.575, allocations: 138.6 kB / 418.5 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.575, allocations: 3.984 kB / 418.5 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006127/0.5756, allocations: 244 kB / 418.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 3.617e-06/0.5757, allocations: 0 / 418.8 MB, free: 10.75 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.) tf_TU.Y[1] tf_TU.w tf_TU.Y[2] tf_TU.Y[3] when $whenCondition1 then tf_TU.w := tf_TU.num[1] * tf_TU.U[1] + tf_TU.num[2] * tf_TU.U[2] + (-tf_TU.b[3]) * tf_TU.Y[3] - tf_TU.b[1] * tf_TU.Y[1]; end when; when $whenCondition1 then tf_TU.Y[3] := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(0.5, tf_TU.Y[2], pre(tf_TU.Y[2]), pre(tf_TU.Y[3]), tf_TU.Ts, 1.0); end when; when $whenCondition1 then tf_TU.Y[2] := tf_TU.w; end when; when $whenCondition1 then tf_TU.Y[1] := IndustrialControlSystems.LinearSystems.Discrete.Functions.fDerivator(1.0, tf_TU.w, pre(tf_TU.w), pre(tf_TU.Y[1]), tf_TU.Ts, 1.0); 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: tf_TU.Y[1] tf_TU.w tf_TU.Y[2] tf_TU.Y[3] equations: when $whenCondition1 then tf_TU.w := tf_TU.num[1] * tf_TU.U[1] + tf_TU.num[2] * tf_TU.U[2] + (-tf_TU.b[3]) * tf_TU.Y[3] - tf_TU.b[1] * tf_TU.Y[1]; end when; when $whenCondition1 then tf_TU.Y[3] := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(0.5, tf_TU.Y[2], pre(tf_TU.Y[2]), pre(tf_TU.Y[3]), tf_TU.Ts, 1.0); end when; when $whenCondition1 then tf_TU.Y[2] := tf_TU.w; end when; when $whenCondition1 then tf_TU.Y[1] := IndustrialControlSystems.LinearSystems.Discrete.Functions.fDerivator(1.0, tf_TU.w, pre(tf_TU.w), pre(tf_TU.Y[1]), tf_TU.Ts, 1.0); 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