Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.819/1.819, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.603e-05/3.644e-05, allocations: 4 kB / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2669, allocations: 38.77 MB / 263.9 MB, free: 9.762 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.814/2.081, allocations: 0.6361 GB / 0.8938 GB, free: 13.35 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/2.082, allocations: 72.27 kB / 0.8939 GB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5254/2.607, allocations: 117 MB / 1.008 GB, free: 50.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/2.607, allocations: 0 / 1.008 GB, free: 50.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.698e-06/2.607, allocations: 4 kB / 1.008 GB, free: 50.73 MB / 362.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.001528/2.609, allocations: 0.5526 MB / 1.009 GB, free: 50.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/2.609, allocations: 12.03 kB / 1.009 GB, free: 50.12 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.469e-05/2.609, allocations: 38.55 kB / 1.009 GB, free: 50.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/2.609, allocations: 11.91 kB / 1.009 GB, free: 50.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/2.609, allocations: 175 kB / 1.009 GB, free: 49.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/2.609, allocations: 4 kB / 1.009 GB, free: 49.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/2.609, allocations: 5.594 kB / 1.009 GB, free: 49.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/2.609, allocations: 59.36 kB / 1.009 GB, free: 49.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/2.609, allocations: 0 / 1.009 GB, free: 49.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/2.61, allocations: 7.984 kB / 1.009 GB, free: 49.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/2.61, allocations: 0 / 1.009 GB, free: 49.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.016e-05/2.61, allocations: 19.94 kB / 1.009 GB, free: 49.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/2.61, allocations: 178.5 kB / 1.009 GB, free: 49.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/2.61, allocations: 73.28 kB / 1.009 GB, free: 49.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.576e-05/2.61, allocations: 25.77 kB / 1.009 GB, free: 49.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1496/2.76, allocations: 35.87 MB / 1.044 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/2.76, allocations: 46.38 kB / 1.044 GB, free: 10.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.906e-06/2.76, allocations: 0 / 1.044 GB, free: 10.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002877/2.76, allocations: 65.53 kB / 1.044 GB, free: 9.953 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/2.76, allocations: 85.05 kB / 1.045 GB, free: 9.852 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.778e-05/2.76, allocations: 113 kB / 1.045 GB, free: 9.734 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/2.76, allocations: 25.7 kB / 1.045 GB, free: 9.703 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/2.76, allocations: 154.6 kB / 1.045 GB, free: 9.551 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/2.761, allocations: 11.81 kB / 1.045 GB, free: 9.539 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/2.761, allocations: 0 / 1.045 GB, free: 9.539 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.9e-05/2.761, allocations: 314.8 kB / 1.045 GB, free: 9.223 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.191e-05/2.761, allocations: 11.98 kB / 1.045 GB, free: 9.211 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.804e-05/2.761, allocations: 21.72 kB / 1.045 GB, free: 9.184 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.852e-05/2.761, allocations: 12 kB / 1.045 GB, free: 9.172 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/2.761, allocations: 0 / 1.045 GB, free: 9.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001481/2.761, allocations: 65.52 kB / 1.045 GB, free: 9.102 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/2.761, allocations: 4 kB / 1.045 GB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/2.761, allocations: 4 kB / 1.045 GB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/2.761, allocations: 3.953 kB / 1.045 GB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/2.761, allocations: 11.98 kB / 1.045 GB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/2.761, allocations: 8 kB / 1.045 GB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.011e-05/2.761, allocations: 3.938 kB / 1.045 GB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/2.761, allocations: 4 kB / 1.045 GB, free: 9.062 MB / 362.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.24e-05/2.761, allocations: 112.9 kB / 1.045 GB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/2.761, allocations: 4 kB / 1.045 GB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/2.762, allocations: 110 kB / 1.045 GB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/2.762, allocations: 3.953 kB / 1.045 GB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/2.762, allocations: 4 kB / 1.045 GB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/2.762, allocations: 0 / 1.045 GB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/2.762, allocations: 161.7 kB / 1.046 GB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/2.762, allocations: 3.938 kB / 1.046 GB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/2.762, allocations: 15.98 kB / 1.046 GB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/2.762, allocations: 0 / 1.046 GB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/2.762, allocations: 0 / 1.046 GB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/2.762, allocations: 0 / 1.046 GB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/2.762, allocations: 15.94 kB / 1.046 GB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/2.762, allocations: 107.5 kB / 1.046 GB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/2.762, allocations: 89.09 kB / 1.046 GB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/2.762, allocations: 0 / 1.046 GB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/2.763, allocations: 11.94 kB / 1.046 GB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/2.763, allocations: 15.92 kB / 1.046 GB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/2.763, allocations: 0 / 1.046 GB, free: 8.305 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.219e-05/2.763, allocations: 95.28 kB / 1.046 GB, free: 8.211 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.763, allocations: 0 / 1.046 GB, free: 8.211 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001437/2.764, allocations: 335.5 kB / 1.046 GB, free: 7.883 MB / 362.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.002829/2.767, allocations: 1.339 MB / 1.048 GB, free: 6.512 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001919/2.767, allocations: 27.98 kB / 1.048 GB, free: 6.484 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/2.767, allocations: 0 / 1.048 GB, free: 6.484 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.835e-05/2.767, allocations: 19.94 kB / 1.048 GB, free: 6.465 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/2.768, allocations: 8 kB / 1.048 GB, free: 6.457 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/2.769, allocations: 328.5 kB / 1.048 GB, free: 6.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/2.769, allocations: 0.6887 MB / 1.049 GB, free: 5.375 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/2.769, allocations: 27.36 kB / 1.049 GB, free: 5.348 MB / 362.7 MB Notification: Performance of SimCode: time 9.21e-07/2.769, allocations: 0 / 1.049 GB, free: 5.348 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.033/5.802, allocations: 6.969 MB / 1.055 GB, free: 108.4 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat