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_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2") Notification: Performance of loadModel(Modelica_Synchronous): time 2.511/2.511, allocations: 218.4 MB / 234.2 MB, free: 340 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.249e-05/4.245e-05, allocations: 4.531 kB / 287.6 MB, free: 8.453 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1383, allocations: 50.39 MB / 338 MB, free: 10.56 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2): time 0.002693/0.1411, allocations: 1.426 MB / 339.4 MB, free: 9.117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.1427, allocations: 0.5856 MB / 340 MB, free: 8.523 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.1429, allocations: 7.938 kB / 340 MB, free: 8.516 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.143, allocations: 3.938 kB / 340 MB, free: 8.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.1433, allocations: 39.81 kB / 340 MB, free: 8.473 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005966/0.1439, allocations: 99.69 kB / 340.1 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.1441, allocations: 67.86 kB / 340.2 MB, free: 8.309 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1442, allocations: 23.92 kB / 340.2 MB, free: 8.285 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1444, allocations: 47.89 kB / 340.3 MB, free: 8.238 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.1446, allocations: 83.78 kB / 340.4 MB, free: 8.156 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.803e-05/0.1447, allocations: 7.938 kB / 340.4 MB, free: 8.148 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.568e-05/0.1447, allocations: 8 kB / 340.4 MB, free: 8.141 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.1448, allocations: 55.89 kB / 340.4 MB, free: 8.086 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.1449, allocations: 8 kB / 340.4 MB, free: 8.078 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.1451, allocations: 135.9 kB / 340.6 MB, free: 7.945 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1452, allocations: 0 / 340.6 MB, free: 7.945 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1452, allocations: 0 / 340.6 MB, free: 7.945 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.1452, allocations: 4 kB / 340.6 MB, free: 7.941 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001006/0.1462, allocations: 466.8 kB / 341 MB, free: 7.438 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.1463, allocations: 8.031 kB / 341 MB, free: 7.43 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.519e-05/0.1464, allocations: 31.62 kB / 341.1 MB, free: 7.398 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.1468, allocations: 238.7 kB / 341.3 MB, free: 7.125 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.157e-05/0.1468, allocations: 16 kB / 341.3 MB, free: 7.109 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.617e-05/0.1469, allocations: 27.92 kB / 341.3 MB, free: 7.082 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.1487, allocations: 0.6257 MB / 342 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1487, allocations: 4 kB / 342 MB, free: 6.426 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.1488, allocations: 7.984 kB / 342 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-05/0.1488, allocations: 12 kB / 342 MB, free: 6.406 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007011/0.1496, allocations: 187.8 kB / 342.2 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006491/0.1502, allocations: 366.3 kB / 342.5 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007222/0.151, allocations: 243.5 kB / 342.8 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-05/0.151, allocations: 12.64 kB / 342.8 MB, free: 5.531 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.1511, allocations: 42.62 kB / 342.8 MB, free: 5.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=39): time 3.326e-06/0.1511, allocations: 0 / 342.8 MB, free: 5.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=39): time 0.001441/0.1526, allocations: 425.2 kB / 343.2 MB, free: 5.059 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/0.1527, allocations: 146.6 kB / 343.4 MB, free: 4.891 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.153, allocations: 154.6 kB / 343.5 MB, free: 4.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.1531, allocations: 29.7 kB / 343.6 MB, free: 4.695 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.1532, allocations: 159.6 kB / 343.7 MB, free: 4.539 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.863e-05/0.1532, allocations: 43.59 kB / 343.8 MB, free: 4.496 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.878e-05/0.1533, allocations: 8 kB / 343.8 MB, free: 4.488 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1534, allocations: 330.8 kB / 344.1 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.1537, allocations: 80.81 kB / 344.2 MB, free: 4.078 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/0.1541, allocations: 318.7 kB / 344.5 MB, free: 3.648 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.1545, allocations: 135.8 kB / 344.6 MB, free: 3.516 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.1545, allocations: 0 / 344.6 MB, free: 3.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000979/0.1555, allocations: 404.7 kB / 345 MB, free: 3.113 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.1555, allocations: 8.969 kB / 345 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.1556, allocations: 8 kB / 345 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.272e-05/0.1556, allocations: 16 kB / 345 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/0.1561, allocations: 87.83 kB / 345.1 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.423e-05/0.1561, allocations: 15.94 kB / 345.1 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.1564, allocations: 35.77 kB / 345.2 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.543e-05/0.1565, allocations: 24 kB / 345.2 MB, free: 2.922 MB / 282.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.0002681/0.1567, allocations: 173.5 kB / 345.4 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008754/0.1576, allocations: 302.2 kB / 345.7 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.1577, allocations: 30.66 kB / 345.7 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.1578, allocations: 8 kB / 345.7 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.1578, allocations: 3.984 kB / 345.7 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.1578, allocations: 4 kB / 345.7 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/0.1582, allocations: 245.3 kB / 345.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.1582, allocations: 3.984 kB / 346 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00052/0.1587, allocations: 59.91 kB / 346 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/0.1587, allocations: 0 / 346 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/0.1588, allocations: 12 kB / 346 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.148e-05/0.1588, allocations: 7.984 kB / 346 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.1588, allocations: 0 / 346 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.1599, allocations: 471 kB / 346.5 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.1601, allocations: 128.7 kB / 346.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.719e-05/0.1602, allocations: 27.98 kB / 346.6 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.1604, allocations: 11.98 kB / 346.7 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.1605, allocations: 8 kB / 346.7 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.286e-05/0.1606, allocations: 11.95 kB / 346.7 MB, free: 1.328 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001487/0.1607, allocations: 131.2 kB / 346.8 MB, free: 1.199 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1607, allocations: 0 / 346.8 MB, free: 1.199 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005698/0.1613, allocations: 52 kB / 346.9 MB, free: 1.148 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: 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.0001739/0.1615, allocations: 115.1 kB / 347 MB, free: 1.027 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009327/0.1624, allocations: 289.7 kB / 347.2 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1625, allocations: 8.125 kB / 347.3 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.34e-05/0.1626, allocations: 15.92 kB / 347.3 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009107/0.1635, allocations: 197.3 kB / 347.5 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.1657, allocations: 0.6278 MB / 348.1 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.1662, allocations: 0.792 MB / 348.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.1664, allocations: 23.44 kB / 348.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1664, allocations: 0 / 348.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of Templates: time 0.008227/0.1746, allocations: 2.852 MB / 351.8 MB, free: 12.18 MB / 298.7 MB