Running command: translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_trunk_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadModel(Modelica): time 2.019/2.019, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.613e-05/2.61e-05, allocations: 4 kB / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1059, allocations: 50.41 MB / 345 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.00219/0.1082, allocations: 1.323 MB / 346.3 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.1095, allocations: 0.5264 MB / 346.8 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.513e-05/0.1096, allocations: 4 kB / 346.8 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.1098, allocations: 23.84 kB / 346.8 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.11, allocations: 19.91 kB / 346.9 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.1113, allocations: 462.4 kB / 347.3 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.1115, allocations: 47.89 kB / 347.4 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.738e-05/0.1116, allocations: 19.97 kB / 347.4 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.1118, allocations: 43.86 kB / 347.4 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.112, allocations: 59.83 kB / 347.5 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003143/0.1123, allocations: 127.8 kB / 347.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.207e-05/0.1124, allocations: 8 kB / 347.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.181e-05/0.1124, allocations: 31.91 kB / 347.6 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.1125, allocations: 4 kB / 347.6 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.1128, allocations: 135.8 kB / 347.8 MB, free: 6.137 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1129, allocations: 0 / 347.8 MB, free: 6.137 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1129, allocations: 0 / 347.8 MB, free: 6.137 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.1129, allocations: 4 kB / 347.8 MB, free: 6.133 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.002035/0.1149, allocations: 0.5265 MB / 348.3 MB, free: 5.559 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.115, allocations: 8.031 kB / 348.3 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002202/0.1172, allocations: 175.5 kB / 348.5 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.1175, allocations: 197.5 kB / 348.7 MB, free: 5.148 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.707e-05/0.1175, allocations: 8 kB / 348.7 MB, free: 5.141 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.1176, allocations: 8 kB / 348.7 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006399/0.1182, allocations: 197.5 kB / 348.9 MB, free: 4.934 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1183, allocations: 0 / 348.9 MB, free: 4.934 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.1183, allocations: 3.953 kB / 348.9 MB, free: 4.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.234e-05/0.1184, allocations: 4 kB / 348.9 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007495/0.1191, allocations: 179.9 kB / 349.1 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.1206, allocations: 0.5507 MB / 349.6 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007108/0.1213, allocations: 182.5 kB / 349.8 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.157e-05/0.1214, allocations: 7.984 kB / 349.8 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.1214, allocations: 30.56 kB / 349.8 MB, free: 3.914 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 2.625e-06/0.1214, allocations: 3.938 kB / 349.8 MB, free: 3.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.001309/0.1227, allocations: 377.5 kB / 350.2 MB, free: 3.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.1228, allocations: 55.36 kB / 350.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.1231, allocations: 170.5 kB / 350.4 MB, free: 3.277 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.1231, allocations: 29.7 kB / 350.5 MB, free: 3.242 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1232, allocations: 174.3 kB / 350.6 MB, free: 3.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.552e-05/0.1233, allocations: 51.36 kB / 350.7 MB, free: 3.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/0.1233, allocations: 0 / 350.7 MB, free: 3.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1235, allocations: 318.8 kB / 351 MB, free: 2.699 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003574/0.1238, allocations: 79.84 kB / 351.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000381/0.1242, allocations: 107.5 kB / 351.2 MB, free: 2.504 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004196/0.1247, allocations: 95.89 kB / 351.3 MB, free: 2.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1247, allocations: 0 / 351.3 MB, free: 2.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009045/0.1256, allocations: 229.5 kB / 351.5 MB, free: 2.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.1256, allocations: 4 kB / 351.5 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.1257, allocations: 0 / 351.5 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.1257, allocations: 4 kB / 351.5 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004418/0.1261, allocations: 48 kB / 351.5 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.1262, allocations: 3.984 kB / 351.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.1264, allocations: 23.78 kB / 351.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.1265, allocations: 12 kB / 351.6 MB, free: 2.086 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001615/0.1267, allocations: 125.8 kB / 351.7 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.131e-05/0.1267, allocations: 15.81 kB / 351.7 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.1278, allocations: 282.8 kB / 352 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.1278, allocations: 4 kB / 352 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.1279, allocations: 0 / 352 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1279, allocations: 3.938 kB / 352 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004599/0.1283, allocations: 281.5 kB / 352.3 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.1284, allocations: 4 kB / 352.3 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004758/0.1289, allocations: 39.97 kB / 352.3 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.1289, allocations: 0 / 352.3 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.1289, allocations: 7.984 kB / 352.3 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.1289, allocations: 4 kB / 352.3 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1289, allocations: 0 / 352.3 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009786/0.1299, allocations: 349.7 kB / 352.7 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.567e-05/0.1301, allocations: 96.86 kB / 352.8 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/0.1301, allocations: 0 / 352.8 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003027/0.1304, allocations: 15.98 kB / 352.8 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.722e-05/0.1305, allocations: 15.95 kB / 352.8 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.1306, allocations: 12 kB / 352.8 MB, free: 0.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001763/0.1308, allocations: 135.9 kB / 352.9 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1308, allocations: 0 / 352.9 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000383/0.1312, allocations: 31.94 kB / 353 MB, free: 0.5859 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002026/0.1314, allocations: 111.2 kB / 353.1 MB, free: 480 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008772/0.1323, allocations: 199.8 kB / 353.3 MB, free: 280 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1323, allocations: 0 / 353.3 MB, free: 280 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004411/0.1328, allocations: 112.1 kB / 353.4 MB, free: 168 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.1331, allocations: 15.98 kB / 353.4 MB, free: 152 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009886/0.1341, allocations: 396 kB / 353.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.1344, allocations: 0.7399 MB / 354.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.1346, allocations: 23.42 kB / 354.6 MB, free: 14.94 MB / 298.7 MB Notification: Performance of SimCode: time 1.203e-06/0.1346, allocations: 0 / 354.6 MB, free: 14.94 MB / 298.7 MB Notification: Performance of Templates: time 0.00608/0.1407, allocations: 2.178 MB / 356.7 MB, free: 12.78 MB / 298.7 MB