Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") Notification: Performance of loadModel(Modelica): time 2.014/2.014, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.408e-05/4.445e-05, allocations: 4 kB / 292.2 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1383, allocations: 50.41 MB / 342.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4291/0.5675, allocations: 81.93 MB / 424.5 MB, free: 12.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004154/0.568, allocations: 79.77 kB / 424.6 MB, free: 12.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04324/0.6112, allocations: 9.036 MB / 433.6 MB, free: 4.727 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.362e-06/0.6113, allocations: 0 / 433.6 MB, free: 4.727 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.156e-05/0.6113, allocations: 8 kB / 433.6 MB, free: 4.719 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.0008893/0.6122, allocations: 0.5279 MB / 434.1 MB, free: 4.156 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.6123, allocations: 8.031 kB / 434.1 MB, free: 4.148 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.9e-05/0.6124, allocations: 31.62 kB / 434.2 MB, free: 4.117 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006235/0.6131, allocations: 302.5 kB / 434.5 MB, free: 3.805 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.6131, allocations: 13.98 kB / 434.5 MB, free: 3.797 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.6132, allocations: 11.62 kB / 434.5 MB, free: 3.789 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006903/0.6139, allocations: 317.7 kB / 434.8 MB, free: 3.516 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.6139, allocations: 0 / 434.8 MB, free: 3.516 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.6139, allocations: 7.391 kB / 434.8 MB, free: 3.512 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.6139, allocations: 4 kB / 434.8 MB, free: 3.508 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.6141, allocations: 68.22 kB / 434.9 MB, free: 3.461 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008423/0.615, allocations: 434.3 kB / 435.3 MB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/0.6154, allocations: 185.2 kB / 435.5 MB, free: 2.871 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.6156, allocations: 88.19 kB / 435.6 MB, free: 2.801 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/0.6157, allocations: 8 kB / 435.6 MB, free: 2.793 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.6159, allocations: 79.25 kB / 435.7 MB, free: 2.715 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 6.291e-06/0.6159, allocations: 3.984 kB / 435.7 MB, free: 2.711 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005483/0.6165, allocations: 194.5 kB / 435.9 MB, free: 2.551 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.6166, allocations: 168.5 kB / 436 MB, free: 2.355 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005222/0.6172, allocations: 320.9 kB / 436.3 MB, free: 2.102 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.6172, allocations: 29.52 kB / 436.4 MB, free: 2.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.6174, allocations: 133 kB / 436.5 MB, free: 1.969 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.798e-05/0.6174, allocations: 34.27 kB / 436.5 MB, free: 1.941 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.6175, allocations: 7.562 kB / 436.5 MB, free: 1.938 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.6176, allocations: 337.9 kB / 436.9 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.6178, allocations: 39.27 kB / 436.9 MB, free: 1.578 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.618, allocations: 189.3 kB / 437.1 MB, free: 1.352 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.6182, allocations: 69.34 kB / 437.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.436e-06/0.6182, allocations: 0 / 437.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005335/0.6188, allocations: 224.1 kB / 437.4 MB, free: 1.105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.6188, allocations: 8 kB / 437.4 MB, free: 1.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.6188, allocations: 4 kB / 437.4 MB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.6189, allocations: 4 kB / 437.4 MB, free: 1.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.6191, allocations: 47.22 kB / 437.4 MB, free: 1.047 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/0.6192, allocations: 7.938 kB / 437.4 MB, free: 1.039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.6194, allocations: 16.19 kB / 437.5 MB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.6194, allocations: 16 kB / 437.5 MB, free: 1.012 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.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,sum.y,sum.u[2],sum.u[1],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.0001724/0.6196, allocations: 134.2 kB / 437.6 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/0.6199, allocations: 134.9 kB / 437.7 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003518/0.6203, allocations: 138.5 kB / 437.9 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.546e-06/0.6203, allocations: 0 / 437.9 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.758e-06/0.6203, allocations: 4 kB / 437.9 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.191e-06/0.6203, allocations: 3.984 kB / 437.9 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.6207, allocations: 277.1 kB / 438.1 MB, free: 368 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.829e-06/0.6207, allocations: 0 / 438.1 MB, free: 368 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.621, allocations: 31.92 kB / 438.2 MB, free: 336 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.837e-06/0.621, allocations: 0 / 438.2 MB, free: 336 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.621, allocations: 11.45 kB / 438.2 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.6211, allocations: 0 / 438.2 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.796e-06/0.6211, allocations: 4.125 kB / 438.2 MB, free: 324 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005081/0.6216, allocations: 270.2 kB / 438.5 MB, free: 60 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.6218, allocations: 137.8 kB / 438.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.879e-05/0.6219, allocations: 6.625 kB / 438.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.6221, allocations: 11.17 kB / 438.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.6222, allocations: 7.938 kB / 438.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.6222, allocations: 14.8 kB / 438.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004006/0.6226, allocations: 243 kB / 438.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.6226, allocations: 4 kB / 438.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005719/0.6232, allocations: 65.98 kB / 438.9 MB, free: 15.64 MB / 362.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,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,sum.u[1],sum.u[2],sum.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.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.001559/0.6248, allocations: 441.3 kB / 439.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005195/0.6253, allocations: 156 kB / 439.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.897e-06/0.6254, allocations: 0 / 439.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.558e-05/0.6255, allocations: 26.81 kB / 439.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006376/0.6261, allocations: 120.2 kB / 439.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009212/0.6271, allocations: 350.8 kB / 440 MB, free: 14.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.6276, allocations: 0.7738 MB / 440.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001723/0.6278, allocations: 41.39 kB / 440.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.6279, allocations: 27.42 kB / 440.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of SimCode: time 1.949e-06/0.6279, allocations: 3.938 kB / 440.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of Templates: time 0.01043/0.6384, allocations: 3.318 MB / 444.2 MB, free: 10.62 MB / 362.7 MB