Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|and1.y|sample.y|upSample1.y|upSample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.UpSample") Notification: Performance of loadModel(Modelica_Synchronous): time 2.079/2.079, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.519e-05/3.537e-05, allocations: 6.031 kB / 284.3 MB, free: 8.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08882/0.08888, allocations: 50.37 MB / 334.7 MB, free: 5.738 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3645/0.4535, allocations: 82.42 MB / 417.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.4537, allocations: 80.95 kB / 417.2 MB, free: 11.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0416/0.4953, allocations: 8.387 MB / 425.6 MB, free: 4.887 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.166e-06/0.4954, allocations: 4 kB / 425.6 MB, free: 4.883 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.001e-05/0.4954, allocations: 7.984 kB / 425.6 MB, free: 4.875 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.0007795/0.4962, allocations: 0.4927 MB / 426.1 MB, free: 4.348 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/0.4963, allocations: 8.031 kB / 426.1 MB, free: 4.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.409e-05/0.4964, allocations: 27.66 kB / 426.1 MB, free: 4.312 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000535/0.497, allocations: 279.4 kB / 426.4 MB, free: 4.023 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.497, allocations: 11.88 kB / 426.4 MB, free: 4.016 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.4971, allocations: 19.2 kB / 426.4 MB, free: 4 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006666/0.4977, allocations: 278.9 kB / 426.7 MB, free: 3.762 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.4978, allocations: 0 / 426.7 MB, free: 3.762 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.4978, allocations: 7.812 kB / 426.7 MB, free: 3.758 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.694e-06/0.4978, allocations: 7.938 kB / 426.7 MB, free: 3.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.498, allocations: 56.92 kB / 426.8 MB, free: 3.711 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007416/0.4988, allocations: 389.2 kB / 427.2 MB, free: 3.324 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/0.4992, allocations: 168.5 kB / 427.3 MB, free: 3.168 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.4994, allocations: 93.88 kB / 427.4 MB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.4994, allocations: 3.938 kB / 427.4 MB, free: 3.086 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.4996, allocations: 77.92 kB / 427.5 MB, free: 3.008 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 4.227e-06/0.4996, allocations: 0 / 427.5 MB, free: 3.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004928/0.5001, allocations: 178.4 kB / 427.7 MB, free: 2.859 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.5003, allocations: 150.5 kB / 427.8 MB, free: 2.688 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000385/0.5007, allocations: 240.2 kB / 428.1 MB, free: 2.492 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.5007, allocations: 28.45 kB / 428.1 MB, free: 2.461 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.5009, allocations: 124.8 kB / 428.2 MB, free: 2.355 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.5009, allocations: 30.45 kB / 428.2 MB, free: 2.332 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.921e-06/0.5009, allocations: 3.125 kB / 428.2 MB, free: 2.332 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.5011, allocations: 336.9 kB / 428.6 MB, free: 2.004 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.986e-05/0.5012, allocations: 39.7 kB / 428.6 MB, free: 1.973 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.5015, allocations: 168.3 kB / 428.8 MB, free: 1.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.5016, allocations: 59.5 kB / 428.8 MB, free: 1.727 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.377e-06/0.5016, allocations: 0 / 428.8 MB, free: 1.727 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004795/0.5021, allocations: 201.5 kB / 429 MB, free: 1.555 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.5022, allocations: 11.94 kB / 429 MB, free: 1.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.5022, allocations: 4 kB / 429 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.5022, allocations: 8 kB / 429 MB, free: 1.531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.5024, allocations: 20.45 kB / 429.1 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.5024, allocations: 12 kB / 429.1 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.5026, allocations: 18.91 kB / 429.1 MB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.5027, allocations: 19.52 kB / 429.1 MB, free: 1.469 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,sample.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,sample.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.0001483/0.5028, allocations: 129.1 kB / 429.2 MB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002716/0.5031, allocations: 127 kB / 429.4 MB, free: 1.234 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003074/0.5034, allocations: 117.4 kB / 429.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.5035, allocations: 4 kB / 429.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.755e-06/0.5035, allocations: 4 kB / 429.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.866e-06/0.5035, allocations: 0 / 429.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.5038, allocations: 252.5 kB / 429.7 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.866e-06/0.5038, allocations: 128 / 429.7 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.82e-05/0.5039, allocations: 15.12 kB / 429.7 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.5039, allocations: 0 / 429.7 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.504, allocations: 11.92 kB / 429.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.596e-06/0.504, allocations: 3.938 kB / 429.8 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.487e-06/0.504, allocations: 4 kB / 429.8 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.5045, allocations: 250 kB / 430 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.5046, allocations: 123.8 kB / 430.1 MB, free: 476 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/0.5047, allocations: 4 kB / 430.1 MB, free: 472 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.5049, allocations: 11.8 kB / 430.1 MB, free: 464 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.5049, allocations: 7.953 kB / 430.2 MB, free: 456 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.505, allocations: 15.88 kB / 430.2 MB, free: 444 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000283/0.5053, allocations: 193.3 kB / 430.4 MB, free: 284 kB / 346.7 MB Notification: Performance of sort global known variables: time 7.45e-07/0.5053, allocations: 0 / 430.4 MB, free: 284 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004885/0.5058, allocations: 51.17 kB / 430.4 MB, free: 240 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,sample.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,sample.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.001508/0.5073, allocations: 418.2 kB / 430.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004302/0.5077, allocations: 133.7 kB / 430.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.533e-06/0.5078, allocations: 0 / 430.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.512e-05/0.5079, allocations: 23.06 kB / 431 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005522/0.5084, allocations: 108.2 kB / 431.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007567/0.5092, allocations: 308.7 kB / 431.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.5097, allocations: 0.7554 MB / 432.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001422/0.5099, allocations: 30.06 kB / 432.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.799e-05/0.51, allocations: 26 kB / 432.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of SimCode: time 1.751e-06/0.51, allocations: 0 / 432.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of Templates: time 0.009386/0.5194, allocations: 2.839 MB / 435 MB, free: 11.73 MB / 362.7 MB