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_LinearSystems2): time 2.272/2.272, allocations: 251.5 MB / 266 MB, free: 0.6875 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.09689/0.09689, allocations: 12.6 MB / 336.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.744e-05/3.736e-05, allocations: 11.94 kB / 399.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4034, allocations: 59.43 MB / 459.2 MB, free: 28.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample2): time 0.002789/0.4062, allocations: 1.306 MB / 460.5 MB, free: 27.3 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006655/0.407, allocations: 171.4 kB / 460.7 MB, free: 27.13 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.4071, allocations: 4 kB / 460.7 MB, free: 27.12 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.4072, allocations: 11.92 kB / 460.7 MB, free: 27.11 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.4074, allocations: 4 kB / 460.7 MB, free: 27.11 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.4078, allocations: 43.83 kB / 460.7 MB, free: 27.07 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.408, allocations: 35.89 kB / 460.8 MB, free: 27.03 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.4081, allocations: 32.16 kB / 460.8 MB, free: 27 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.969e-05/0.4082, allocations: 7.938 kB / 460.8 MB, free: 26.99 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.4083, allocations: 27.91 kB / 460.8 MB, free: 26.96 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.783e-05/0.4084, allocations: 0 / 460.8 MB, free: 26.96 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.4084, allocations: 4 kB / 460.8 MB, free: 26.96 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.438e-05/0.4085, allocations: 19.92 kB / 460.9 MB, free: 26.94 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.848e-05/0.4086, allocations: 4 kB / 460.9 MB, free: 26.93 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.4087, allocations: 63.89 kB / 460.9 MB, free: 26.87 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4087, allocations: 0 / 460.9 MB, free: 26.87 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.4087, allocations: 3.938 kB / 460.9 MB, free: 26.87 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.4088, allocations: 0 / 460.9 MB, free: 26.87 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.0006728/0.4095, allocations: 377.8 kB / 461.3 MB, free: 26.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.4095, allocations: 12.03 kB / 461.3 MB, free: 26.44 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.161e-05/0.4096, allocations: 7.906 kB / 461.3 MB, free: 26.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.4099, allocations: 212.2 kB / 461.5 MB, free: 26.19 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.41, allocations: 8 kB / 461.5 MB, free: 26.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.41, allocations: 8 kB / 461.5 MB, free: 26.17 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007863/0.4108, allocations: 210.7 kB / 461.7 MB, free: 25.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.4109, allocations: 0 / 461.7 MB, free: 25.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.4109, allocations: 4 kB / 461.7 MB, free: 25.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.4109, allocations: 4 kB / 461.8 MB, free: 25.94 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003351/0.4113, allocations: 55.91 kB / 461.8 MB, free: 25.88 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006623/0.412, allocations: 401.5 kB / 462.2 MB, free: 25.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003926/0.4124, allocations: 131.9 kB / 462.3 MB, free: 25.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.544e-05/0.4124, allocations: 3.984 kB / 462.3 MB, free: 25.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.4125, allocations: 38.62 kB / 462.4 MB, free: 25.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 3.106e-06/0.4125, allocations: 0 / 462.4 MB, free: 25.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008611/0.4134, allocations: 169.4 kB / 462.5 MB, free: 25.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.503e-05/0.4135, allocations: 119 kB / 462.7 MB, free: 24.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.4137, allocations: 148 kB / 462.8 MB, free: 24.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.4138, allocations: 25.7 kB / 462.8 MB, free: 24.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.4139, allocations: 96.41 kB / 462.9 MB, free: 24.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.4139, allocations: 4 kB / 462.9 MB, free: 24.63 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-06/0.4139, allocations: 0 / 462.9 MB, free: 24.63 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.284e-05/0.414, allocations: 322.8 kB / 463.2 MB, free: 24.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.4142, allocations: 19.98 kB / 463.3 MB, free: 24.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.4144, allocations: 89.44 kB / 463.3 MB, free: 24.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.4146, allocations: 35.92 kB / 463.4 MB, free: 24.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.4146, allocations: 0 / 463.4 MB, free: 24.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004922/0.4151, allocations: 133.3 kB / 463.5 MB, free: 23.99 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.4152, allocations: 10.03 kB / 463.5 MB, free: 23.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.4152, allocations: 0 / 463.5 MB, free: 23.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.4152, allocations: 7.984 kB / 463.5 MB, free: 23.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.4155, allocations: 23.94 kB / 463.5 MB, free: 23.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.4155, allocations: 11.94 kB / 463.6 MB, free: 23.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.4157, allocations: 12.28 kB / 463.6 MB, free: 23.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.4158, allocations: 12 kB / 463.6 MB, free: 23.92 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.0001722/0.4159, allocations: 137.7 kB / 463.7 MB, free: 23.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003759/0.4163, allocations: 105.8 kB / 463.8 MB, free: 23.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.721e-05/0.4164, allocations: 16.72 kB / 463.8 MB, free: 23.65 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.4165, allocations: 4 kB / 463.8 MB, free: 23.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.4165, allocations: 0 / 463.8 MB, free: 23.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.4165, allocations: 7.938 kB / 463.8 MB, free: 23.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004275/0.417, allocations: 197.5 kB / 464 MB, free: 23.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.417, allocations: 7.984 kB / 464 MB, free: 23.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/0.4173, allocations: 19.98 kB / 464.1 MB, free: 23.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.4174, allocations: 4 kB / 464.1 MB, free: 23.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.4174, allocations: 0 / 464.1 MB, free: 23.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.4174, allocations: 0 / 464.1 MB, free: 23.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4174, allocations: 4 kB / 464.1 MB, free: 23.36 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.) sum1.y sum2.u[2] sum2.y hold.u hold.y sample2.y sum1.u[2] sum1.y = sum1.k[1] * sum1.u[1] + sum1.k[2] * sum1.u[2] sum1.u[2] = sample2.y sample2.y = $getPart(hold.y) hold.y = $getPart(hold.u) hold.u = sum2.y sum2.y = sum2.k[1] * sum2.u[1] + sum2.k[2] * sum2.u[2] sum2.u[2] = sum1.y [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: sum1.y sum2.u[2] sum2.y hold.u hold.y sample2.y sum1.u[2] equations: sum1.y = sum1.k[1] * sum1.u[1] + sum1.k[2] * sum1.u[2] sum1.u[2] = sample2.y sample2.y = $getPart(hold.y) hold.y = $getPart(hold.u) hold.u = sum2.y sum2.y = sum2.k[1] * sum2.u[1] + sum2.k[2] * sum2.u[2] sum2.u[2] = sum1.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:7888:5-7888: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.0007115/0.4182, allocations: 411.8 kB / 464.5 MB, free: 22.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.85e-05/0.4183, allocations: 108.8 kB / 464.6 MB, free: 22.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.4183, allocations: 0 / 464.6 MB, free: 22.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.4185, allocations: 4 kB / 464.6 MB, free: 22.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.4185, allocations: 7.953 kB / 464.6 MB, free: 22.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.4185, allocations: 11.98 kB / 464.6 MB, free: 22.78 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.997e-05/0.4186, allocations: 112.3 kB / 464.7 MB, free: 22.67 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4186, allocations: 0 / 464.7 MB, free: 22.67 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003647/0.419, allocations: 16 kB / 464.7 MB, free: 22.65 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 (sample1.u,hold.y,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.0001014/0.4191, allocations: 111.1 kB / 464.8 MB, free: 22.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002762/0.4194, allocations: 84.45 kB / 464.9 MB, free: 22.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4194, allocations: 0 / 464.9 MB, free: 22.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.525e-05/0.4195, allocations: 16.06 kB / 464.9 MB, free: 22.44 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.42, allocations: 59.94 kB / 465 MB, free: 22.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004927/0.4205, allocations: 255.2 kB / 465.2 MB, free: 22.1 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.4207, allocations: 0.7199 MB / 466 MB, free: 21.36 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.477e-05/0.4207, allocations: 8.922 kB / 466 MB, free: 21.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.4208, allocations: 11.44 kB / 466 MB, free: 21.33 MB / 346.7 MB Notification: Performance of SimCode: time 6.11e-07/0.4208, allocations: 4 kB / 466 MB, free: 21.33 MB / 346.7 MB Notification: Performance of Templates: time 0.004026/0.4248, allocations: 0.8317 MB / 466.8 MB, free: 20.5 MB / 346.7 MB