Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") Notification: Performance of loadModel(Modelica): time 1.95/1.95, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.663e-05/2.669e-05, allocations: 5.562 kB / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0906/0.09064, allocations: 50.42 MB / 342.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3571/0.4478, allocations: 77.36 MB / 419.9 MB, free: 0.707 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.4481, allocations: 78.62 kB / 420 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005087/0.4532, allocations: 1.45 MB / 421.4 MB, free: 15.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.668e-06/0.4532, allocations: 4 kB / 421.4 MB, free: 15.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.4532, allocations: 4 kB / 421.4 MB, free: 15.38 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.0004211/0.4537, allocations: 348.2 kB / 421.8 MB, free: 15 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4537, allocations: 12.03 kB / 421.8 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.4538, allocations: 15.11 kB / 421.8 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.454, allocations: 186.3 kB / 422 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.4541, allocations: 4 kB / 422 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.4541, allocations: 7.438 kB / 422 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.4545, allocations: 191.2 kB / 422.2 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.637e-06/0.4546, allocations: 0 / 422.2 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.4546, allocations: 0 / 422.2 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.4546, allocations: 7.953 kB / 422.2 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.704e-05/0.4547, allocations: 30.12 kB / 422.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.4552, allocations: 377 kB / 422.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.4555, allocations: 108.5 kB / 422.7 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.4556, allocations: 57.39 kB / 422.8 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.4556, allocations: 7.984 kB / 422.8 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.4557, allocations: 37.52 kB / 422.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.677e-06/0.4557, allocations: 3.938 kB / 422.8 MB, free: 13.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003067/0.456, allocations: 95.22 kB / 422.9 MB, free: 13.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.651e-05/0.4561, allocations: 114.2 kB / 423 MB, free: 13.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.4563, allocations: 134.1 kB / 423.1 MB, free: 13.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.4563, allocations: 29.14 kB / 423.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.79e-05/0.4564, allocations: 150.8 kB / 423.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.4565, allocations: 11.41 kB / 423.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-06/0.4565, allocations: 3.5 kB / 423.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4567, allocations: 314.8 kB / 423.6 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.96e-05/0.4567, allocations: 15.12 kB / 423.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.654e-05/0.4568, allocations: 80.25 kB / 423.7 MB, free: 12.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.414e-05/0.4569, allocations: 26.3 kB / 423.8 MB, free: 12.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.31e-06/0.4569, allocations: 0 / 423.8 MB, free: 12.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002333/0.4572, allocations: 103.2 kB / 423.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.4572, allocations: 4 kB / 423.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.4572, allocations: 7.953 kB / 423.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.4572, allocations: 7.984 kB / 423.9 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.722e-05/0.4573, allocations: 7.938 kB / 423.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.4573, allocations: 4 kB / 423.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.498e-05/0.4574, allocations: 11.11 kB / 423.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.4574, allocations: 4.344 kB / 423.9 MB, free: 12.79 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.888e-05/0.4576, allocations: 117.6 kB / 424 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.4578, allocations: 78.72 kB / 424.1 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.673e-05/0.4578, allocations: 14.62 kB / 424.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.4579, allocations: 7.953 kB / 424.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.803e-06/0.4579, allocations: 0 / 424.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.017e-06/0.4579, allocations: 0 / 424.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.4582, allocations: 182.6 kB / 424.3 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.185e-06/0.4582, allocations: 4.188 kB / 424.3 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.088e-05/0.4583, allocations: 7.938 kB / 424.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.579e-06/0.4583, allocations: 7.938 kB / 424.3 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.4583, allocations: 3.25 kB / 424.3 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.4583, allocations: 0 / 424.3 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/0.4583, allocations: 11.94 kB / 424.3 MB, free: 12.34 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.0004715/0.4588, allocations: 352.8 kB / 424.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.4589, allocations: 100.3 kB / 424.8 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.459, allocations: 11.7 kB / 424.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.4591, allocations: 0 / 424.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.4592, allocations: 4 kB / 424.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.4592, allocations: 8 kB / 424.8 MB, free: 11.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000103/0.4593, allocations: 106.5 kB / 424.9 MB, free: 11.76 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.4593, allocations: 0 / 424.9 MB, free: 11.76 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003947/0.4597, allocations: 11.88 kB / 424.9 MB, free: 11.75 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.0001358/0.4599, allocations: 111 kB / 425 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.4601, allocations: 60 kB / 425.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4601, allocations: 4.062 kB / 425.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.05e-05/0.4601, allocations: 4 kB / 425.1 MB, free: 11.58 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.4605, allocations: 51.2 kB / 425.1 MB, free: 11.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.461, allocations: 166 kB / 425.3 MB, free: 11.37 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.4614, allocations: 0.712 MB / 426 MB, free: 10.63 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.4615, allocations: 15.56 kB / 426 MB, free: 10.62 MB / 346.7 MB Notification: Performance of SimCode: time 1.402e-06/0.4615, allocations: 0 / 426 MB, free: 10.62 MB / 346.7 MB Notification: Performance of Templates: time 0.002765/0.4642, allocations: 0.9646 MB / 427 MB, free: 9.66 MB / 346.7 MB