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_3.2.2_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadModel(Modelica): time 1.845/1.845, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.365e-05/2.387e-05, allocations: 1.5 kB / 255.3 MB, free: 3.211 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07627/0.07632, allocations: 44.5 MB / 299.8 MB, free: 6.652 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3638/0.4401, allocations: 72.64 MB / 372.5 MB, free: 22.07 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/0.4404, allocations: 65.73 kB / 372.5 MB, free: 22.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01484/0.4552, allocations: 3.66 MB / 376.2 MB, free: 21.58 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.558e-06/0.4553, allocations: 0 / 376.2 MB, free: 21.58 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.302e-06/0.4553, allocations: 2.312 kB / 376.2 MB, free: 21.58 MB / 314.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.002548/0.4578, allocations: 0.6376 MB / 376.8 MB, free: 21.17 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4579, allocations: 9.406 kB / 376.8 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.443e-05/0.458, allocations: 15.16 kB / 376.9 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.4581, allocations: 183.6 kB / 377 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.4582, allocations: 11.02 kB / 377 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.4582, allocations: 11.66 kB / 377.1 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/0.4586, allocations: 162.9 kB / 377.2 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.4586, allocations: 1.094 kB / 377.2 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.4587, allocations: 4.5 kB / 377.2 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.4587, allocations: 7.344 kB / 377.2 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004196/0.4591, allocations: 166.9 kB / 377.4 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.4602, allocations: 0.5585 MB / 377.9 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004078/0.4607, allocations: 165.9 kB / 378.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.4609, allocations: 84 kB / 378.2 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.4609, allocations: 6.719 kB / 378.2 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.461, allocations: 41.47 kB / 378.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 2.915e-06/0.461, allocations: 0 / 378.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005044/0.4615, allocations: 176.2 kB / 378.4 MB, free: 20.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.4615, allocations: 52.72 kB / 378.5 MB, free: 20.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.4617, allocations: 167.5 kB / 378.6 MB, free: 20.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.4618, allocations: 30.89 kB / 378.7 MB, free: 20.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.4618, allocations: 177.4 kB / 378.8 MB, free: 20.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.4619, allocations: 42.09 kB / 378.9 MB, free: 20.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.607e-05/0.4619, allocations: 3.5 kB / 378.9 MB, free: 20.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.304e-05/0.462, allocations: 323.2 kB / 379.2 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.4621, allocations: 55.16 kB / 379.2 MB, free: 19.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.4623, allocations: 97.73 kB / 379.3 MB, free: 19.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.4625, allocations: 82.31 kB / 379.4 MB, free: 19.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.933e-06/0.4626, allocations: 0 / 379.4 MB, free: 19.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00046/0.463, allocations: 195.2 kB / 379.6 MB, free: 19.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.4631, allocations: 5.656 kB / 379.6 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.4631, allocations: 1.25 kB / 379.6 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.4631, allocations: 2.094 kB / 379.6 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.4635, allocations: 44.84 kB / 379.7 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.4635, allocations: 2.531 kB / 379.7 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.4637, allocations: 20.06 kB / 379.7 MB, free: 19.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.4638, allocations: 6.266 kB / 379.7 MB, free: 19.69 MB / 314.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 7.776e-05/0.4638, allocations: 119.8 kB / 379.8 MB, free: 19.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.169e-05/0.4639, allocations: 14.47 kB / 379.8 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005853/0.4645, allocations: 245.9 kB / 380.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.4646, allocations: 8.641 kB / 380.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.4646, allocations: 0 / 380.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.458e-06/0.4646, allocations: 0 / 380.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/0.465, allocations: 279.5 kB / 380.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.132e-06/0.465, allocations: 0 / 380.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/0.4653, allocations: 42.92 kB / 380.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.386e-06/0.4653, allocations: 9.578 kB / 380.4 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.4654, allocations: 3.266 kB / 380.4 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.125e-06/0.4654, allocations: 1.062 kB / 380.4 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.111e-06/0.4654, allocations: 1 kB / 380.4 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004951/0.4659, allocations: 310.5 kB / 380.7 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.466, allocations: 95.5 kB / 380.8 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.466, allocations: 1.859 kB / 380.8 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.4663, allocations: 21.25 kB / 380.8 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.4664, allocations: 16.75 kB / 380.8 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.4664, allocations: 7.297 kB / 380.8 MB, free: 19.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001299/0.4665, allocations: 135.2 kB / 381 MB, free: 18.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.45e-07/0.4665, allocations: 3.938 kB / 381 MB, free: 18.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004315/0.467, allocations: 39.64 kB / 381 MB, free: 18.97 MB / 314.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.0001627/0.4672, allocations: 122.8 kB / 381.1 MB, free: 18.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004322/0.4676, allocations: 158.2 kB / 381.3 MB, free: 18.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.968e-06/0.4676, allocations: 0 / 381.3 MB, free: 18.87 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.4678, allocations: 96.59 kB / 381.4 MB, free: 18.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.4682, allocations: 29.08 kB / 381.4 MB, free: 18.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006241/0.4688, allocations: 257.3 kB / 381.7 MB, free: 18.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.469, allocations: 0.7357 MB / 382.4 MB, free: 18.03 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.4691, allocations: 27.06 kB / 382.4 MB, free: 18.03 MB / 314.7 MB Notification: Performance of SimCode: time 1.623e-06/0.4692, allocations: 0 / 382.4 MB, free: 18.03 MB / 314.7 MB Notification: Performance of Templates: time 0.004716/0.4739, allocations: 2.133 MB / 384.6 MB, free: 17.88 MB / 314.7 MB