Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="FIR1.y|FIR2.y|Time|sample.y|superSampleIpo.y|upSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.586/2.586, allocations: 251.5 MB / 266 MB, free: 0.6641 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.09796/0.09796, allocations: 12.61 MB / 336.6 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.653e-05/3.644e-05, allocations: 4 kB / 399.8 MB, free: 15.45 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3879, allocations: 59.42 MB / 459.2 MB, free: 28.6 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2): time 0.002011/0.39, allocations: 1.431 MB / 460.6 MB, free: 27.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.3912, allocations: 0.5816 MB / 461.2 MB, free: 26.57 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.3913, allocations: 7.938 kB / 461.2 MB, free: 26.56 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.3915, allocations: 15.86 kB / 461.2 MB, free: 26.54 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.3917, allocations: 27.95 kB / 461.3 MB, free: 26.52 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.3922, allocations: 115.7 kB / 461.4 MB, free: 26.4 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.3924, allocations: 71.8 kB / 461.4 MB, free: 26.33 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.548e-05/0.3925, allocations: 19.92 kB / 461.5 MB, free: 26.31 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.3926, allocations: 39.91 kB / 461.5 MB, free: 26.27 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.3928, allocations: 87.72 kB / 461.6 MB, free: 26.19 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.346e-05/0.3928, allocations: 8 kB / 461.6 MB, free: 26.18 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.3929, allocations: 8 kB / 461.6 MB, free: 26.17 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.166e-05/0.393, allocations: 55.88 kB / 461.7 MB, free: 26.12 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.762e-05/0.393, allocations: 12 kB / 461.7 MB, free: 26.11 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.3932, allocations: 134.4 kB / 461.8 MB, free: 25.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.3932, allocations: 0 / 461.8 MB, free: 25.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3932, allocations: 4 kB / 461.8 MB, free: 25.97 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.3933, allocations: 0 / 461.8 MB, free: 25.97 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007795/0.394, allocations: 466.7 kB / 462.3 MB, free: 25.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3941, allocations: 12.03 kB / 462.3 MB, free: 25.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.627e-05/0.3942, allocations: 27.67 kB / 462.3 MB, free: 25.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.3945, allocations: 242.6 kB / 462.5 MB, free: 25.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.839e-05/0.3945, allocations: 19.95 kB / 462.6 MB, free: 25.13 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.364e-05/0.3946, allocations: 16 kB / 462.6 MB, free: 25.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.396, allocations: 0.6185 MB / 463.2 MB, free: 24.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.396, allocations: 4 kB / 463.2 MB, free: 24.47 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.3961, allocations: 7.953 kB / 463.2 MB, free: 24.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.62e-05/0.3961, allocations: 8 kB / 463.2 MB, free: 24.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000593/0.3967, allocations: 187.8 kB / 463.4 MB, free: 24.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004486/0.3972, allocations: 370.2 kB / 463.8 MB, free: 23.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005987/0.3978, allocations: 251.5 kB / 464 MB, free: 23.58 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-05/0.3978, allocations: 4.062 kB / 464 MB, free: 23.58 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.3979, allocations: 46.55 kB / 464 MB, free: 23.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=39): time 2.555e-06/0.3979, allocations: 7.938 kB / 464.1 MB, free: 23.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=39): time 0.001209/0.3991, allocations: 429.8 kB / 464.5 MB, free: 23.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.3992, allocations: 139.7 kB / 464.6 MB, free: 22.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.3994, allocations: 149.5 kB / 464.8 MB, free: 22.78 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.3994, allocations: 33.7 kB / 464.8 MB, free: 22.74 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.3995, allocations: 101.1 kB / 464.9 MB, free: 22.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.3995, allocations: 39.62 kB / 464.9 MB, free: 22.6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.685e-05/0.3996, allocations: 8 kB / 464.9 MB, free: 22.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3997, allocations: 338.9 kB / 465.3 MB, free: 22.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.3999, allocations: 72.83 kB / 465.3 MB, free: 22.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.4002, allocations: 322.7 kB / 465.7 MB, free: 21.74 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.4005, allocations: 135.8 kB / 465.8 MB, free: 21.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.4006, allocations: 4 kB / 465.8 MB, free: 21.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007961/0.4014, allocations: 405.5 kB / 466.2 MB, free: 21.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.4014, allocations: 8 kB / 466.2 MB, free: 21.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.4014, allocations: 12 kB / 466.2 MB, free: 21.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-05/0.4015, allocations: 19.95 kB / 466.2 MB, free: 21.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004435/0.4019, allocations: 83.84 kB / 466.3 MB, free: 21.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/0.4019, allocations: 15.92 kB / 466.3 MB, free: 21.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.4022, allocations: 35.75 kB / 466.4 MB, free: 21.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.4022, allocations: 24 kB / 466.4 MB, free: 21 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 13 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,FIR1.first,$CLKPRE.FIR1.first,FIR2.first,$CLKPRE.FIR2.first,upSample.b_super,$CLKPRE.upSample.b_super,superSampleIpo.first,$CLKPRE.superSampleIpo.first,upSample.b,$CLKPRE.upSample.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001716/0.4024, allocations: 173.5 kB / 466.6 MB, free: 20.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007061/0.4031, allocations: 293.5 kB / 466.8 MB, free: 20.53 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.273e-05/0.4032, allocations: 38.64 kB / 466.9 MB, free: 20.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.4032, allocations: 7.953 kB / 466.9 MB, free: 20.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.4033, allocations: 4 kB / 466.9 MB, free: 20.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.4033, allocations: 0 / 466.9 MB, free: 20.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.4035, allocations: 245.4 kB / 467.1 MB, free: 20.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4035, allocations: 0 / 467.1 MB, free: 20.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004991/0.4041, allocations: 63.91 kB / 467.2 MB, free: 20.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.4041, allocations: 11.94 kB / 467.2 MB, free: 20.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.4041, allocations: 7.984 kB / 467.2 MB, free: 20.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.4041, allocations: 4 kB / 467.2 MB, free: 20.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4041, allocations: 3.953 kB / 467.2 MB, free: 20.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008059/0.405, allocations: 467.2 kB / 467.7 MB, free: 19.62 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.4051, allocations: 136.7 kB / 467.8 MB, free: 19.46 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.617e-05/0.4052, allocations: 15.95 kB / 467.8 MB, free: 19.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.4054, allocations: 15.98 kB / 467.8 MB, free: 19.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.4055, allocations: 4 kB / 467.8 MB, free: 19.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.4055, allocations: 15.92 kB / 467.9 MB, free: 19.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.4056, allocations: 132.5 kB / 468 MB, free: 19.29 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4056, allocations: 4 kB / 468 MB, free: 19.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004988/0.4061, allocations: 52 kB / 468 MB, free: 19.23 MB / 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: 7 (upSample.b_super,FIR2.first,FIR1.first,superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.0001141/0.4063, allocations: 105 kB / 468.1 MB, free: 19.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007143/0.407, allocations: 292.7 kB / 468.4 MB, free: 18.84 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.407, allocations: 0 / 468.4 MB, free: 18.84 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.542e-05/0.4071, allocations: 15.92 kB / 468.4 MB, free: 18.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007679/0.4079, allocations: 205 kB / 468.6 MB, free: 18.62 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.4096, allocations: 0.6036 MB / 469.2 MB, free: 17.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.4099, allocations: 0.7803 MB / 470 MB, free: 17.18 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.853e-05/0.41, allocations: 26.28 kB / 470.1 MB, free: 17.15 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.901e-05/0.4101, allocations: 31.42 kB / 470.1 MB, free: 17.12 MB / 346.7 MB Notification: Performance of SimCode: time 8.31e-07/0.4101, allocations: 0 / 470.1 MB, free: 17.12 MB / 346.7 MB Notification: Performance of Templates: time 0.00733/0.4175, allocations: 2.298 MB / 472.4 MB, free: 14.83 MB / 346.7 MB