Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2") Notification: Performance of loadModel(Modelica): time 2.031/2.031, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.461e-05/4.495e-05, allocations: 3.984 kB / 292.1 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09821/0.09829, allocations: 50.42 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4497/0.548, allocations: 77.46 MB / 420 MB, free: 0.668 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004844/0.5486, allocations: 76.33 kB / 420.1 MB, free: 0.625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009904/0.5585, allocations: 1.662 MB / 421.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5586, allocations: 0 / 421.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.714e-05/0.5586, allocations: 4 kB / 421.8 MB, free: 15.16 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.0005383/0.5592, allocations: 376.9 kB / 422.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.5592, allocations: 8.031 kB / 422.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/0.5593, allocations: 15.81 kB / 422.2 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.5596, allocations: 201.7 kB / 422.4 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.5596, allocations: 3.5 kB / 422.4 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.5597, allocations: 14.81 kB / 422.4 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004782/0.5601, allocations: 190.7 kB / 422.6 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.5602, allocations: 7.984 kB / 422.6 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.5602, allocations: 7.266 kB / 422.6 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.843e-06/0.5602, allocations: 4 kB / 422.6 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.5604, allocations: 40.17 kB / 422.6 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000611/0.561, allocations: 390.5 kB / 423 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.5612, allocations: 121.6 kB / 423.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.5614, allocations: 78.95 kB / 423.2 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.5615, allocations: 3.984 kB / 423.2 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.5615, allocations: 45.75 kB / 423.2 MB, free: 13.61 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 3.104e-06/0.5615, allocations: 0 / 423.2 MB, free: 13.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004159/0.562, allocations: 110.9 kB / 423.3 MB, free: 13.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.266e-05/0.5621, allocations: 112.7 kB / 423.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.5623, allocations: 143.4 kB / 423.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.5623, allocations: 25.7 kB / 423.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.5624, allocations: 94.8 kB / 423.7 MB, free: 13.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.5624, allocations: 12.05 kB / 423.7 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-06/0.5624, allocations: 3.562 kB / 423.7 MB, free: 13.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.5626, allocations: 318.3 kB / 424 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.462e-05/0.5627, allocations: 15.44 kB / 424.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.5628, allocations: 80.69 kB / 424.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.301e-05/0.5629, allocations: 30.73 kB / 424.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.601e-06/0.5629, allocations: 0 / 424.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002566/0.5632, allocations: 102.4 kB / 424.3 MB, free: 12.56 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.5632, allocations: 19.88 kB / 424.3 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.5633, allocations: 4 kB / 424.3 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.5633, allocations: 4.344 kB / 424.3 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.5635, allocations: 27.25 kB / 424.3 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.5635, allocations: 7.984 kB / 424.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.995e-05/0.5636, allocations: 11.91 kB / 424.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.5637, allocations: 4 kB / 424.3 MB, free: 12.48 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,hold1.u,hold1.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.0001246/0.5638, allocations: 115.2 kB / 424.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.5641, allocations: 101.2 kB / 424.6 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.228e-05/0.5641, allocations: 29.84 kB / 424.6 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.5642, allocations: 7.938 kB / 424.6 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.823e-06/0.5642, allocations: 0 / 424.6 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.523e-06/0.5642, allocations: 0 / 424.6 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003664/0.5646, allocations: 194.5 kB / 424.8 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.62e-06/0.5646, allocations: 0 / 424.8 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.5648, allocations: 23.98 kB / 424.8 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.065e-06/0.5648, allocations: 4 kB / 424.8 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.5648, allocations: 3.5 kB / 424.8 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.244e-06/0.5648, allocations: 3.953 kB / 424.8 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.879e-06/0.5649, allocations: 8 kB / 424.8 MB, free: 11.99 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.) hold1.u sum2.y sum2.u[2] sum1.y sum1.u[2] sample2.y hold1.y hold1.y = $getPart(hold1.u) sample2.y = $getPart(hold1.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] hold1.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: hold1.u sum2.y sum2.u[2] sum1.y sum1.u[2] sample2.y hold1.y equations: hold1.y = $getPart(hold1.u) sample2.y = $getPart(hold1.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] hold1.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.0005553/0.5654, allocations: 388.5 kB / 425.2 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.5656, allocations: 108 kB / 425.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.5656, allocations: 3.188 kB / 425.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.5658, allocations: 11.98 kB / 425.3 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.5658, allocations: 4 kB / 425.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.5659, allocations: 11.3 kB / 425.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001302/0.566, allocations: 119.5 kB / 425.5 MB, free: 11.35 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.45e-07/0.566, allocations: 4 kB / 425.5 MB, free: 11.35 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004406/0.5665, allocations: 11.38 kB / 425.5 MB, free: 11.34 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 (hold1.y,sample1.u,sample1.y,hold1.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.0001489/0.5666, allocations: 114.6 kB / 425.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002063/0.5669, allocations: 60.17 kB / 425.6 MB, free: 11.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.651e-06/0.5669, allocations: 0.6875 kB / 425.6 MB, free: 11.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.142e-05/0.5669, allocations: 12 kB / 425.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.5673, allocations: 59.62 kB / 425.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/0.5678, allocations: 177.2 kB / 425.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.5683, allocations: 0.7082 MB / 426.6 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.447e-05/0.5683, allocations: 16.61 kB / 426.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.5684, allocations: 15.44 kB / 426.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of SimCode: time 2.007e-06/0.5684, allocations: 0 / 426.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of Templates: time 0.004457/0.5729, allocations: 0.8224 MB / 427.4 MB, free: 9.371 MB / 346.7 MB