Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.025/2.025, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.584e-05/3.594e-05, allocations: 0 / 292.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1158, allocations: 50.4 MB / 342.6 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4468/0.5627, allocations: 78.05 MB / 420.7 MB, free: 15.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.563, allocations: 63.09 kB / 420.7 MB, free: 15.78 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01739/0.5804, allocations: 3.735 MB / 424.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5805, allocations: 0 / 424.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.5805, allocations: 4 kB / 424.5 MB, free: 12.65 MB / 346.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.003282/0.5838, allocations: 0.6437 MB / 425.1 MB, free: 11.99 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.5838, allocations: 12.03 kB / 425.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.507e-05/0.5839, allocations: 53.25 kB / 425.2 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.791e-05/0.584, allocations: 18.62 kB / 425.2 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.5842, allocations: 186.8 kB / 425.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.5843, allocations: 7.422 kB / 425.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.5843, allocations: 11.5 kB / 425.4 MB, free: 11.67 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.5848, allocations: 168.1 kB / 425.6 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.5848, allocations: 7.953 kB / 425.6 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.5848, allocations: 7.312 kB / 425.6 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.5849, allocations: 7.938 kB / 425.6 MB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005074/0.5854, allocations: 164.9 kB / 425.8 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.5868, allocations: 0.5492 MB / 426.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004974/0.5874, allocations: 158.9 kB / 426.5 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.5876, allocations: 89.27 kB / 426.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.112e-05/0.5877, allocations: 0 / 426.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.5877, allocations: 34.56 kB / 426.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 4.338e-06/0.5877, allocations: 0 / 426.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.000613/0.5884, allocations: 185.5 kB / 426.8 MB, free: 10.56 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.5884, allocations: 59.41 kB / 426.8 MB, free: 10.49 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.5887, allocations: 166.2 kB / 427 MB, free: 10.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.5887, allocations: 29.14 kB / 427 MB, free: 10.31 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.985e-05/0.5888, allocations: 110.5 kB / 427.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.481e-05/0.5889, allocations: 49.78 kB / 427.2 MB, free: 10.17 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/0.589, allocations: 7.562 kB / 427.2 MB, free: 10.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.5891, allocations: 322.8 kB / 427.5 MB, free: 9.844 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.5893, allocations: 61.16 kB / 427.6 MB, free: 9.805 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.5895, allocations: 93.84 kB / 427.6 MB, free: 9.727 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.5897, allocations: 72.95 kB / 427.7 MB, free: 9.676 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5898, allocations: 3.938 kB / 427.7 MB, free: 9.672 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005692/0.5903, allocations: 200.2 kB / 427.9 MB, free: 9.516 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.5904, allocations: 4 kB / 427.9 MB, free: 9.512 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.5904, allocations: 4.094 kB / 427.9 MB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.5904, allocations: 4 kB / 427.9 MB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004465/0.5909, allocations: 35.22 kB / 428 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/0.5909, allocations: 7.953 kB / 428 MB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.5912, allocations: 19.83 kB / 428 MB, free: 9.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.5912, allocations: 11.36 kB / 428 MB, free: 9.438 MB / 346.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.000108/0.5914, allocations: 116.2 kB / 428.1 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.987e-05/0.5914, allocations: 19.75 kB / 428.1 MB, free: 9.301 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007131/0.5922, allocations: 234 kB / 428.4 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.5922, allocations: 0 / 428.4 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.5922, allocations: 0 / 428.4 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.5922, allocations: 0 / 428.4 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/0.5927, allocations: 287.5 kB / 428.6 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5927, allocations: 0 / 428.6 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004505/0.5932, allocations: 51.03 kB / 428.7 MB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.5932, allocations: 3.984 kB / 428.7 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.5932, allocations: 11.48 kB / 428.7 MB, free: 8.785 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.5932, allocations: 0 / 428.7 MB, free: 8.785 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.5933, allocations: 4 kB / 428.7 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005945/0.5939, allocations: 305.8 kB / 429 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.507e-05/0.594, allocations: 96.23 kB / 429.1 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.594, allocations: 0 / 429.1 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003009/0.5943, allocations: 19.11 kB / 429.1 MB, free: 8.391 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.595e-05/0.5944, allocations: 19.28 kB / 429.1 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.5945, allocations: 4 kB / 429.1 MB, free: 8.371 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001711/0.5946, allocations: 141.3 kB / 429.3 MB, free: 8.254 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5946, allocations: 0 / 429.3 MB, free: 8.254 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004555/0.5951, allocations: 35.5 kB / 429.3 MB, free: 8.223 MB / 346.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.001007/0.5961, allocations: 0.8578 MB / 430.2 MB, free: 7.395 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004953/0.5966, allocations: 156.1 kB / 430.3 MB, free: 7.289 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5967, allocations: 0 / 430.3 MB, free: 7.289 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002549/0.5969, allocations: 89.03 kB / 430.4 MB, free: 7.227 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.5973, allocations: 26.77 kB / 430.4 MB, free: 7.207 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.5983, allocations: 302.9 kB / 430.7 MB, free: 6.922 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.5987, allocations: 0.7314 MB / 431.5 MB, free: 6.168 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002367/0.5989, allocations: 33.19 kB / 431.5 MB, free: 6.129 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.5991, allocations: 47.09 kB / 431.5 MB, free: 6.109 MB / 346.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5991, allocations: 0 / 431.5 MB, free: 6.109 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0283/0.6274, allocations: 3.502 MB / 435 MB, free: 2.688 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004203/0.6279, allocations: 158.1 kB / 435.2 MB, free: 2.461 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.657/3.285, allocations: 0 / 435.2 MB, free: 2.461 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat does not exist to compare? outputFormat=mat