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 2.208/2.208, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.048e-05/3.04e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 50.4 MB / 345 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2): time 0.00238/0.1149, allocations: 1.309 MB / 346.3 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005343/0.1155, allocations: 163.4 kB / 346.4 MB, free: 7.473 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.1156, allocations: 4 kB / 346.4 MB, free: 7.469 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.484e-05/0.1157, allocations: 7.938 kB / 346.5 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.1158, allocations: 3.984 kB / 346.5 MB, free: 7.457 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.1161, allocations: 39.89 kB / 346.5 MB, free: 7.418 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.1162, allocations: 35.91 kB / 346.5 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1164, allocations: 24.16 kB / 346.6 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.969e-05/0.1164, allocations: 11.98 kB / 346.6 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.408e-05/0.1165, allocations: 31.78 kB / 346.6 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.826e-05/0.1165, allocations: 4 kB / 346.6 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.1165, allocations: 0 / 346.6 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.804e-05/0.1166, allocations: 11.98 kB / 346.6 MB, free: 7.297 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.1166, allocations: 7.938 kB / 346.6 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.1167, allocations: 47.84 kB / 346.7 MB, free: 7.242 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1167, allocations: 0 / 346.7 MB, free: 7.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1167, allocations: 0 / 346.7 MB, free: 7.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.1168, allocations: 4 kB / 346.7 MB, free: 7.238 MB / 282.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.000515/0.1173, allocations: 363.5 kB / 347 MB, free: 6.836 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.1174, allocations: 8.031 kB / 347 MB, free: 6.828 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.1174, allocations: 19.77 kB / 347.1 MB, free: 6.809 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.1177, allocations: 182.9 kB / 347.2 MB, free: 6.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.1177, allocations: 8 kB / 347.2 MB, free: 6.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.1177, allocations: 15.97 kB / 347.3 MB, free: 6.566 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.1183, allocations: 181.7 kB / 347.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1183, allocations: 0 / 347.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.1183, allocations: 7.953 kB / 347.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.1183, allocations: 0 / 347.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.1185, allocations: 39.98 kB / 347.5 MB, free: 6.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005073/0.119, allocations: 377.7 kB / 347.9 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.1193, allocations: 112 kB / 348 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.1193, allocations: 0 / 348 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.1194, allocations: 46.44 kB / 348 MB, free: 5.703 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.764e-06/0.1194, allocations: 7.938 kB / 348 MB, free: 5.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004904/0.1199, allocations: 125.7 kB / 348.1 MB, free: 5.566 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.626e-05/0.12, allocations: 114.8 kB / 348.2 MB, free: 5.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.1202, allocations: 135.6 kB / 348.4 MB, free: 5.293 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1203, allocations: 29.69 kB / 348.4 MB, free: 5.258 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.665e-05/0.1204, allocations: 158.8 kB / 348.6 MB, free: 5.098 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.1204, allocations: 0 / 348.6 MB, free: 5.098 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.848e-06/0.1204, allocations: 4.375 kB / 348.6 MB, free: 5.094 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1205, allocations: 314.8 kB / 348.9 MB, free: 4.777 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.84e-05/0.1206, allocations: 20.02 kB / 348.9 MB, free: 4.758 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.1208, allocations: 77.44 kB / 349 MB, free: 4.648 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.1209, allocations: 35.86 kB / 349 MB, free: 4.613 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1209, allocations: 0 / 349 MB, free: 4.613 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003012/0.1212, allocations: 121.3 kB / 349.1 MB, free: 4.488 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.1212, allocations: 4 kB / 349.1 MB, free: 4.484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.1213, allocations: 7.953 kB / 349.1 MB, free: 4.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.1213, allocations: 4 kB / 349.1 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.271e-05/0.1213, allocations: 4 kB / 349.1 MB, free: 4.469 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/0.1214, allocations: 11.92 kB / 349.2 MB, free: 4.457 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.105e-05/0.1215, allocations: 12.34 kB / 349.2 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.1215, allocations: 4 kB / 349.2 MB, free: 4.441 MB / 282.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 (step.y,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 0.0001365/0.1216, allocations: 125.8 kB / 349.3 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.1219, allocations: 85.44 kB / 349.4 MB, free: 4.219 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.825e-05/0.1219, allocations: 20.7 kB / 349.4 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.1219, allocations: 7.953 kB / 349.4 MB, free: 4.191 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.122, allocations: 4 kB / 349.4 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.122, allocations: 0 / 349.4 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.1223, allocations: 189.5 kB / 349.6 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1223, allocations: 8 kB / 349.6 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.313e-05/0.1224, allocations: 0 / 349.6 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.1224, allocations: 4 kB / 349.6 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.1224, allocations: 4 kB / 349.6 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1224, allocations: 3.938 kB / 349.6 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.1224, allocations: 7.953 kB / 349.6 MB, free: 3.926 MB / 282.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: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.0005629/0.123, allocations: 351.9 kB / 350 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.1231, allocations: 96.98 kB / 350.1 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.1231, allocations: 7.953 kB / 350.1 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.1233, allocations: 4 kB / 350.1 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.1234, allocations: 15.92 kB / 350.1 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.1234, allocations: 4 kB / 350.1 MB, free: 3.406 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.1235, allocations: 105.8 kB / 350.2 MB, free: 3.305 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1235, allocations: 0 / 350.2 MB, free: 3.305 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003782/0.1239, allocations: 19.94 kB / 350.2 MB, free: 3.285 MB / 282.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 (step.y,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.0001402/0.1241, allocations: 107.2 kB / 350.3 MB, free: 3.168 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003309/0.1244, allocations: 75.78 kB / 350.4 MB, free: 3.094 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.1244, allocations: 0 / 350.4 MB, free: 3.094 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.898e-05/0.1245, allocations: 12 kB / 350.4 MB, free: 3.082 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.1249, allocations: 51.95 kB / 350.5 MB, free: 3.031 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005724/0.1255, allocations: 252.2 kB / 350.7 MB, free: 2.754 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.1259, allocations: 0.7082 MB / 351.4 MB, free: 2.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.715e-05/0.1259, allocations: 11.44 kB / 351.4 MB, free: 2.008 MB / 282.7 MB Notification: Performance of SimCode: time 1.252e-06/0.126, allocations: 4 kB / 351.4 MB, free: 2.004 MB / 282.7 MB Notification: Performance of Templates: time 0.003411/0.1294, allocations: 0.9694 MB / 352.4 MB, free: 1.031 MB / 282.7 MB