Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|add.y|sample.y|upSample1.y|upSample2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1") Notification: Performance of loadModel(Modelica_Synchronous): time 2.553/2.553, allocations: 218.4 MB / 234.2 MB, free: 4.621 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.328e-05/4.32e-05, allocations: 8 kB / 287.6 MB, free: 15.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3606, allocations: 50.36 MB / 338 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1): time 0.002667/0.3634, allocations: 1.428 MB / 339.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.3647, allocations: 0.5194 MB / 339.9 MB, free: 13.89 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.3648, allocations: 7.938 kB / 339.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.193e-05/0.3649, allocations: 3.938 kB / 339.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.3651, allocations: 15.97 kB / 339.9 MB, free: 13.86 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005187/0.3656, allocations: 67.8 kB / 340 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.3657, allocations: 51.88 kB / 340.1 MB, free: 13.74 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.3659, allocations: 15.92 kB / 340.1 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.366, allocations: 35.86 kB / 340.1 MB, free: 13.69 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.947e-05/0.3661, allocations: 39.83 kB / 340.2 MB, free: 13.65 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.167e-05/0.3661, allocations: 0 / 340.2 MB, free: 13.65 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.3662, allocations: 4 kB / 340.2 MB, free: 13.65 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.3662, allocations: 19.92 kB / 340.2 MB, free: 13.63 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.3663, allocations: 4 kB / 340.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.3664, allocations: 71.86 kB / 340.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.3664, allocations: 0 / 340.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3664, allocations: 0 / 340.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.3665, allocations: 0 / 340.3 MB, free: 13.55 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006451/0.3671, allocations: 392.9 kB / 340.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3672, allocations: 8.031 kB / 340.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.3672, allocations: 19.81 kB / 340.7 MB, free: 13.1 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.3676, allocations: 214.7 kB / 340.9 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.643e-05/0.3676, allocations: 12 kB / 340.9 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.3677, allocations: 11.94 kB / 340.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007399/0.3684, allocations: 265.4 kB / 341.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3684, allocations: 7.938 kB / 341.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.3685, allocations: 8 kB / 341.2 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.3685, allocations: 0 / 341.2 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.3687, allocations: 51.97 kB / 341.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.3692, allocations: 306.5 kB / 341.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.3696, allocations: 127.9 kB / 341.6 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.725e-05/0.3696, allocations: 12.23 kB / 341.7 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.3697, allocations: 42.56 kB / 341.7 MB, free: 11.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 2.044e-06/0.3697, allocations: 0 / 341.7 MB, free: 11.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006416/0.3703, allocations: 173.3 kB / 341.9 MB, free: 11.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.3705, allocations: 119.1 kB / 342 MB, free: 11.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.3706, allocations: 141.4 kB / 342.1 MB, free: 11.44 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.3707, allocations: 25.7 kB / 342.1 MB, free: 11.41 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.898e-05/0.3708, allocations: 170.4 kB / 342.3 MB, free: 11.24 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.3708, allocations: 15.84 kB / 342.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-06/0.3708, allocations: 0 / 342.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.371, allocations: 330.8 kB / 342.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.3711, allocations: 28.36 kB / 342.7 MB, free: 10.87 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.3713, allocations: 131.3 kB / 342.8 MB, free: 10.69 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.3715, allocations: 55.92 kB / 342.9 MB, free: 10.63 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.3715, allocations: 0 / 342.9 MB, free: 10.63 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004874/0.372, allocations: 177.4 kB / 343 MB, free: 10.45 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.3721, allocations: 9.719 kB / 343 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.3721, allocations: 4 kB / 343.1 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.3721, allocations: 4 kB / 343.1 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.3724, allocations: 35.92 kB / 343.1 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.3724, allocations: 4 kB / 343.1 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.3725, allocations: 12.34 kB / 343.1 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.3726, allocations: 16 kB / 343.1 MB, free: 10.37 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 (upSample2.b_super,$CLKPRE.upSample2.b_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample2.b,$CLKPRE.upSample2.b,upSample1.b,$CLKPRE.upSample1.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001608/0.3727, allocations: 141.7 kB / 343.3 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002905/0.373, allocations: 125.3 kB / 343.4 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.004e-05/0.3731, allocations: 16.72 kB / 343.4 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.3731, allocations: 0 / 343.4 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3731, allocations: 7.938 kB / 343.4 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.3731, allocations: 3.984 kB / 343.4 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.3734, allocations: 201.4 kB / 343.6 MB, free: 9.816 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3735, allocations: 0 / 343.6 MB, free: 9.816 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.3737, allocations: 27.98 kB / 343.6 MB, free: 9.789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.3737, allocations: 4 kB / 343.6 MB, free: 9.785 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.3737, allocations: 7.984 kB / 343.6 MB, free: 9.777 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/0.3737, allocations: 4 kB / 343.6 MB, free: 9.773 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3737, allocations: 0 / 343.6 MB, free: 9.773 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004829/0.3742, allocations: 276.4 kB / 343.9 MB, free: 9.469 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.3744, allocations: 108.9 kB / 344 MB, free: 9.344 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.3744, allocations: 4 kB / 344 MB, free: 9.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.3746, allocations: 4 kB / 344 MB, free: 9.336 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.3746, allocations: 4 kB / 344 MB, free: 9.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.3746, allocations: 7.984 kB / 344 MB, free: 9.324 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001191/0.3748, allocations: 115.3 kB / 344.2 MB, free: 9.211 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3748, allocations: 7.938 kB / 344.2 MB, free: 9.203 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003637/0.3752, allocations: 20 kB / 344.2 MB, free: 9.184 MB / 282.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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.00015/0.3753, allocations: 107.5 kB / 344.3 MB, free: 9.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003819/0.3757, allocations: 112.7 kB / 344.4 MB, free: 8.961 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3757, allocations: 0 / 344.4 MB, free: 8.961 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.847e-05/0.3758, allocations: 8 kB / 344.4 MB, free: 8.953 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.3763, allocations: 83.3 kB / 344.5 MB, free: 8.875 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007166/0.3771, allocations: 329.5 kB / 344.8 MB, free: 8.516 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.3775, allocations: 0.7283 MB / 345.5 MB, free: 7.762 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.258e-05/0.3776, allocations: 19.42 kB / 345.6 MB, free: 7.742 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.3776, allocations: 0 / 345.6 MB, free: 7.742 MB / 282.7 MB Notification: Performance of Templates: time 0.004306/0.3819, allocations: 1.436 MB / 347 MB, free: 6.309 MB / 282.7 MB