Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.Sample2") Notification: Performance of loadModel(Modelica): time 2.024/2.024, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.84e-05/5.883e-05, allocations: 4 kB / 292.2 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1455, allocations: 50.41 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4002/0.5457, allocations: 77.31 MB / 419.9 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.546, allocations: 74.39 kB / 419.9 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005271/0.5513, allocations: 1.457 MB / 421.4 MB, free: 15.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5513, allocations: 3.938 kB / 421.4 MB, free: 15.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.5514, allocations: 4 kB / 421.4 MB, free: 15.54 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.0004302/0.5518, allocations: 352.5 kB / 421.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.5519, allocations: 12.03 kB / 421.8 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.5519, allocations: 11.86 kB / 421.8 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.5522, allocations: 186.7 kB / 422 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.5522, allocations: 11.75 kB / 422 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.5522, allocations: 8 kB / 422 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.5527, allocations: 181.8 kB / 422.2 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.5527, allocations: 0 / 422.2 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.5527, allocations: 3.688 kB / 422.2 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.5527, allocations: 7.953 kB / 422.2 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.511e-05/0.5528, allocations: 31.75 kB / 422.2 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005392/0.5534, allocations: 371.3 kB / 422.6 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.5536, allocations: 112.7 kB / 422.7 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.5537, allocations: 52.7 kB / 422.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.5538, allocations: 7.984 kB / 422.7 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.5538, allocations: 34.52 kB / 422.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.677e-06/0.5538, allocations: 3.938 kB / 422.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003031/0.5542, allocations: 96.47 kB / 422.9 MB, free: 14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.578e-05/0.5543, allocations: 113.7 kB / 423 MB, free: 13.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.5544, allocations: 132.7 kB / 423.1 MB, free: 13.74 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.5545, allocations: 33.08 kB / 423.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.879e-05/0.5545, allocations: 83.86 kB / 423.2 MB, free: 13.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.5546, allocations: 7.906 kB / 423.2 MB, free: 13.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.5546, allocations: 3.188 kB / 423.2 MB, free: 13.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.5548, allocations: 322.4 kB / 423.5 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.596e-05/0.5548, allocations: 11.25 kB / 423.6 MB, free: 13.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.475e-05/0.5549, allocations: 80 kB / 423.6 MB, free: 13.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.785e-05/0.555, allocations: 27.25 kB / 423.7 MB, free: 13.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.141e-06/0.555, allocations: 0 / 423.7 MB, free: 13.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002226/0.5552, allocations: 104.2 kB / 423.8 MB, free: 13.06 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.5553, allocations: 8 kB / 423.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.5553, allocations: 7.953 kB / 423.8 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.5553, allocations: 0 / 423.8 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.266e-05/0.5554, allocations: 15.92 kB / 423.8 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.5e-06/0.5554, allocations: 0 / 423.8 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.768e-05/0.5555, allocations: 11.22 kB / 423.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.5555, allocations: 8 kB / 423.8 MB, free: 13.01 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,xor1.y,xor1.u2,xor1.u1,xor.y,xor.u2,xor.u1,integerConstant.y,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 9.729e-05/0.5556, allocations: 112.2 kB / 423.9 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.5558, allocations: 79.78 kB / 424 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.651e-05/0.5559, allocations: 15.81 kB / 424 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.774e-06/0.5559, allocations: 7.938 kB / 424 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.5559, allocations: 7.984 kB / 424 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.556, allocations: 0 / 424 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/0.5563, allocations: 179.5 kB / 424.2 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.922e-06/0.5563, allocations: 4 kB / 424.2 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.385e-05/0.5564, allocations: 7.984 kB / 424.2 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.5564, allocations: 0 / 424.2 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.5564, allocations: 11.56 kB / 424.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.585e-06/0.5564, allocations: 0 / 424.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.697e-06/0.5564, allocations: 3.953 kB / 424.2 MB, free: 12.57 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.) xor.u2 sample2.y hold1.y hold1.u xor1.y xor1.u2 xor.y xor.y = not (xor.u1 and xor.u2 or not xor.u1 and not xor.u2) xor1.u2 = xor.y xor1.y = not (xor1.u1 and xor1.u2 or not xor1.u1 and not xor1.u2) hold1.u = xor1.y hold1.y = $getPart(hold1.u) sample2.y = $getPart(hold1.y) xor.u2 = sample2.y [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: xor.u2 sample2.y hold1.y hold1.u xor1.y xor1.u2 xor.y equations: xor.y = not (xor.u1 and xor.u2 or not xor.u1 and not xor.u2) xor1.u2 = xor.y xor1.y = not (xor1.u1 and xor1.u2 or not xor1.u1 and not xor1.u2) hold1.u = xor1.y hold1.y = $getPart(hold1.u) sample2.y = $getPart(hold1.y) xor.u2 = sample2.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.000475/0.5569, allocations: 359.8 kB / 424.6 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.557, allocations: 94.75 kB / 424.7 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.5571, allocations: 7.953 kB / 424.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.5572, allocations: 3 kB / 424.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.5573, allocations: 11.98 kB / 424.7 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.5573, allocations: 0 / 424.7 MB, free: 12.08 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001036/0.5574, allocations: 108.2 kB / 424.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-07/0.5575, allocations: 4 kB / 424.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003953/0.5579, allocations: 11.19 kB / 424.8 MB, free: 11.97 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,hold1.y,sample1.y,hold1.u,sample2.y,integerConstant.y,xor.u1,xor.u2,xor.y,xor1.u1,xor1.u2,xor1.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.0001454/0.558, allocations: 104 kB / 424.9 MB, free: 11.86 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.5582, allocations: 60.62 kB / 425 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.107e-06/0.5582, allocations: 0 / 425 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.77e-05/0.5583, allocations: 10.62 kB / 425 MB, free: 11.81 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.5587, allocations: 48.39 kB / 425 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.5591, allocations: 139.6 kB / 425.2 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.5595, allocations: 0.7128 MB / 425.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.651e-05/0.5596, allocations: 4.375 kB / 425.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.5596, allocations: 14.75 kB / 425.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of SimCode: time 1.637e-06/0.5596, allocations: 4 kB / 425.9 MB, free: 10.87 MB / 346.7 MB Notification: Performance of Templates: time 0.003659/0.5633, allocations: 0.6838 MB / 426.6 MB, free: 10.2 MB / 346.7 MB