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 1.925/1.925, allocations: 194.9 MB / 208.4 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.221e-05/3.223e-05, allocations: 0 / 255.4 MB, free: 3.117 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1174, allocations: 44.52 MB / 299.9 MB, free: 6.551 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.092/2.21, allocations: 0.6414 GB / 0.9343 GB, free: 47.49 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/2.21, allocations: 77.89 kB / 0.9344 GB, free: 47.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5526/2.763, allocations: 117 MB / 1.049 GB, free: 108.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/2.763, allocations: 0 / 1.049 GB, free: 108.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.057e-06/2.763, allocations: 4 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.001397/2.764, allocations: 0.5721 MB / 1.049 GB, free: 107.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/2.764, allocations: 8.031 kB / 1.049 GB, free: 107.6 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/2.764, allocations: 38.56 kB / 1.049 GB, free: 107.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/2.765, allocations: 7.422 kB / 1.049 GB, free: 107.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/2.765, allocations: 178.9 kB / 1.049 GB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/2.765, allocations: 0 / 1.049 GB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/2.765, allocations: 0 / 1.049 GB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/2.765, allocations: 74.72 kB / 1.05 GB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/2.765, allocations: 0 / 1.05 GB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/2.765, allocations: 0 / 1.05 GB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/2.765, allocations: 1.969 kB / 1.05 GB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.633e-05/2.765, allocations: 19.23 kB / 1.05 GB, free: 107.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/2.765, allocations: 182.8 kB / 1.05 GB, free: 107 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/2.766, allocations: 79.48 kB / 1.05 GB, free: 106.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.446e-05/2.766, allocations: 21.78 kB / 1.05 GB, free: 106.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.127/2.893, allocations: 35.88 MB / 1.085 GB, free: 67.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/2.893, allocations: 38.55 kB / 1.085 GB, free: 67.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 3.346e-06/2.893, allocations: 0 / 1.085 GB, free: 67.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002902/2.893, allocations: 65.62 kB / 1.085 GB, free: 67.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/2.893, allocations: 77.11 kB / 1.085 GB, free: 67.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.979e-05/2.893, allocations: 105 kB / 1.085 GB, free: 67.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/2.893, allocations: 25.7 kB / 1.085 GB, free: 67.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/2.893, allocations: 158.6 kB / 1.085 GB, free: 67.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/2.893, allocations: 15.72 kB / 1.085 GB, free: 67.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/2.893, allocations: 4 kB / 1.085 GB, free: 67.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.022e-05/2.894, allocations: 314.8 kB / 1.086 GB, free: 67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.08e-05/2.894, allocations: 7.984 kB / 1.086 GB, free: 66.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.936e-05/2.894, allocations: 21.72 kB / 1.086 GB, free: 66.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.66e-05/2.894, allocations: 12 kB / 1.086 GB, free: 66.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/2.894, allocations: 3.953 kB / 1.086 GB, free: 66.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001509/2.894, allocations: 61.61 kB / 1.086 GB, free: 66.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/2.894, allocations: 13.56 kB / 1.086 GB, free: 66.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/2.894, allocations: 0 / 1.086 GB, free: 66.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/2.894, allocations: 0 / 1.086 GB, free: 66.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/2.894, allocations: 15.98 kB / 1.086 GB, free: 66.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/2.894, allocations: 3.938 kB / 1.086 GB, free: 66.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.351e-05/2.894, allocations: 3.938 kB / 1.086 GB, free: 66.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/2.894, allocations: 4 kB / 1.086 GB, free: 66.84 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.984e-05/2.894, allocations: 112.9 kB / 1.086 GB, free: 66.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/2.894, allocations: 11.86 kB / 1.086 GB, free: 66.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002821/2.895, allocations: 93.61 kB / 1.086 GB, free: 66.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/2.895, allocations: 4 kB / 1.086 GB, free: 66.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/2.895, allocations: 0 / 1.086 GB, free: 66.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/2.895, allocations: 0 / 1.086 GB, free: 66.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/2.895, allocations: 165.7 kB / 1.086 GB, free: 66.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/2.895, allocations: 4 kB / 1.086 GB, free: 66.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/2.895, allocations: 23.91 kB / 1.086 GB, free: 66.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/2.895, allocations: 0 / 1.086 GB, free: 66.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/2.895, allocations: 4 kB / 1.086 GB, free: 66.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/2.895, allocations: 7.875 kB / 1.086 GB, free: 66.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/2.895, allocations: 3.984 kB / 1.086 GB, free: 66.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/2.895, allocations: 111.5 kB / 1.086 GB, free: 66.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/2.895, allocations: 97 kB / 1.086 GB, free: 66.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/2.895, allocations: 0 / 1.086 GB, free: 66.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/2.896, allocations: 7.984 kB / 1.086 GB, free: 66.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/2.896, allocations: 7.984 kB / 1.086 GB, free: 66.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/2.896, allocations: 4 kB / 1.086 GB, free: 66.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.692e-05/2.896, allocations: 95.58 kB / 1.086 GB, free: 66 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.4e-07/2.896, allocations: 0 / 1.086 GB, free: 66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001426/2.897, allocations: 335.5 kB / 1.087 GB, free: 65.67 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.002778/2.9, allocations: 1.331 MB / 1.088 GB, free: 64.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000183/2.9, allocations: 31.92 kB / 1.088 GB, free: 64.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/2.9, allocations: 0 / 1.088 GB, free: 64.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.66e-05/2.9, allocations: 16.28 kB / 1.088 GB, free: 64.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/2.901, allocations: 8 kB / 1.088 GB, free: 64.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/2.902, allocations: 328.5 kB / 1.088 GB, free: 63.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/2.902, allocations: 0.6887 MB / 1.089 GB, free: 63.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/2.902, allocations: 31.95 kB / 1.089 GB, free: 63.14 MB / 410.7 MB Notification: Performance of SimCode: time 7.92e-07/2.902, allocations: 4 kB / 1.089 GB, free: 63.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.66/5.562, allocations: 6.969 MB / 1.096 GB, free: 56.16 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