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.219/2.219, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.79e-05/3.808e-05, allocations: 4 kB / 255.4 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1024, allocations: 44.5 MB / 299.9 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3988/0.5013, allocations: 72.65 MB / 372.6 MB, free: 22.2 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.5016, allocations: 67.84 kB / 372.7 MB, free: 22.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01715/0.5188, allocations: 3.651 MB / 376.3 MB, free: 21.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5188, allocations: 0 / 376.3 MB, free: 21.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.5189, allocations: 2.812 kB / 376.3 MB, free: 21.72 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.00334/0.5222, allocations: 0.6474 MB / 377 MB, free: 21.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.573e-05/0.5223, allocations: 9 kB / 377 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.006e-05/0.5224, allocations: 45.52 kB / 377 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.657e-05/0.5225, allocations: 19.77 kB / 377 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.5227, allocations: 182.3 kB / 377.2 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.5227, allocations: 13.7 kB / 377.2 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.424e-05/0.5228, allocations: 10.72 kB / 377.2 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004535/0.5232, allocations: 162.1 kB / 377.4 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.5233, allocations: 0 / 377.4 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.5233, allocations: 9.125 kB / 377.4 MB, free: 21.01 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.5233, allocations: 3.219 kB / 377.4 MB, free: 21.01 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004802/0.5238, allocations: 167.8 kB / 377.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.5252, allocations: 0.5463 MB / 378.1 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004812/0.5257, allocations: 165.2 kB / 378.3 MB, free: 20.69 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.526, allocations: 88.33 kB / 378.4 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.756e-05/0.526, allocations: 10.31 kB / 378.4 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.5261, allocations: 32.41 kB / 378.4 MB, free: 20.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 3.948e-06/0.5261, allocations: 0 / 378.4 MB, free: 20.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.00057/0.5267, allocations: 185.5 kB / 378.6 MB, free: 20.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.5267, allocations: 57.41 kB / 378.6 MB, free: 20.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.5269, allocations: 167.9 kB / 378.8 MB, free: 20.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.527, allocations: 25.7 kB / 378.8 MB, free: 20.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/0.5271, allocations: 177.7 kB / 379 MB, free: 20.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.5271, allocations: 48.58 kB / 379.1 MB, free: 20.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.5272, allocations: 3.375 kB / 379.1 MB, free: 20.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.082e-05/0.5272, allocations: 319.1 kB / 379.4 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.5274, allocations: 62.39 kB / 379.4 MB, free: 19.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.5276, allocations: 92.58 kB / 379.5 MB, free: 19.85 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.5279, allocations: 74.41 kB / 379.6 MB, free: 19.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5279, allocations: 1.156 kB / 379.6 MB, free: 19.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005267/0.5284, allocations: 190.2 kB / 379.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.5285, allocations: 6.594 kB / 379.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.5285, allocations: 5.062 kB / 379.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.5285, allocations: 2.688 kB / 379.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.529, allocations: 35.66 kB / 379.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.5291, allocations: 4.234 kB / 379.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.5294, allocations: 18.64 kB / 379.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.5294, allocations: 11.19 kB / 379.9 MB, free: 19.79 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.231e-05/0.5295, allocations: 122.4 kB / 380 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.976e-05/0.5296, allocations: 19 kB / 380 MB, free: 19.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007251/0.5303, allocations: 236.2 kB / 380.2 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.5303, allocations: 1.5 kB / 380.2 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/0.5304, allocations: 1.094 kB / 380.2 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.5304, allocations: 1.453 kB / 380.2 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004603/0.5308, allocations: 282.9 kB / 380.5 MB, free: 19.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.5309, allocations: 0 / 380.5 MB, free: 19.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000459/0.5313, allocations: 47.77 kB / 380.6 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.5314, allocations: 5.203 kB / 380.6 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.5314, allocations: 6.844 kB / 380.6 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.708e-06/0.5314, allocations: 1.219 kB / 380.6 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5314, allocations: 0 / 380.6 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005883/0.532, allocations: 305.3 kB / 380.9 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/0.5321, allocations: 94.83 kB / 381 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.5321, allocations: 2.078 kB / 381 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/0.5325, allocations: 21.33 kB / 381 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.123e-05/0.5326, allocations: 21.2 kB / 381 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.5326, allocations: 11.19 kB / 381 MB, free: 19.15 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00019/0.5328, allocations: 131.6 kB / 381.1 MB, free: 19.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5328, allocations: 0 / 381.1 MB, free: 19.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004554/0.5333, allocations: 43.34 kB / 381.2 MB, free: 19.07 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.0008602/0.5341, allocations: 0.8537 MB / 382 MB, free: 18.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005104/0.5347, allocations: 161.9 kB / 382.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5347, allocations: 0 / 382.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002475/0.5349, allocations: 97 kB / 382.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.5353, allocations: 19.05 kB / 382.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.5364, allocations: 318.5 kB / 382.6 MB, free: 18.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.5366, allocations: 0.727 MB / 383.3 MB, free: 17.51 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.5369, allocations: 52.89 kB / 383.4 MB, free: 17.51 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.5369, allocations: 0 / 383.4 MB, free: 17.51 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.569/3.106, allocations: 2.773 MB / 386.2 MB, free: 17.29 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