Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_2_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.23/2.23, allocations: 194.9 MB / 208 MB, free: 3.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.854e-05/3.875e-05, allocations: 0 / 255.4 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1012, allocations: 44.5 MB / 299.9 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5261/0.6274, allocations: 72.65 MB / 372.6 MB, free: 12.85 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.6278, allocations: 68.44 kB / 372.7 MB, free: 12.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02154/0.6494, allocations: 3.645 MB / 376.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6495, allocations: 0 / 376.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.6495, allocations: 3.344 kB / 376.3 MB, free: 12.38 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.004319/0.6538, allocations: 0.6463 MB / 377 MB, free: 11.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.518e-05/0.6539, allocations: 9.375 kB / 377 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.654, allocations: 44.48 kB / 377 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.938e-05/0.6541, allocations: 14.72 kB / 377 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.6544, allocations: 187.4 kB / 377.2 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.6544, allocations: 16.83 kB / 377.2 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.066e-05/0.6545, allocations: 19 kB / 377.2 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006405/0.6551, allocations: 161.3 kB / 377.4 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.6552, allocations: 0 / 377.4 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.936e-05/0.6552, allocations: 4.312 kB / 377.4 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.6553, allocations: 3.094 kB / 377.4 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006869/0.656, allocations: 166.2 kB / 377.6 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.6578, allocations: 0.5524 MB / 378.1 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006648/0.6585, allocations: 167.6 kB / 378.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.6588, allocations: 88.05 kB / 378.4 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.844e-05/0.6589, allocations: 2.781 kB / 378.4 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.659, allocations: 37.28 kB / 378.4 MB, free: 11.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 4.298e-06/0.659, allocations: 0 / 378.4 MB, free: 11.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008115/0.6598, allocations: 182.4 kB / 378.6 MB, free: 11.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.6599, allocations: 57.94 kB / 378.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.6602, allocations: 164.1 kB / 378.8 MB, free: 11.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.6602, allocations: 27.11 kB / 378.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.293e-05/0.6603, allocations: 115.2 kB / 378.9 MB, free: 10.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.142e-05/0.6604, allocations: 45.41 kB / 379 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.6605, allocations: 5.094 kB / 379 MB, free: 10.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.263e-05/0.6606, allocations: 335 kB / 379.3 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.6608, allocations: 59.58 kB / 379.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.6612, allocations: 93.41 kB / 379.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.6615, allocations: 71.12 kB / 379.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.6615, allocations: 0 / 379.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007676/0.6623, allocations: 201.4 kB / 379.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.6623, allocations: 6.719 kB / 379.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.6624, allocations: 1.281 kB / 379.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.6624, allocations: 1.312 kB / 379.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005789/0.663, allocations: 40.94 kB / 379.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.663, allocations: 1.188 kB / 379.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.6634, allocations: 24.67 kB / 379.8 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.6635, allocations: 6.797 kB / 379.8 MB, free: 10.51 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.0001167/0.6636, allocations: 115 kB / 379.9 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.029e-05/0.6637, allocations: 14.75 kB / 379.9 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009205/0.6646, allocations: 237.4 kB / 380.2 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.6647, allocations: 3.844 kB / 380.2 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.6647, allocations: 1 kB / 380.2 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.6647, allocations: 5.359 kB / 380.2 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005946/0.6653, allocations: 289.2 kB / 380.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.6653, allocations: 0 / 380.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005648/0.6659, allocations: 44.84 kB / 380.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/0.6659, allocations: 5.359 kB / 380.5 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/0.666, allocations: 6.5 kB / 380.5 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.666, allocations: 1.125 kB / 380.5 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.666, allocations: 0 / 380.5 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007971/0.6668, allocations: 310.4 kB / 380.8 MB, free: 9.988 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.424e-05/0.6669, allocations: 91.39 kB / 380.9 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.878e-05/0.667, allocations: 0.8438 kB / 380.9 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.6674, allocations: 22.38 kB / 380.9 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.6676, allocations: 16.33 kB / 381 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/0.6676, allocations: 6.828 kB / 381 MB, free: 9.879 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002192/0.6678, allocations: 141.2 kB / 381.1 MB, free: 9.797 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6679, allocations: 0 / 381.1 MB, free: 9.797 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006815/0.6686, allocations: 45.22 kB / 381.1 MB, free: 9.785 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.001205/0.6698, allocations: 0.8491 MB / 382 MB, free: 9.113 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007006/0.6705, allocations: 167.7 kB / 382.2 MB, free: 9.102 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6705, allocations: 0 / 382.2 MB, free: 9.102 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003361/0.6709, allocations: 90.78 kB / 382.2 MB, free: 9.098 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005159/0.6714, allocations: 31.8 kB / 382.3 MB, free: 9.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.6728, allocations: 306.2 kB / 382.6 MB, free: 8.945 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.6732, allocations: 0.7345 MB / 383.3 MB, free: 8.246 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003209/0.6735, allocations: 30.33 kB / 383.3 MB, free: 8.242 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.6737, allocations: 51.52 kB / 383.4 MB, free: 8.234 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6737, allocations: 0 / 383.4 MB, free: 8.234 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.7035, allocations: 3.509 MB / 386.9 MB, free: 7.859 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002366/0.7038, allocations: 160.2 kB / 387.1 MB, free: 7.633 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.765/3.469, allocations: 0 / 387.1 MB, free: 7.633 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat does not exist to compare? outputFormat=mat