Running command: translateModel(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.CompareSincExpSine") Notification: Performance of loadModel(Modelica): time 2.056/2.056, allocations: 224.7 MB / 241.1 MB, free: 1.695 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.899e-05/2.893e-05, allocations: 4 kB / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1059, allocations: 50.41 MB / 345 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.001969/0.1079, allocations: 1.184 MB / 346.1 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007944/0.1088, allocations: 359.7 kB / 346.5 MB, free: 7.414 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.588e-05/0.1088, allocations: 0 / 346.5 MB, free: 7.414 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.116e-05/0.1089, allocations: 0 / 346.5 MB, free: 7.414 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.109, allocations: 27.89 kB / 346.5 MB, free: 7.387 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001173/0.1091, allocations: 11.97 kB / 346.5 MB, free: 7.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.069e-05/0.1092, allocations: 35.94 kB / 346.6 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.038e-05/0.1093, allocations: 4 kB / 346.6 MB, free: 7.336 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.1094, allocations: 23.92 kB / 346.6 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.431e-05/0.1095, allocations: 27.91 kB / 346.6 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.152e-05/0.1096, allocations: 4 kB / 346.6 MB, free: 7.281 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.1096, allocations: 4 kB / 346.6 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.477e-05/0.1096, allocations: 15.91 kB / 346.6 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.1096, allocations: 4 kB / 346.7 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.762e-05/0.1097, allocations: 27.94 kB / 346.7 MB, free: 7.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1098, allocations: 3.938 kB / 346.7 MB, free: 7.227 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1098, allocations: 0 / 346.7 MB, free: 7.227 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.088e-06/0.1098, allocations: 4 kB / 346.7 MB, free: 7.223 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008653/0.1107, allocations: 383.5 kB / 347.1 MB, free: 6.801 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.1107, allocations: 11.97 kB / 347.1 MB, free: 6.789 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.1108, allocations: 11.86 kB / 347.1 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.1109, allocations: 167 kB / 347.2 MB, free: 6.574 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.111, allocations: 8 kB / 347.3 MB, free: 6.566 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.111, allocations: 4 kB / 347.3 MB, free: 6.562 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.1114, allocations: 96.16 kB / 347.4 MB, free: 6.453 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1114, allocations: 0 / 347.4 MB, free: 6.453 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.1114, allocations: 7.984 kB / 347.4 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1115, allocations: 0 / 347.4 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004911/0.112, allocations: 75.89 kB / 347.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002535/0.1122, allocations: 195.4 kB / 347.6 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000464/0.1127, allocations: 107.8 kB / 347.7 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.1127, allocations: 7.938 kB / 347.7 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.1128, allocations: 38.62 kB / 347.8 MB, free: 5.938 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.194e-06/0.1128, allocations: 0 / 347.8 MB, free: 5.938 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0009315/0.1137, allocations: 161.4 kB / 347.9 MB, free: 5.773 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/0.1138, allocations: 111.2 kB / 348 MB, free: 5.641 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.114, allocations: 121.1 kB / 348.2 MB, free: 5.512 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.114, allocations: 29.7 kB / 348.2 MB, free: 5.477 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.773e-05/0.1141, allocations: 158.6 kB / 348.3 MB, free: 5.32 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.1141, allocations: 7.812 kB / 348.4 MB, free: 5.312 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/0.1142, allocations: 0 / 348.4 MB, free: 5.312 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1143, allocations: 318.8 kB / 348.7 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.1146, allocations: 43.97 kB / 348.7 MB, free: 4.949 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.1149, allocations: 54.53 kB / 348.8 MB, free: 4.887 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.1152, allocations: 43.97 kB / 348.8 MB, free: 4.844 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.1152, allocations: 0 / 348.8 MB, free: 4.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0006096/0.1158, allocations: 121.6 kB / 348.9 MB, free: 4.719 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.1158, allocations: 8 kB / 348.9 MB, free: 4.711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1158, allocations: 0 / 348.9 MB, free: 4.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.1159, allocations: 0 / 348.9 MB, free: 4.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.1161, allocations: 24.08 kB / 349 MB, free: 4.688 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1161, allocations: 0 / 349 MB, free: 4.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.1163, allocations: 15.98 kB / 349 MB, free: 4.672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.1164, allocations: 15.91 kB / 349 MB, free: 4.656 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001218/0.1165, allocations: 113.8 kB / 349.1 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.1166, allocations: 15.84 kB / 349.1 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/0.1166, allocations: 11.88 kB / 349.1 MB, free: 4.508 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1166, allocations: 3.938 kB / 349.1 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1166, allocations: 0 / 349.1 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1166, allocations: 4 kB / 349.1 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.1168, allocations: 173.6 kB / 349.3 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.1169, allocations: 7.984 kB / 349.3 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.1171, allocations: 19.98 kB / 349.3 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.1171, allocations: 4 kB / 349.3 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.1171, allocations: 0 / 349.3 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1171, allocations: 0 / 349.3 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.1172, allocations: 7.984 kB / 349.3 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006636/0.1178, allocations: 194.2 kB / 349.5 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.1179, allocations: 84.95 kB / 349.6 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.1179, allocations: 8 kB / 349.6 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.1181, allocations: 11.98 kB / 349.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.1182, allocations: 15.94 kB / 349.6 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.1183, allocations: 4 kB / 349.6 MB, free: 3.875 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.163e-05/0.1184, allocations: 91.83 kB / 349.7 MB, free: 3.785 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1184, allocations: 4 kB / 349.7 MB, free: 3.781 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002608/0.1186, allocations: 12 kB / 349.8 MB, free: 3.77 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001438/0.1188, allocations: 99.67 kB / 349.9 MB, free: 3.664 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006179/0.1194, allocations: 91.98 kB / 349.9 MB, free: 3.574 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1195, allocations: 0 / 349.9 MB, free: 3.574 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002805/0.1197, allocations: 43.91 kB / 350 MB, free: 3.531 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.1199, allocations: 8 kB / 350 MB, free: 3.523 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007706/0.1207, allocations: 238.3 kB / 350.2 MB, free: 3.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.121, allocations: 0.6926 MB / 350.9 MB, free: 2.531 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.572e-05/0.1211, allocations: 11.42 kB / 350.9 MB, free: 2.52 MB / 282.7 MB Notification: Performance of SimCode: time 8.61e-07/0.1211, allocations: 0 / 350.9 MB, free: 2.52 MB / 282.7 MB Notification: Performance of Templates: time 0.003132/0.1243, allocations: 0.8593 MB / 351.8 MB, free: 1.668 MB / 282.7 MB