Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadModel(Modelica): time 2.062/2.062, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.263e-05/4.282e-05, allocations: 4 kB / 292.7 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09512/0.09519, allocations: 50.41 MB / 343.1 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4166/0.5118, allocations: 76.67 MB / 419.8 MB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.5121, allocations: 78.5 kB / 419.8 MB, free: 1.465 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003886/0.516, allocations: 1.099 MB / 420.9 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.89e-06/0.5161, allocations: 0 / 420.9 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.5161, allocations: 4.719 kB / 420.9 MB, free: 500 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003736/0.5165, allocations: 342 kB / 421.3 MB, free: 120 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.5165, allocations: 12.03 kB / 421.3 MB, free: 108 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.5166, allocations: 11.86 kB / 421.3 MB, free: 96 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.5168, allocations: 177.4 kB / 421.5 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.5169, allocations: 7.562 kB / 421.5 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.5169, allocations: 4 kB / 421.5 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.5172, allocations: 117.2 kB / 421.6 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.625e-06/0.5172, allocations: 0 / 421.6 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.5172, allocations: 0 / 421.6 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.734e-06/0.5172, allocations: 0 / 421.6 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.284e-05/0.5173, allocations: 11.64 kB / 421.6 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.5177, allocations: 265.4 kB / 421.9 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.5179, allocations: 130 kB / 422 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.675e-05/0.518, allocations: 21.66 kB / 422 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.518, allocations: 3.875 kB / 422 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.518, allocations: 34.56 kB / 422 MB, free: 15.22 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 5.229e-06/0.5181, allocations: 7.984 kB / 422.1 MB, free: 15.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001892/0.5183, allocations: 57.55 kB / 422.1 MB, free: 15.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.5183, allocations: 77.11 kB / 422.2 MB, free: 15.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.5185, allocations: 125 kB / 422.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.5185, allocations: 25.7 kB / 422.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.5186, allocations: 88 kB / 422.4 MB, free: 14.83 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.185e-05/0.5186, allocations: 3.984 kB / 422.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-06/0.5186, allocations: 4 kB / 422.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.5188, allocations: 318.7 kB / 422.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.5188, allocations: 4 kB / 422.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.758e-05/0.5189, allocations: 27.38 kB / 422.8 MB, free: 14.46 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.449e-05/0.5189, allocations: 16.89 kB / 422.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.793e-06/0.519, allocations: 4 kB / 422.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001177/0.5191, allocations: 49.52 kB / 422.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.5191, allocations: 4 kB / 422.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.251e-06/0.5191, allocations: 4 kB / 422.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.5192, allocations: 0 / 422.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.973e-05/0.5192, allocations: 7.938 kB / 422.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.5192, allocations: 4 kB / 422.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.877e-05/0.5193, allocations: 0 / 422.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.5193, allocations: 8.125 kB / 422.9 MB, free: 14.37 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.589e-05/0.5194, allocations: 104.8 kB / 423 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.5195, allocations: 49.53 kB / 423 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.5196, allocations: 15.84 kB / 423 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.813e-06/0.5196, allocations: 0 / 423 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.49e-06/0.5196, allocations: 3.953 kB / 423 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.23e-06/0.5196, allocations: 4 kB / 423 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.5199, allocations: 165.3 kB / 423.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.456e-06/0.5199, allocations: 0 / 423.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.09e-05/0.5199, allocations: 0 / 423.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.5199, allocations: 4 kB / 423.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.5199, allocations: 4 kB / 423.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.325e-06/0.5199, allocations: 0.5469 kB / 423.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.986e-06/0.5199, allocations: 0 / 423.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.5201, allocations: 173.6 kB / 423.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.462e-05/0.5202, allocations: 88.95 kB / 423.5 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.5203, allocations: 11.98 kB / 423.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.792e-05/0.5204, allocations: 0 / 423.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.5204, allocations: 3.953 kB / 423.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.122e-06/0.5204, allocations: 8 kB / 423.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.911e-05/0.5206, allocations: 109.3 kB / 423.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.55e-07/0.5206, allocations: 0 / 423.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003083/0.5209, allocations: 4 kB / 423.6 MB, free: 13.56 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001286/0.521, allocations: 103.2 kB / 423.7 MB, free: 13.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.995e-05/0.5211, allocations: 19.12 kB / 423.7 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.701e-06/0.5212, allocations: 0 / 423.7 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.761e-05/0.5212, allocations: 3.375 kB / 423.7 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.5215, allocations: 22.77 kB / 423.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002982/0.5218, allocations: 100.3 kB / 423.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.5222, allocations: 0.6967 MB / 424.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.372e-05/0.5222, allocations: 4 kB / 424.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.5223, allocations: 11.44 kB / 424.6 MB, free: 12.56 MB / 346.7 MB Notification: Performance of SimCode: time 3.765e-06/0.5223, allocations: 0 / 424.6 MB, free: 12.56 MB / 346.7 MB Notification: Performance of Templates: time 0.003002/0.5253, allocations: 437.9 kB / 425 MB, free: 12.15 MB / 346.7 MB