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.07/2.07, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.369e-05/4.397e-05, allocations: 0 / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1117, allocations: 44.5 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4714/0.5832, allocations: 72.65 MB / 372.6 MB, free: 12.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.5835, allocations: 65.53 kB / 372.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01728/0.6008, allocations: 3.658 MB / 376.3 MB, free: 12.06 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.6009, allocations: 0 / 376.3 MB, free: 12.06 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.6009, allocations: 3.031 kB / 376.3 MB, free: 12.06 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.003421/0.6043, allocations: 0.6436 MB / 377 MB, free: 11.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.6044, allocations: 9.812 kB / 377 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.749e-05/0.6045, allocations: 47.44 kB / 377 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.007e-05/0.6046, allocations: 15 kB / 377.1 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.6048, allocations: 188.1 kB / 377.2 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.6049, allocations: 8.828 kB / 377.3 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.85e-05/0.6049, allocations: 10.62 kB / 377.3 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004643/0.6054, allocations: 161.1 kB / 377.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.6054, allocations: 4.75 kB / 377.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.6055, allocations: 4.375 kB / 377.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.6055, allocations: 3.469 kB / 377.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004998/0.606, allocations: 166.7 kB / 377.6 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.6075, allocations: 0.5511 MB / 378.1 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004988/0.608, allocations: 164.1 kB / 378.3 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.6083, allocations: 86.61 kB / 378.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.505e-05/0.6083, allocations: 8.328 kB / 378.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.6084, allocations: 33.88 kB / 378.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 3.237e-06/0.6084, allocations: 5.438 kB / 378.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006096/0.609, allocations: 179.2 kB / 378.6 MB, free: 10.94 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.6091, allocations: 61.09 kB / 378.7 MB, free: 10.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.6093, allocations: 161.3 kB / 378.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.6093, allocations: 32.08 kB / 378.9 MB, free: 10.74 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.105e-05/0.6094, allocations: 113.3 kB / 379 MB, free: 10.65 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.588e-05/0.6095, allocations: 49.42 kB / 379 MB, free: 10.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.743e-05/0.6095, allocations: 0 / 379 MB, free: 10.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.289e-05/0.6096, allocations: 331.8 kB / 379.3 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.6098, allocations: 57.19 kB / 379.4 MB, free: 10.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.6101, allocations: 101.2 kB / 379.5 MB, free: 10.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.6103, allocations: 66.58 kB / 379.6 MB, free: 10.26 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.6103, allocations: 1.469 kB / 379.6 MB, free: 10.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005475/0.6109, allocations: 195.6 kB / 379.8 MB, free: 10.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.6109, allocations: 12.91 kB / 379.8 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.6109, allocations: 4 kB / 379.8 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.611, allocations: 3.125 kB / 379.8 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/0.6115, allocations: 38.47 kB / 379.8 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.6115, allocations: 6.656 kB / 379.8 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/0.6118, allocations: 15.75 kB / 379.8 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.6118, allocations: 10.62 kB / 379.8 MB, free: 10.2 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.414e-05/0.6119, allocations: 118.4 kB / 380 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.612, allocations: 15.06 kB / 380 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.6131, allocations: 236.5 kB / 380.2 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.6131, allocations: 4.047 kB / 380.2 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.6131, allocations: 0 / 380.2 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.6132, allocations: 1.094 kB / 380.2 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000771/0.614, allocations: 286.1 kB / 380.5 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.614, allocations: 1.188 kB / 380.5 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007405/0.6148, allocations: 45.56 kB / 380.5 MB, free: 9.824 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.968e-05/0.6148, allocations: 5.578 kB / 380.5 MB, free: 9.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-05/0.6149, allocations: 4.141 kB / 380.5 MB, free: 9.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.6149, allocations: 1.531 kB / 380.5 MB, free: 9.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6149, allocations: 0 / 380.5 MB, free: 9.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.616, allocations: 307.6 kB / 380.8 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.6162, allocations: 92.78 kB / 380.9 MB, free: 9.574 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-05/0.6163, allocations: 9 kB / 380.9 MB, free: 9.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006209/0.6169, allocations: 18.62 kB / 381 MB, free: 9.566 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.6171, allocations: 11.8 kB / 381 MB, free: 9.566 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.544e-05/0.6172, allocations: 13.94 kB / 381 MB, free: 9.562 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003033/0.6175, allocations: 132.7 kB / 381.1 MB, free: 9.488 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.6175, allocations: 0 / 381.1 MB, free: 9.488 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008481/0.6184, allocations: 46.94 kB / 381.2 MB, free: 9.477 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.001483/0.6199, allocations: 0.8508 MB / 382 MB, free: 8.805 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009735/0.6209, allocations: 163.6 kB / 382.2 MB, free: 8.793 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.621, allocations: 0.5625 kB / 382.2 MB, free: 8.793 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000491/0.6215, allocations: 93.39 kB / 382.3 MB, free: 8.789 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006447/0.6221, allocations: 20.52 kB / 382.3 MB, free: 8.785 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.624, allocations: 296.1 kB / 382.6 MB, free: 8.648 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.6244, allocations: 0.732 MB / 383.3 MB, free: 7.953 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004089/0.6249, allocations: 30.39 kB / 383.3 MB, free: 7.949 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.6251, allocations: 49.28 kB / 383.4 MB, free: 7.941 MB / 314.7 MB Notification: Performance of SimCode: time 1.422e-06/0.6251, allocations: 4 kB / 383.4 MB, free: 7.938 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03123/0.6564, allocations: 3.503 MB / 386.9 MB, free: 7.562 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/0.6567, allocations: 158.8 kB / 387 MB, free: 7.336 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.586/3.243, allocations: 5.312 kB / 387.1 MB, free: 7.332 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