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.081/2.081, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.636e-05/3.653e-05, allocations: 8 kB / 284.3 MB, free: 8.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08561/0.08567, allocations: 50.35 MB / 334.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3712/0.4569, allocations: 78.94 MB / 413.6 MB, free: 15.31 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.4572, allocations: 81.25 kB / 413.7 MB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01761/0.4748, allocations: 4.147 MB / 417.8 MB, free: 11.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.121e-06/0.4749, allocations: 4 kB / 417.8 MB, free: 11.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.29e-05/0.4749, allocations: 4 kB / 417.8 MB, free: 11.82 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000525/0.4755, allocations: 392.2 kB / 418.2 MB, free: 11.4 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.4755, allocations: 8.031 kB / 418.2 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.4756, allocations: 15.81 kB / 418.3 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.4759, allocations: 213.6 kB / 418.5 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.4759, allocations: 10.83 kB / 418.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.476, allocations: 11.62 kB / 418.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000564/0.4765, allocations: 251.9 kB / 418.7 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.4766, allocations: 0 / 418.7 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.4766, allocations: 3.312 kB / 418.7 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.4766, allocations: 8 kB / 418.7 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.4768, allocations: 37.88 kB / 418.8 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.4773, allocations: 312.6 kB / 419.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.4775, allocations: 125.6 kB / 419.2 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.4777, allocations: 64.8 kB / 419.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.4778, allocations: 20.06 kB / 419.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.4778, allocations: 38 kB / 419.3 MB, free: 10.28 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.826e-06/0.4778, allocations: 4 kB / 419.3 MB, free: 10.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003569/0.4782, allocations: 116.5 kB / 419.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.4783, allocations: 117.6 kB / 419.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.4785, allocations: 139.6 kB / 419.7 MB, free: 9.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.4785, allocations: 32.98 kB / 419.7 MB, free: 9.875 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.4786, allocations: 157 kB / 419.9 MB, free: 9.727 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.4787, allocations: 19.05 kB / 419.9 MB, free: 9.711 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/0.4787, allocations: 6.438 kB / 419.9 MB, free: 9.707 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.4789, allocations: 317.8 kB / 420.2 MB, free: 9.391 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.166e-05/0.4789, allocations: 27 kB / 420.2 MB, free: 9.367 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.4791, allocations: 124.6 kB / 420.4 MB, free: 9.207 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.4792, allocations: 44.42 kB / 420.4 MB, free: 9.172 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.899e-06/0.4792, allocations: 4 kB / 420.4 MB, free: 9.168 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003273/0.4796, allocations: 145.6 kB / 420.6 MB, free: 9.039 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.4796, allocations: 16.08 kB / 420.6 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.892e-06/0.4796, allocations: 4 kB / 420.6 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.4796, allocations: 4.094 kB / 420.6 MB, free: 9.016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.4798, allocations: 38.8 kB / 420.6 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/0.4799, allocations: 11.94 kB / 420.6 MB, free: 8.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.48, allocations: 7.938 kB / 420.6 MB, free: 8.961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.48, allocations: 14.25 kB / 420.7 MB, free: 8.949 MB / 346.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.0001144/0.4802, allocations: 127.9 kB / 420.8 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/0.4805, allocations: 118.5 kB / 420.9 MB, free: 8.719 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.565e-05/0.4805, allocations: 22.73 kB / 420.9 MB, free: 8.707 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.84e-06/0.4805, allocations: 4 kB / 420.9 MB, free: 8.703 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.4806, allocations: 0 / 420.9 MB, free: 8.703 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.568e-06/0.4806, allocations: 4 kB / 420.9 MB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.4809, allocations: 203.6 kB / 421.1 MB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.06e-06/0.4809, allocations: 0 / 421.1 MB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.481, allocations: 27.42 kB / 421.1 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.862e-06/0.4811, allocations: 0 / 421.1 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.4811, allocations: 4 kB / 421.2 MB, free: 8.438 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.036e-06/0.4811, allocations: 7.938 kB / 421.2 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.541e-06/0.4811, allocations: 0 / 421.2 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.4815, allocations: 263.7 kB / 421.4 MB, free: 8.168 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.4816, allocations: 104.3 kB / 421.5 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.4817, allocations: 11.98 kB / 421.5 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.4818, allocations: 7.812 kB / 421.5 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.4818, allocations: 0 / 421.5 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.4819, allocations: 8 kB / 421.5 MB, free: 8.031 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001094/0.482, allocations: 113.9 kB / 421.7 MB, free: 7.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.87e-07/0.482, allocations: 0 / 421.7 MB, free: 7.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003948/0.4824, allocations: 19.81 kB / 421.7 MB, free: 7.914 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: 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.0001344/0.4826, allocations: 106.9 kB / 421.8 MB, free: 7.805 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.4828, allocations: 89.94 kB / 421.9 MB, free: 7.734 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.778e-06/0.4828, allocations: 0 / 421.9 MB, free: 7.734 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.537e-05/0.4829, allocations: 3.938 kB / 421.9 MB, free: 7.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.4833, allocations: 81.52 kB / 422 MB, free: 7.668 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004903/0.4838, allocations: 205.5 kB / 422.2 MB, free: 7.457 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.4842, allocations: 0.7282 MB / 422.9 MB, free: 6.707 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.4843, allocations: 15.44 kB / 422.9 MB, free: 6.691 MB / 346.7 MB Notification: Performance of SimCode: time 1.55e-06/0.4843, allocations: 0 / 422.9 MB, free: 6.691 MB / 346.7 MB Notification: Performance of Templates: time 0.003649/0.488, allocations: 1.414 MB / 424.3 MB, free: 5.289 MB / 346.7 MB