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.699/1.699, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.682e-05/2.683e-05, allocations: 4 kB / 219.6 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.259, allocations: 38.76 MB / 258.3 MB, free: 12.16 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.856/2.115, allocations: 0.6355 GB / 0.8877 GB, free: 36.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/2.115, allocations: 72.53 kB / 0.8878 GB, free: 36.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5628/2.678, allocations: 113.5 MB / 0.9987 GB, free: 82.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/2.678, allocations: 0 / 0.9987 GB, free: 82.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.785e-06/2.678, allocations: 0 / 0.9987 GB, free: 82.67 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.001349/2.679, allocations: 0.5565 MB / 0.9992 GB, free: 82.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/2.679, allocations: 12.02 kB / 0.9992 GB, free: 82.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/2.679, allocations: 15.84 kB / 0.9993 GB, free: 82.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/2.68, allocations: 171.1 kB / 0.9994 GB, free: 81.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/2.68, allocations: 4 kB / 0.9994 GB, free: 81.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/2.68, allocations: 0 / 0.9994 GB, free: 81.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.141e-05/2.68, allocations: 27.94 kB / 0.9994 GB, free: 81.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/2.68, allocations: 59.41 kB / 0.9995 GB, free: 81.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/2.68, allocations: 0 / 0.9995 GB, free: 81.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/2.68, allocations: 0 / 0.9995 GB, free: 81.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/2.68, allocations: 0 / 0.9995 GB, free: 81.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/2.68, allocations: 158.9 kB / 0.9997 GB, free: 81.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/2.681, allocations: 73.2 kB / 0.9997 GB, free: 81.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.725e-05/2.681, allocations: 25.95 kB / 0.9997 GB, free: 81.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.128/2.809, allocations: 35.86 MB / 1.035 GB, free: 42.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/2.809, allocations: 38.56 kB / 1.035 GB, free: 42.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.665e-06/2.809, allocations: 0 / 1.035 GB, free: 42.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.001357/2.81, allocations: 157.4 kB / 1.035 GB, free: 42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/2.81, allocations: 81.09 kB / 1.035 GB, free: 41.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.602e-05/2.81, allocations: 101.1 kB / 1.035 GB, free: 41.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/2.81, allocations: 25.7 kB / 1.035 GB, free: 41.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/2.81, allocations: 158.6 kB / 1.035 GB, free: 41.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/2.81, allocations: 19.73 kB / 1.035 GB, free: 41.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/2.81, allocations: 0 / 1.035 GB, free: 41.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.626e-05/2.81, allocations: 318.8 kB / 1.036 GB, free: 41.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.261e-05/2.81, allocations: 8 kB / 1.036 GB, free: 41.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.005e-05/2.811, allocations: 21.72 kB / 1.036 GB, free: 41.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/2.812, allocations: 108 kB / 1.036 GB, free: 41.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/2.812, allocations: 0 / 1.036 GB, free: 41.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.001114/2.813, allocations: 157.4 kB / 1.036 GB, free: 40.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/2.813, allocations: 4 kB / 1.036 GB, free: 40.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/2.813, allocations: 0 / 1.036 GB, free: 40.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/2.813, allocations: 4 kB / 1.036 GB, free: 40.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/2.813, allocations: 11.98 kB / 1.036 GB, free: 40.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/2.813, allocations: 3.953 kB / 1.036 GB, free: 40.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.309e-05/2.813, allocations: 7.938 kB / 1.036 GB, free: 40.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/2.813, allocations: 0 / 1.036 GB, free: 40.94 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.707e-05/2.813, allocations: 109 kB / 1.036 GB, free: 40.83 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001113/2.814, allocations: 153.5 kB / 1.036 GB, free: 40.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.969e-05/2.814, allocations: 7.906 kB / 1.036 GB, free: 40.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/2.816, allocations: 186.1 kB / 1.036 GB, free: 40.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/2.816, allocations: 3.953 kB / 1.036 GB, free: 40.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/2.816, allocations: 0 / 1.036 GB, free: 40.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/2.816, allocations: 3.984 kB / 1.036 GB, free: 40.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/2.816, allocations: 150 kB / 1.037 GB, free: 40.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/2.816, allocations: 4 kB / 1.037 GB, free: 40.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/2.816, allocations: 15.92 kB / 1.037 GB, free: 40.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/2.816, allocations: 0 / 1.037 GB, free: 40.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/2.816, allocations: 4 kB / 1.037 GB, free: 40.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/2.816, allocations: 0 / 1.037 GB, free: 40.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/2.816, allocations: 3.984 kB / 1.037 GB, free: 40.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/2.817, allocations: 199.7 kB / 1.037 GB, free: 40.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.51e-05/2.817, allocations: 89.06 kB / 1.037 GB, free: 39.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/2.817, allocations: 4 kB / 1.037 GB, free: 39.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/2.817, allocations: 7.984 kB / 1.037 GB, free: 39.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/2.817, allocations: 3.953 kB / 1.037 GB, free: 39.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/2.818, allocations: 15.92 kB / 1.037 GB, free: 39.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.699e-05/2.818, allocations: 87.28 kB / 1.037 GB, free: 39.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/2.818, allocations: 3.938 kB / 1.037 GB, free: 39.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001269/2.819, allocations: 339.5 kB / 1.037 GB, free: 39.48 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.003832/2.823, allocations: 1.41 MB / 1.039 GB, free: 38.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001661/2.823, allocations: 27.94 kB / 1.039 GB, free: 38.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/2.823, allocations: 4 kB / 1.039 GB, free: 38.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.084e-05/2.823, allocations: 23.92 kB / 1.039 GB, free: 38.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/2.823, allocations: 7.594 kB / 1.039 GB, free: 38.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/2.824, allocations: 322.8 kB / 1.039 GB, free: 37.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/2.824, allocations: 0.6961 MB / 1.04 GB, free: 36.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/2.825, allocations: 31.36 kB / 1.04 GB, free: 36.9 MB / 362.7 MB Notification: Performance of SimCode: time 8.61e-07/2.825, allocations: 0 / 1.04 GB, free: 36.9 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.749/5.573, allocations: 7.129 MB / 1.047 GB, free: 29.76 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