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 2.089/2.089, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.787e-05/2.797e-05, allocations: 7.938 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3079, allocations: 44.49 MB / 294.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1603/0.4682, allocations: 71.99 MB / 366.2 MB, free: 9.98 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/0.4686, allocations: 67.97 kB / 366.2 MB, free: 9.914 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02213/0.4908, allocations: 3.609 MB / 369.9 MB, free: 6.305 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4909, allocations: 0 / 369.9 MB, free: 6.305 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.4909, allocations: 4 kB / 369.9 MB, free: 6.301 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.004433/0.4953, allocations: 0.6386 MB / 370.5 MB, free: 5.613 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.721e-05/0.4954, allocations: 8.031 kB / 370.5 MB, free: 5.605 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.4956, allocations: 19.75 kB / 370.5 MB, free: 5.586 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.4959, allocations: 185.7 kB / 370.7 MB, free: 5.367 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.496, allocations: 4 kB / 370.7 MB, free: 5.363 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.009e-05/0.4961, allocations: 8 kB / 370.7 MB, free: 5.355 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006997/0.4968, allocations: 166.7 kB / 370.9 MB, free: 5.195 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005139/0.4973, allocations: 146.5 kB / 371 MB, free: 5.047 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.4974, allocations: 7.984 kB / 371 MB, free: 5.039 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.4974, allocations: 0 / 371 MB, free: 5.039 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.4974, allocations: 0 / 371 MB, free: 5.039 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.4994, allocations: 0.505 MB / 371.5 MB, free: 4.496 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006924/0.5001, allocations: 158.5 kB / 371.7 MB, free: 4.332 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/0.5005, allocations: 84.97 kB / 371.8 MB, free: 4.246 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.718e-05/0.5005, allocations: 3.984 kB / 371.8 MB, free: 4.242 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.144e-05/0.5006, allocations: 38.56 kB / 371.8 MB, free: 4.195 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 4.147e-06/0.5006, allocations: 0 / 371.8 MB, free: 4.195 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007887/0.5014, allocations: 174.1 kB / 372 MB, free: 4.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.5015, allocations: 55.41 kB / 372 MB, free: 3.953 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.5018, allocations: 138.2 kB / 372.2 MB, free: 3.809 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.5018, allocations: 25.7 kB / 372.2 MB, free: 3.777 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.502, allocations: 182.2 kB / 372.4 MB, free: 3.598 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.142e-05/0.5021, allocations: 51.28 kB / 372.4 MB, free: 3.547 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/0.5022, allocations: 3.938 kB / 372.4 MB, free: 3.543 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.5024, allocations: 314.8 kB / 372.7 MB, free: 3.227 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.5026, allocations: 59.97 kB / 372.8 MB, free: 3.168 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.5029, allocations: 83.41 kB / 372.9 MB, free: 3.074 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.5032, allocations: 63.97 kB / 372.9 MB, free: 3.012 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.5032, allocations: 7.984 kB / 372.9 MB, free: 3.004 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007852/0.504, allocations: 185.4 kB / 373.1 MB, free: 2.816 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.5041, allocations: 4 kB / 373.1 MB, free: 2.812 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.5041, allocations: 0 / 373.1 MB, free: 2.812 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/0.5042, allocations: 7.984 kB / 373.1 MB, free: 2.805 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006366/0.5048, allocations: 44.06 kB / 373.2 MB, free: 2.762 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.5048, allocations: 0 / 373.2 MB, free: 2.762 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003678/0.5052, allocations: 19.89 kB / 373.2 MB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.816e-05/0.5053, allocations: 7.938 kB / 373.2 MB, free: 2.734 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 0.0001594/0.5055, allocations: 116.6 kB / 373.3 MB, free: 2.613 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007181/0.5062, allocations: 174.5 kB / 373.5 MB, free: 2.438 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.423e-05/0.5063, allocations: 11.81 kB / 373.5 MB, free: 2.426 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009177/0.5072, allocations: 230.2 kB / 373.7 MB, free: 2.191 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.5073, allocations: 4 kB / 373.7 MB, free: 2.188 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5073, allocations: 0 / 373.7 MB, free: 2.188 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.5073, allocations: 0 / 373.7 MB, free: 2.188 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006417/0.508, allocations: 253.9 kB / 374 MB, free: 1.902 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.508, allocations: 0 / 374 MB, free: 1.902 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006111/0.5086, allocations: 35.97 kB / 374 MB, free: 1.867 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.456e-05/0.5087, allocations: 3.953 kB / 374 MB, free: 1.863 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.5087, allocations: 11.98 kB / 374 MB, free: 1.852 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.5087, allocations: 0 / 374 MB, free: 1.852 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.5088, allocations: 0 / 374 MB, free: 1.852 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008239/0.5096, allocations: 302.4 kB / 374.3 MB, free: 1.543 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.785e-05/0.5097, allocations: 88.95 kB / 374.4 MB, free: 1.438 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.701e-05/0.5098, allocations: 0 / 374.4 MB, free: 1.438 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003983/0.5102, allocations: 15.94 kB / 374.4 MB, free: 1.422 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.688e-05/0.5103, allocations: 15.98 kB / 374.4 MB, free: 1.406 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.5104, allocations: 15.92 kB / 374.5 MB, free: 1.391 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001696/0.5106, allocations: 107.8 kB / 374.6 MB, free: 1.285 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5106, allocations: 0 / 374.6 MB, free: 1.285 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006593/0.5112, allocations: 35.91 kB / 374.6 MB, free: 1.25 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.001194/0.5125, allocations: 0.8372 MB / 375.4 MB, free: 396 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000477/0.513, allocations: 155.8 kB / 375.6 MB, free: 240 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.513, allocations: 0 / 375.6 MB, free: 240 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.5132, allocations: 87.91 kB / 375.7 MB, free: 152 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.5136, allocations: 15.98 kB / 375.7 MB, free: 136 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.5147, allocations: 298.4 kB / 376 MB, free: 15.8 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.5151, allocations: 0.7279 MB / 376.7 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.5153, allocations: 51.41 kB / 376.8 MB, free: 15 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5153, allocations: 0 / 376.8 MB, free: 15 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.485/3.001, allocations: 2.677 MB / 379.4 MB, free: 12.33 MB / 330.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