Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") Notification: Performance of loadModel(Modelica): time 2.106/2.106, allocations: 225.8 MB / 239.4 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.256e-05/3.272e-05, allocations: 4 kB / 292.7 MB, free: 8.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08948/0.08954, allocations: 50.41 MB / 343.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3736/0.4632, allocations: 81.85 MB / 424.9 MB, free: 12.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.4635, allocations: 81.14 kB / 425 MB, free: 12.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03847/0.502, allocations: 8.82 MB / 433.8 MB, free: 5.062 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.486e-06/0.5021, allocations: 4 kB / 433.8 MB, free: 5.059 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.63e-05/0.5021, allocations: 4 kB / 433.8 MB, free: 5.055 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007814/0.5029, allocations: 0.5002 MB / 434.3 MB, free: 4.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.503, allocations: 8.031 kB / 434.3 MB, free: 4.512 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.814e-05/0.503, allocations: 31.58 kB / 434.4 MB, free: 4.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005205/0.5036, allocations: 277.8 kB / 434.6 MB, free: 4.195 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.5036, allocations: 7.625 kB / 434.7 MB, free: 4.191 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.5037, allocations: 15.94 kB / 434.7 MB, free: 4.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006244/0.5043, allocations: 284 kB / 434.9 MB, free: 3.938 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.5043, allocations: 0 / 434.9 MB, free: 3.938 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.5044, allocations: 7.953 kB / 435 MB, free: 3.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.973e-06/0.5044, allocations: 0 / 435 MB, free: 3.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.5046, allocations: 64.42 kB / 435 MB, free: 3.887 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006965/0.5053, allocations: 390.2 kB / 435.4 MB, free: 3.496 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003713/0.5057, allocations: 169.5 kB / 435.6 MB, free: 3.344 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.5059, allocations: 79.66 kB / 435.6 MB, free: 3.277 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.5059, allocations: 7.984 kB / 435.7 MB, free: 3.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.5061, allocations: 77.52 kB / 435.7 MB, free: 3.195 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.387e-06/0.5061, allocations: 0 / 435.7 MB, free: 3.195 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004738/0.5066, allocations: 172.1 kB / 435.9 MB, free: 3.051 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.5068, allocations: 148.1 kB / 436 MB, free: 2.879 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.5072, allocations: 250.5 kB / 436.3 MB, free: 2.676 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.5072, allocations: 29.2 kB / 436.3 MB, free: 2.645 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.5073, allocations: 118 kB / 436.4 MB, free: 2.543 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.939e-05/0.5074, allocations: 35.14 kB / 436.5 MB, free: 2.516 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-06/0.5074, allocations: 3.062 kB / 436.5 MB, free: 2.516 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.5076, allocations: 332.7 kB / 436.8 MB, free: 2.191 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-05/0.5077, allocations: 35.03 kB / 436.8 MB, free: 2.164 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.5079, allocations: 159.9 kB / 437 MB, free: 1.969 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.5081, allocations: 64 kB / 437 MB, free: 1.918 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.617e-06/0.5081, allocations: 0 / 437 MB, free: 1.918 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004747/0.5086, allocations: 215.1 kB / 437.3 MB, free: 1.734 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.5086, allocations: 8 kB / 437.3 MB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.5087, allocations: 4 kB / 437.3 MB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.5087, allocations: 8 kB / 437.3 MB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.5088, allocations: 19.92 kB / 437.3 MB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/0.5089, allocations: 12.47 kB / 437.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.5091, allocations: 22.56 kB / 437.3 MB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.5091, allocations: 8.125 kB / 437.3 MB, free: 1.66 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition1,$PRE.table1.combiTimeTable.nextTimeEvent,sample1.u,table1.combiTimeTable.nextTimeEvent,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEventScaled,and1.y,and1.u2,and1.u1,upSample2.u_super,upSample2.b_super,$CLKPRE.upSample2.b_super,upSample2.y,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.y,upSample2.b,$CLKPRE.upSample2.b,upSample2.dummy,upSample2.u,upSample1.b,$CLKPRE.upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001515/0.5093, allocations: 140 kB / 437.5 MB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002908/0.5096, allocations: 120.5 kB / 437.6 MB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003026/0.5099, allocations: 119.4 kB / 437.7 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.797e-06/0.5099, allocations: 0 / 437.7 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.308e-06/0.5099, allocations: 4 kB / 437.7 MB, free: 1.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.82e-06/0.51, allocations: 7.984 kB / 437.7 MB, free: 1.312 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.5103, allocations: 250.3 kB / 438 MB, free: 1.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.021e-06/0.5103, allocations: 0 / 438 MB, free: 1.051 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.279e-05/0.5104, allocations: 12.12 kB / 438 MB, free: 1.039 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-05/0.5104, allocations: 7.938 kB / 438 MB, free: 1.031 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.5104, allocations: 10.94 kB / 438 MB, free: 1.023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.88e-06/0.5105, allocations: 0 / 438 MB, free: 1.023 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.892e-06/0.5105, allocations: 240 / 438 MB, free: 1.023 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000461/0.5109, allocations: 265.1 kB / 438.3 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.5111, allocations: 115.6 kB / 438.4 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.327e-05/0.5112, allocations: 7.875 kB / 438.4 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.5113, allocations: 11.8 kB / 438.4 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.5114, allocations: 4 kB / 438.4 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.5115, allocations: 7.984 kB / 438.4 MB, free: 0.625 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000287/0.5118, allocations: 203 kB / 438.6 MB, free: 472 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.055e-06/0.5118, allocations: 0 / 438.6 MB, free: 472 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004704/0.5122, allocations: 55.22 kB / 438.6 MB, free: 424 kB / 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: 20 ($whenCondition1,sample1.u,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00166/0.5139, allocations: 435.6 kB / 439.1 MB, free: 108 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004194/0.5144, allocations: 135.4 kB / 439.2 MB, free: 4 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.141e-06/0.5144, allocations: 0 / 439.2 MB, free: 4 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.5145, allocations: 24.3 kB / 439.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005428/0.5151, allocations: 101.3 kB / 439.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007407/0.5158, allocations: 287 kB / 439.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/0.5163, allocations: 0.756 MB / 440.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000151/0.5165, allocations: 42.31 kB / 440.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.68e-05/0.5166, allocations: 31.36 kB / 440.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of SimCode: time 1.936e-06/0.5166, allocations: 0 / 440.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of Templates: time 0.009349/0.5259, allocations: 2.819 MB / 443.3 MB, free: 12 MB / 362.7 MB