Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|hold.y|sample1.y|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample2") Notification: Performance of loadModel(Modelica_Synchronous): time 2.097/2.097, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.172e-05/4.204e-05, allocations: 8 kB / 284.3 MB, free: 8.188 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09138/0.09145, allocations: 50.36 MB / 334.7 MB, free: 5.727 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3623/0.4538, allocations: 78.59 MB / 413.3 MB, free: 15.69 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.4541, allocations: 69.78 kB / 413.4 MB, free: 15.65 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006119/0.4603, allocations: 1.613 MB / 415 MB, free: 14.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.945e-06/0.4603, allocations: 0 / 415 MB, free: 14.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.4603, allocations: 0 / 415 MB, free: 14.23 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004876/0.4608, allocations: 385.8 kB / 415.4 MB, free: 13.81 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.4609, allocations: 8.031 kB / 415.4 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.461, allocations: 11.81 kB / 415.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.4612, allocations: 204.4 kB / 415.6 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.4613, allocations: 11.2 kB / 415.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.4613, allocations: 4 kB / 415.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004544/0.4618, allocations: 202.4 kB / 415.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.981e-06/0.4618, allocations: 0 / 415.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.4618, allocations: 0 / 415.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.765e-06/0.4618, allocations: 0 / 415.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.462, allocations: 48.86 kB / 415.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005864/0.4626, allocations: 391.9 kB / 416.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.4628, allocations: 122.5 kB / 416.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.463, allocations: 68.06 kB / 416.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.463, allocations: 11.92 kB / 416.4 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.463, allocations: 38.5 kB / 416.4 MB, free: 12.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.944e-06/0.4631, allocations: 0 / 416.4 MB, free: 12.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003384/0.4634, allocations: 113.6 kB / 416.6 MB, free: 12.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.248e-05/0.4635, allocations: 114.7 kB / 416.7 MB, free: 12.44 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.4637, allocations: 152.9 kB / 416.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.4637, allocations: 25.7 kB / 416.8 MB, free: 12.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.108e-05/0.4638, allocations: 96.16 kB / 416.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.4639, allocations: 7.781 kB / 416.9 MB, free: 12.17 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-06/0.4639, allocations: 0 / 416.9 MB, free: 12.17 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.464, allocations: 326.2 kB / 417.3 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.054e-05/0.4641, allocations: 11.88 kB / 417.3 MB, free: 11.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.901e-05/0.4642, allocations: 84.5 kB / 417.4 MB, free: 11.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.537e-05/0.4643, allocations: 27.44 kB / 417.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.355e-06/0.4643, allocations: 7.984 kB / 417.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002369/0.4646, allocations: 107.9 kB / 417.5 MB, free: 11.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.4646, allocations: 12 kB / 417.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.4646, allocations: 4 kB / 417.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.4646, allocations: 4 kB / 417.5 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.4648, allocations: 23.98 kB / 417.5 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.4648, allocations: 7.938 kB / 417.6 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.073e-05/0.4649, allocations: 6.938 kB / 417.6 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.851e-05/0.465, allocations: 8 kB / 417.6 MB, free: 11.54 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 12 (sample1.u,integerConstant.y,sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],sample2.y,hold.u,hold.y,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.4651, allocations: 120 kB / 417.7 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.4654, allocations: 114.4 kB / 417.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.167e-05/0.4654, allocations: 19.19 kB / 417.8 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.304e-06/0.4655, allocations: 0 / 417.8 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.4655, allocations: 4 kB / 417.8 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.56e-06/0.4655, allocations: 0 / 417.8 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003601/0.4659, allocations: 192.2 kB / 418 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3e-06/0.4659, allocations: 0 / 418 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.466, allocations: 31.86 kB / 418 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.434e-06/0.4661, allocations: 4 kB / 418 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.4661, allocations: 4 kB / 418 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/0.4661, allocations: 3.938 kB / 418 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.4661, allocations: 3.984 kB / 418.1 MB, free: 11.04 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.) hold.u sum2.y sum2.u[2] sum1.y sum1.u[2] sample2.y hold.y hold.y = $getPart(hold.u) sample2.y = $getPart(hold.y) sum1.u[2] = sample2.y sum1.y = sum1.k[1] * sum1.u[1] + sum1.k[2] * sum1.u[2] sum2.u[2] = sum1.y sum2.y = sum2.k[1] * sum2.u[1] + sum2.k[2] * sum2.u[2] hold.u = sum2.y [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: hold.u sum2.y sum2.u[2] sum1.y sum1.u[2] sample2.y hold.y equations: hold.y = $getPart(hold.u) sample2.y = $getPart(hold.y) sum1.u[2] = sample2.y sum1.y = sum1.k[1] * sum1.u[1] + sum1.k[2] * sum1.u[2] sum2.u[2] = sum1.y sum2.y = sum2.k[1] * sum2.u[1] + sum2.k[2] * sum2.u[2] hold.u = sum2.y [/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 Warning: The optimization module detectJacobianSparsePattern failed. This module will be skipped and the transformation process continued. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005327/0.4667, allocations: 395.9 kB / 418.4 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.4668, allocations: 107.7 kB / 418.5 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.4668, allocations: 0 / 418.5 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.467, allocations: 4 kB / 418.5 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.4671, allocations: 11.19 kB / 418.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.4671, allocations: 3.984 kB / 418.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001249/0.4672, allocations: 122.4 kB / 418.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.26e-07/0.4672, allocations: 0 / 418.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004207/0.4677, allocations: 18.95 kB / 418.7 MB, free: 10.39 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (hold.y,sample1.u,sample1.y,hold.u,sample2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y,integerConstant.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001465/0.4678, allocations: 113.9 kB / 418.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.468, allocations: 69.17 kB / 418.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4681, allocations: 0 / 418.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.597e-05/0.4681, allocations: 4 kB / 418.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.4685, allocations: 63.84 kB / 418.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.469, allocations: 171.7 kB / 419.1 MB, free: 9.992 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.4694, allocations: 0.7202 MB / 419.8 MB, free: 9.246 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.518e-05/0.4695, allocations: 4.562 kB / 419.8 MB, free: 9.242 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.4696, allocations: 11.44 kB / 419.8 MB, free: 9.23 MB / 346.7 MB Notification: Performance of SimCode: time 1.834e-06/0.4696, allocations: 0 / 419.8 MB, free: 9.23 MB / 346.7 MB Notification: Performance of Templates: time 0.004088/0.4737, allocations: 0.8302 MB / 420.7 MB, free: 8.41 MB / 346.7 MB