Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.948/1.948, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.155e-05/3.169e-05, allocations: 4 kB / 255.4 MB, free: 3.117 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1004, allocations: 44.51 MB / 299.9 MB, free: 6.551 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4184/0.5188, allocations: 72.65 MB / 372.6 MB, free: 21.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.5192, allocations: 65.66 kB / 372.6 MB, free: 21.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01744/0.5366, allocations: 3.652 MB / 376.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5367, allocations: 3.938 kB / 376.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.5367, allocations: 7.094 kB / 376.3 MB, free: 21.37 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.003389/0.5401, allocations: 0.6375 MB / 376.9 MB, free: 20.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.35e-05/0.5402, allocations: 9.781 kB / 376.9 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.21e-05/0.5403, allocations: 46.23 kB / 377 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.526e-05/0.5404, allocations: 14.62 kB / 377 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.5406, allocations: 189.2 kB / 377.2 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.5406, allocations: 11.77 kB / 377.2 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.5407, allocations: 10.88 kB / 377.2 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004475/0.5411, allocations: 162.3 kB / 377.4 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.5412, allocations: 0 / 377.4 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.5412, allocations: 4.625 kB / 377.4 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.5412, allocations: 4.031 kB / 377.4 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004876/0.5417, allocations: 171.5 kB / 377.5 MB, free: 20.67 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.5432, allocations: 0.5494 MB / 378.1 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004851/0.5437, allocations: 168.3 kB / 378.3 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.544, allocations: 87.92 kB / 378.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.743e-05/0.544, allocations: 2.25 kB / 378.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.5441, allocations: 35.75 kB / 378.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 3.076e-06/0.5441, allocations: 3.938 kB / 378.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006074/0.5447, allocations: 187.4 kB / 378.6 MB, free: 20.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.5447, allocations: 55.72 kB / 378.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.545, allocations: 160.8 kB / 378.8 MB, free: 20.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.545, allocations: 30.98 kB / 378.8 MB, free: 20.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.412e-05/0.5451, allocations: 177 kB / 379 MB, free: 19.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.984e-05/0.5452, allocations: 46.83 kB / 379 MB, free: 19.86 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.881e-05/0.5452, allocations: 7.312 kB / 379 MB, free: 19.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.742e-05/0.5453, allocations: 322.3 kB / 379.4 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.5455, allocations: 58.47 kB / 379.4 MB, free: 19.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.5457, allocations: 91.89 kB / 379.5 MB, free: 19.51 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.5459, allocations: 74.3 kB / 379.6 MB, free: 19.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5459, allocations: 0 / 379.6 MB, free: 19.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005709/0.5465, allocations: 195.7 kB / 379.8 MB, free: 19.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.5465, allocations: 8.359 kB / 379.8 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.5466, allocations: 0 / 379.8 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.5466, allocations: 2.188 kB / 379.8 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/0.5471, allocations: 35.72 kB / 379.8 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.5471, allocations: 3.312 kB / 379.8 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.5474, allocations: 24.45 kB / 379.8 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.5474, allocations: 6.969 kB / 379.8 MB, free: 19.45 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 9.558e-05/0.5475, allocations: 118.6 kB / 380 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.413e-05/0.5476, allocations: 14 kB / 380 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007057/0.5483, allocations: 236 kB / 380.2 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.5484, allocations: 2.906 kB / 380.2 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.5484, allocations: 4 kB / 380.2 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.5484, allocations: 2.906 kB / 380.2 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.5488, allocations: 288.9 kB / 380.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.5489, allocations: 4.656 kB / 380.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004422/0.5493, allocations: 39.5 kB / 380.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.5493, allocations: 4.703 kB / 380.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.5494, allocations: 8.109 kB / 380.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.5494, allocations: 0 / 380.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5494, allocations: 6.25 kB / 380.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005677/0.55, allocations: 309.2 kB / 380.9 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.5501, allocations: 92.03 kB / 380.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.762e-05/0.5501, allocations: 5.891 kB / 381 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003182/0.5504, allocations: 16.66 kB / 381 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.328e-05/0.5505, allocations: 12.86 kB / 381 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.5506, allocations: 10.23 kB / 381 MB, free: 18.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001588/0.5507, allocations: 144.7 kB / 381.1 MB, free: 18.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5508, allocations: 1.094 kB / 381.1 MB, free: 18.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004094/0.5512, allocations: 41.41 kB / 381.2 MB, free: 18.72 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.0008327/0.552, allocations: 0.854 MB / 382 MB, free: 18.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005017/0.5525, allocations: 162.2 kB / 382.2 MB, free: 18.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5526, allocations: 0 / 382.2 MB, free: 18.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.5528, allocations: 91.77 kB / 382.3 MB, free: 18.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.5532, allocations: 21.81 kB / 382.3 MB, free: 18.03 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009956/0.5542, allocations: 325.5 kB / 382.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.5544, allocations: 0.7309 MB / 383.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.5546, allocations: 53.31 kB / 383.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of SimCode: time 8.31e-07/0.5547, allocations: 0 / 383.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.566/3.12, allocations: 2.779 MB / 386.2 MB, free: 16.95 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat does not exist to compare? outputFormat=mat