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 2.056/2.056, allocations: 194.9 MB / 211.2 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.961e-05/2.989e-05, allocations: 4 kB / 258.8 MB, free: 8.531 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3759, allocations: 44.51 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002294/0.3783, allocations: 1.264 MB / 304.5 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.3798, allocations: 0.5715 MB / 305.1 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.726e-05/0.38, allocations: 2.875 kB / 305.1 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.3802, allocations: 16.23 kB / 305.1 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.3804, allocations: 26.81 kB / 305.2 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.3818, allocations: 465.8 kB / 305.6 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.3821, allocations: 42.23 kB / 305.7 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.3822, allocations: 23.12 kB / 305.7 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.3824, allocations: 42.14 kB / 305.7 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.3826, allocations: 65.75 kB / 305.8 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003522/0.3829, allocations: 114.7 kB / 305.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.768e-05/0.383, allocations: 11.16 kB / 305.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.928e-05/0.3831, allocations: 29.41 kB / 305.9 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.3831, allocations: 4.344 kB / 305.9 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003412/0.3835, allocations: 145.3 kB / 306.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3835, allocations: 4 kB / 306.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3835, allocations: 4 kB / 306.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.3835, allocations: 1.031 kB / 306.1 MB, free: 10.57 MB / 250.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.002194/0.3857, allocations: 0.5285 MB / 306.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.3858, allocations: 14.19 kB / 306.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00229/0.3881, allocations: 170.8 kB / 306.8 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.3884, allocations: 188.5 kB / 307 MB, free: 9.805 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/0.3885, allocations: 12.38 kB / 307 MB, free: 9.797 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.987e-05/0.3885, allocations: 5.938 kB / 307 MB, free: 9.797 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006729/0.3892, allocations: 188.8 kB / 307.2 MB, free: 9.672 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3893, allocations: 0 / 307.2 MB, free: 9.672 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.3893, allocations: 4 kB / 307.2 MB, free: 9.668 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.384e-05/0.3893, allocations: 8 kB / 307.2 MB, free: 9.66 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007699/0.3901, allocations: 183.8 kB / 307.4 MB, free: 9.48 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.3917, allocations: 0.547 MB / 307.9 MB, free: 8.883 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007184/0.3924, allocations: 178.5 kB / 308.1 MB, free: 8.699 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.959e-05/0.3925, allocations: 7.984 kB / 308.1 MB, free: 8.691 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.3925, allocations: 38.5 kB / 308.1 MB, free: 8.645 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 2.795e-06/0.3926, allocations: 3.938 kB / 308.2 MB, free: 8.641 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.001331/0.3939, allocations: 368.4 kB / 308.5 MB, free: 8.258 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.394, allocations: 55.41 kB / 308.6 MB, free: 8.191 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.3943, allocations: 174.4 kB / 308.7 MB, free: 8.008 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.3943, allocations: 29.7 kB / 308.8 MB, free: 7.973 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.3944, allocations: 174.4 kB / 308.9 MB, free: 7.801 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.922e-05/0.3945, allocations: 51.3 kB / 309 MB, free: 7.75 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.751e-05/0.3945, allocations: 0 / 309 MB, free: 7.75 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3947, allocations: 322.8 kB / 309.3 MB, free: 7.426 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.3951, allocations: 75.94 kB / 309.4 MB, free: 7.352 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/0.3955, allocations: 112.4 kB / 309.5 MB, free: 7.23 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003984/0.3959, allocations: 87.95 kB / 309.6 MB, free: 7.145 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3959, allocations: 0 / 309.6 MB, free: 7.145 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009191/0.3968, allocations: 229.5 kB / 309.8 MB, free: 6.914 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.3969, allocations: 4 kB / 309.8 MB, free: 6.91 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.3969, allocations: 8.094 kB / 309.8 MB, free: 6.902 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.3969, allocations: 0 / 309.8 MB, free: 6.902 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004469/0.3974, allocations: 43.89 kB / 309.8 MB, free: 6.859 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.3974, allocations: 0 / 309.8 MB, free: 6.859 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.3977, allocations: 23.84 kB / 309.9 MB, free: 6.836 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.3977, allocations: 7.984 kB / 309.9 MB, free: 6.828 MB / 250.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.0001743/0.3979, allocations: 133.8 kB / 310 MB, free: 6.688 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-05/0.398, allocations: 19.81 kB / 310 MB, free: 6.668 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.3991, allocations: 271 kB / 310.3 MB, free: 6.395 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.3991, allocations: 0 / 310.3 MB, free: 6.395 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.3991, allocations: 11.98 kB / 310.3 MB, free: 6.383 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.3991, allocations: 0 / 310.3 MB, free: 6.383 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004754/0.3996, allocations: 273.4 kB / 310.6 MB, free: 6.066 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3997, allocations: 4 kB / 310.6 MB, free: 6.062 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004855/0.4001, allocations: 51.91 kB / 310.6 MB, free: 6.012 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.4002, allocations: 0 / 310.6 MB, free: 6.012 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.4002, allocations: 7.938 kB / 310.6 MB, free: 6.004 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.4002, allocations: 0 / 310.6 MB, free: 6.004 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.4002, allocations: 0 / 310.6 MB, free: 6.004 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009756/0.4012, allocations: 346 kB / 311 MB, free: 5.652 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.678e-05/0.4013, allocations: 100.8 kB / 311.1 MB, free: 5.535 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.4014, allocations: 7.891 kB / 311.1 MB, free: 5.527 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/0.4017, allocations: 19.98 kB / 311.1 MB, free: 5.508 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.83e-05/0.4018, allocations: 11.98 kB / 311.1 MB, free: 5.496 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.4018, allocations: 11.97 kB / 311.1 MB, free: 5.484 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001841/0.402, allocations: 139.9 kB / 311.3 MB, free: 5.348 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.402, allocations: 0 / 311.3 MB, free: 5.348 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003818/0.4024, allocations: 31.94 kB / 311.3 MB, free: 5.316 MB / 250.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.0002032/0.4026, allocations: 107.2 kB / 311.4 MB, free: 5.199 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008801/0.4035, allocations: 191.8 kB / 311.6 MB, free: 5.012 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4036, allocations: 0 / 311.6 MB, free: 5.012 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004247/0.404, allocations: 116 kB / 311.7 MB, free: 4.898 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.4044, allocations: 23.92 kB / 311.7 MB, free: 4.875 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009883/0.4054, allocations: 388.3 kB / 312.1 MB, free: 4.469 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.4058, allocations: 0.7361 MB / 312.8 MB, free: 3.703 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.406, allocations: 23.42 kB / 312.9 MB, free: 3.684 MB / 250.7 MB Notification: Performance of SimCode: time 1.202e-06/0.406, allocations: 0 / 312.9 MB, free: 3.684 MB / 250.7 MB Notification: Performance of Templates: time 0.006486/0.4125, allocations: 2.179 MB / 315 MB, free: 1.508 MB / 250.7 MB