Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.1/2.1, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/2.977e-05, allocations: 8 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3083, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.958/2.266, allocations: 0.6408 GB / 0.9281 GB, free: 104.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/2.266, allocations: 71.22 kB / 0.9282 GB, free: 104.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2812/2.548, allocations: 113.5 MB / 1.039 GB, free: 12.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.953e-06/2.548, allocations: 0 / 1.039 GB, free: 12.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.216e-06/2.548, allocations: 0 / 1.039 GB, free: 12.79 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001405/2.549, allocations: 0.5719 MB / 1.04 GB, free: 12.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/2.549, allocations: 12.02 kB / 1.04 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/2.549, allocations: 12 kB / 1.04 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/2.55, allocations: 190.9 kB / 1.04 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/2.55, allocations: 4 kB / 1.04 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/2.55, allocations: 0 / 1.04 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.909e-05/2.55, allocations: 16 kB / 1.04 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/2.55, allocations: 63.33 kB / 1.04 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/2.55, allocations: 0 / 1.04 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/2.55, allocations: 0 / 1.04 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/2.55, allocations: 0 / 1.04 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/2.55, allocations: 151.2 kB / 1.04 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/2.55, allocations: 73.16 kB / 1.04 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/2.55, allocations: 25.91 kB / 1.04 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3912/2.942, allocations: 35.86 MB / 1.075 GB, free: 125.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/2.942, allocations: 33.69 kB / 1.075 GB, free: 125.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 3.547e-06/2.942, allocations: 0 / 1.075 GB, free: 125.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.001388/2.943, allocations: 152.3 kB / 1.075 GB, free: 125.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/2.943, allocations: 80.48 kB / 1.075 GB, free: 125 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.571e-05/2.943, allocations: 115.5 kB / 1.075 GB, free: 124.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/2.943, allocations: 27.11 kB / 1.075 GB, free: 124.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/2.943, allocations: 150.6 kB / 1.076 GB, free: 124.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/2.943, allocations: 24.38 kB / 1.076 GB, free: 124.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.714e-06/2.943, allocations: 0 / 1.076 GB, free: 124.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.799e-05/2.944, allocations: 310.8 kB / 1.076 GB, free: 124.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.417e-05/2.944, allocations: 10.75 kB / 1.076 GB, free: 124.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.162e-05/2.944, allocations: 20.45 kB / 1.076 GB, free: 124.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/2.945, allocations: 106.7 kB / 1.076 GB, free: 124.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/2.945, allocations: 0 / 1.076 GB, free: 124.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.001121/2.946, allocations: 150.9 kB / 1.076 GB, free: 124.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/2.946, allocations: 3.531 kB / 1.076 GB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/2.946, allocations: 3.562 kB / 1.076 GB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/2.946, allocations: 5.984 kB / 1.076 GB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/2.946, allocations: 7.656 kB / 1.076 GB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/2.946, allocations: 3.844 kB / 1.076 GB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.431e-05/2.946, allocations: 15.23 kB / 1.076 GB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/2.946, allocations: 7.531 kB / 1.076 GB, free: 124.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 6.95e-05/2.946, allocations: 105.3 kB / 1.076 GB, free: 124.3 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001097/2.947, allocations: 155.4 kB / 1.077 GB, free: 124.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/2.947, allocations: 7.375 kB / 1.077 GB, free: 124.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/2.949, allocations: 194.2 kB / 1.077 GB, free: 124.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/2.949, allocations: 7.188 kB / 1.077 GB, free: 124.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/2.949, allocations: 3.953 kB / 1.077 GB, free: 124.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/2.949, allocations: 0 / 1.077 GB, free: 124.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/2.949, allocations: 140.6 kB / 1.077 GB, free: 124 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/2.949, allocations: 3.281 kB / 1.077 GB, free: 124 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/2.949, allocations: 11 kB / 1.077 GB, free: 124 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/2.949, allocations: 3.375 kB / 1.077 GB, free: 124 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/2.949, allocations: 0.5625 kB / 1.077 GB, free: 124 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/2.949, allocations: 0 / 1.077 GB, free: 124 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/2.949, allocations: 3.312 kB / 1.077 GB, free: 124 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/2.95, allocations: 204.3 kB / 1.077 GB, free: 123.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/2.95, allocations: 91.16 kB / 1.077 GB, free: 123.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/2.95, allocations: 1.031 kB / 1.077 GB, free: 123.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/2.951, allocations: 7.5 kB / 1.077 GB, free: 123.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/2.951, allocations: 10.94 kB / 1.077 GB, free: 123.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/2.951, allocations: 3 kB / 1.077 GB, free: 123.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.183e-05/2.951, allocations: 92.31 kB / 1.077 GB, free: 123.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.122e-06/2.951, allocations: 0 / 1.077 GB, free: 123.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001379/2.952, allocations: 330.8 kB / 1.078 GB, free: 123.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.004241/2.956, allocations: 1.43 MB / 1.079 GB, free: 123 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000181/2.957, allocations: 29.72 kB / 1.079 GB, free: 123 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/2.957, allocations: 0 / 1.079 GB, free: 123 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.114e-05/2.957, allocations: 16.84 kB / 1.079 GB, free: 123 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/2.957, allocations: 16.8 kB / 1.079 GB, free: 123 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/2.958, allocations: 309 kB / 1.079 GB, free: 122.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/2.958, allocations: 0.6883 MB / 1.08 GB, free: 122.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/2.959, allocations: 27.55 kB / 1.08 GB, free: 122.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.143e-06/2.959, allocations: 0 / 1.08 GB, free: 122.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.722/5.68, allocations: 7.125 MB / 1.087 GB, free: 121.1 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat