Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") Notification: Performance of loadModel(Modelica): time 2.216/2.216, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.892e-05/2.883e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 50.41 MB / 345 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.002519/0.1107, allocations: 1.433 MB / 346.4 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.1122, allocations: 0.5418 MB / 347 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.1124, allocations: 11.94 kB / 347 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.1126, allocations: 11.92 kB / 347 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.1128, allocations: 35.81 kB / 347 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005711/0.1134, allocations: 103.7 kB / 347.1 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.1136, allocations: 67.86 kB / 347.2 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1137, allocations: 15.98 kB / 347.2 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.1139, allocations: 55.84 kB / 347.3 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.1141, allocations: 83.78 kB / 347.3 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.9e-05/0.1142, allocations: 8 kB / 347.3 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.258e-05/0.1142, allocations: 4 kB / 347.3 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.1143, allocations: 59.81 kB / 347.4 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.651e-05/0.1144, allocations: 8 kB / 347.4 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.1146, allocations: 136 kB / 347.5 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1146, allocations: 0 / 347.5 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1147, allocations: 3.938 kB / 347.5 MB, free: 6.363 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.1147, allocations: 3.938 kB / 347.6 MB, free: 6.359 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.0009708/0.1157, allocations: 462.9 kB / 348 MB, free: 5.859 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.1157, allocations: 8.031 kB / 348 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.867e-05/0.1158, allocations: 27.67 kB / 348 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.1162, allocations: 242.6 kB / 348.3 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.399e-05/0.1163, allocations: 15.95 kB / 348.3 MB, free: 5.531 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.1163, allocations: 16 kB / 348.3 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.118, allocations: 0.6261 MB / 348.9 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.1181, allocations: 3.953 kB / 348.9 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.1181, allocations: 8 kB / 348.9 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-05/0.1182, allocations: 15.98 kB / 349 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006987/0.1189, allocations: 191.8 kB / 349.1 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006292/0.1195, allocations: 366.3 kB / 349.5 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007136/0.1202, allocations: 239.7 kB / 349.7 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.906e-05/0.1203, allocations: 12 kB / 349.8 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.1204, allocations: 46.5 kB / 349.8 MB, free: 3.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=39): time 5.61e-06/0.1204, allocations: 3.984 kB / 349.8 MB, free: 3.906 MB / 282.7 MB Notification: Performance of matching and sorting (n=39): time 0.001447/0.1218, allocations: 421.8 kB / 350.2 MB, free: 3.488 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/0.122, allocations: 134.7 kB / 350.3 MB, free: 3.332 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.1223, allocations: 150.6 kB / 350.5 MB, free: 3.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.1223, allocations: 33.7 kB / 350.5 MB, free: 3.141 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.986e-05/0.1224, allocations: 167.5 kB / 350.7 MB, free: 2.977 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.643e-05/0.1225, allocations: 43.62 kB / 350.7 MB, free: 2.934 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.1225, allocations: 4 kB / 350.7 MB, free: 2.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1227, allocations: 326.8 kB / 351.1 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.1229, allocations: 80.77 kB / 351.1 MB, free: 2.523 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004421/0.1234, allocations: 318.7 kB / 351.4 MB, free: 2.086 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003992/0.1238, allocations: 135.9 kB / 351.6 MB, free: 1.953 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.1238, allocations: 0 / 351.6 MB, free: 1.953 MB / 282.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009757/0.1248, allocations: 400.9 kB / 352 MB, free: 1.555 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.1249, allocations: 15.89 kB / 352 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.1249, allocations: 12.84 kB / 352 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.737e-05/0.1249, allocations: 19.94 kB / 352 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/0.1254, allocations: 87.83 kB / 352.1 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.79e-05/0.1255, allocations: 15.94 kB / 352.1 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.1257, allocations: 39.69 kB / 352.2 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/0.1258, allocations: 24 kB / 352.2 MB, free: 1.344 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.0002586/0.1261, allocations: 165.6 kB / 352.3 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008461/0.1269, allocations: 298.2 kB / 352.6 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.127, allocations: 38.61 kB / 352.7 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.1271, allocations: 4 kB / 352.7 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1271, allocations: 4 kB / 352.7 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.1271, allocations: 11.92 kB / 352.7 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.1274, allocations: 237.4 kB / 352.9 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.1275, allocations: 0 / 352.9 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005581/0.128, allocations: 67.89 kB / 353 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.128, allocations: 4 kB / 353 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/0.1281, allocations: 4 kB / 353 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.378e-06/0.1281, allocations: 7.953 kB / 353 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1281, allocations: 0 / 353 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.1292, allocations: 467 kB / 353.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.1294, allocations: 140.7 kB / 353.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.679e-05/0.1295, allocations: 19.98 kB / 353.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.1297, allocations: 12 kB / 353.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.1298, allocations: 7.984 kB / 353.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/0.1298, allocations: 8 kB / 353.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001524/0.13, allocations: 127.2 kB / 353.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.13, allocations: 0 / 353.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005302/0.1306, allocations: 52 kB / 353.8 MB, free: 15.59 MB / 298.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.0001651/0.1307, allocations: 107.2 kB / 353.9 MB, free: 15.47 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009314/0.1317, allocations: 297.8 kB / 354.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.1317, allocations: 4.062 kB / 354.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.035e-05/0.1318, allocations: 8 kB / 354.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009186/0.1327, allocations: 205.3 kB / 354.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.1349, allocations: 0.6354 MB / 355.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/0.1353, allocations: 0.7881 MB / 355.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.1355, allocations: 27.42 kB / 355.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of SimCode: time 1.443e-06/0.1355, allocations: 0 / 355.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of Templates: time 0.007744/0.1433, allocations: 2.876 MB / 358.8 MB, free: 10.59 MB / 298.7 MB