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.107/2.107, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.126e-05/3.133e-05, allocations: 3.094 kB / 255.5 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09893/0.09899, allocations: 44.5 MB / 300 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.982/2.081, allocations: 0.6414 GB / 0.9344 GB, free: 47.47 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/2.082, allocations: 82.2 kB / 0.9344 GB, free: 47.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5417/2.623, allocations: 117 MB / 1.049 GB, free: 108.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.014e-06/2.623, allocations: 0 / 1.049 GB, free: 108.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/2.623, allocations: 8 kB / 1.049 GB, free: 108.2 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.001364/2.625, allocations: 0.5694 MB / 1.049 GB, free: 107.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/2.625, allocations: 15.69 kB / 1.049 GB, free: 107.6 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.891e-05/2.625, allocations: 30.56 kB / 1.049 GB, free: 107.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/2.625, allocations: 8 kB / 1.049 GB, free: 107.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/2.625, allocations: 182.6 kB / 1.049 GB, free: 107.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/2.625, allocations: 4 kB / 1.049 GB, free: 107.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/2.625, allocations: 4 kB / 1.049 GB, free: 107.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/2.625, allocations: 62.73 kB / 1.05 GB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/2.625, allocations: 0 / 1.05 GB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/2.625, allocations: 4 kB / 1.05 GB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/2.626, allocations: 0 / 1.05 GB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.402e-05/2.626, allocations: 19.78 kB / 1.05 GB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/2.626, allocations: 181.8 kB / 1.05 GB, free: 107 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/2.626, allocations: 76.95 kB / 1.05 GB, free: 107 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.499e-05/2.626, allocations: 25.53 kB / 1.05 GB, free: 106.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1334/2.76, allocations: 35.87 MB / 1.085 GB, free: 67.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/2.76, allocations: 38.56 kB / 1.085 GB, free: 67.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.845e-06/2.76, allocations: 0 / 1.085 GB, free: 67.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002946/2.76, allocations: 65.61 kB / 1.085 GB, free: 67.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/2.76, allocations: 77.11 kB / 1.085 GB, free: 67.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.838e-05/2.76, allocations: 105 kB / 1.085 GB, free: 67.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/2.76, allocations: 25.7 kB / 1.085 GB, free: 67.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/2.76, allocations: 154.6 kB / 1.085 GB, free: 67.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/2.76, allocations: 27.64 kB / 1.085 GB, free: 67.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/2.76, allocations: 0 / 1.085 GB, free: 67.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.261e-05/2.76, allocations: 314.8 kB / 1.086 GB, free: 66.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.98e-05/2.76, allocations: 8 kB / 1.086 GB, free: 66.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.568e-05/2.761, allocations: 17.72 kB / 1.086 GB, free: 66.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.88e-05/2.761, allocations: 19.92 kB / 1.086 GB, free: 66.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/2.761, allocations: 3.953 kB / 1.086 GB, free: 66.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001482/2.761, allocations: 57.67 kB / 1.086 GB, free: 66.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/2.761, allocations: 8 kB / 1.086 GB, free: 66.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/2.761, allocations: 4 kB / 1.086 GB, free: 66.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/2.761, allocations: 0 / 1.086 GB, free: 66.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/2.761, allocations: 15.92 kB / 1.086 GB, free: 66.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/2.761, allocations: 7.938 kB / 1.086 GB, free: 66.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.311e-05/2.761, allocations: 3.938 kB / 1.086 GB, free: 66.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/2.761, allocations: 4 kB / 1.086 GB, free: 66.79 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 5.966e-05/2.761, allocations: 105 kB / 1.086 GB, free: 66.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/2.761, allocations: 11.86 kB / 1.086 GB, free: 66.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002839/2.762, allocations: 101.6 kB / 1.086 GB, free: 66.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/2.762, allocations: 0 / 1.086 GB, free: 66.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/2.762, allocations: 4 kB / 1.086 GB, free: 66.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/2.762, allocations: 0 / 1.086 GB, free: 66.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/2.762, allocations: 161.7 kB / 1.086 GB, free: 66.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/2.762, allocations: 0 / 1.086 GB, free: 66.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/2.762, allocations: 23.94 kB / 1.086 GB, free: 66.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/2.762, allocations: 288 / 1.086 GB, free: 66.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/2.762, allocations: 0 / 1.086 GB, free: 66.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/2.762, allocations: 3.938 kB / 1.086 GB, free: 66.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/2.762, allocations: 7.438 kB / 1.086 GB, free: 66.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/2.762, allocations: 115.5 kB / 1.086 GB, free: 66.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/2.762, allocations: 97 kB / 1.086 GB, free: 66.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/2.762, allocations: 0 / 1.086 GB, free: 66.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/2.762, allocations: 7.984 kB / 1.086 GB, free: 66.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/2.762, allocations: 4 kB / 1.086 GB, free: 66.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/2.762, allocations: 0 / 1.086 GB, free: 66.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.348e-05/2.762, allocations: 103.6 kB / 1.087 GB, free: 65.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/2.763, allocations: 0 / 1.087 GB, free: 65.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00149/2.764, allocations: 331.5 kB / 1.087 GB, free: 65.62 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.002895/2.767, allocations: 1.331 MB / 1.088 GB, free: 64.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002083/2.767, allocations: 27.94 kB / 1.088 GB, free: 64.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/2.767, allocations: 3.938 kB / 1.088 GB, free: 64.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.972e-05/2.767, allocations: 19.98 kB / 1.088 GB, free: 64.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/2.768, allocations: 12 kB / 1.088 GB, free: 64.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/2.769, allocations: 324.5 kB / 1.088 GB, free: 63.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/2.769, allocations: 0.6887 MB / 1.089 GB, free: 63.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/2.769, allocations: 23.42 kB / 1.089 GB, free: 63.1 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/2.769, allocations: 4 kB / 1.089 GB, free: 63.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.486/5.255, allocations: 6.973 MB / 1.096 GB, free: 56.12 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