Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.685/1.685, allocations: 171.3 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.196e-05/3.203e-05, allocations: 0 / 219.6 MB, free: 6.957 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2708, allocations: 38.77 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.838/2.108, allocations: 0.6355 GB / 0.8878 GB, free: 36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/2.109, allocations: 68.47 kB / 0.8878 GB, free: 35.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5202/2.629, allocations: 113.5 MB / 0.9987 GB, free: 82.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.864e-06/2.629, allocations: 0 / 0.9987 GB, free: 82.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/2.629, allocations: 0 / 0.9987 GB, free: 82.05 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.001281/2.63, allocations: 0.5565 MB / 0.9992 GB, free: 81.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.716e-05/2.631, allocations: 8.031 kB / 0.9993 GB, free: 81.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/2.631, allocations: 15.89 kB / 0.9993 GB, free: 81.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/2.631, allocations: 179 kB / 0.9994 GB, free: 81.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/2.631, allocations: 4 kB / 0.9994 GB, free: 81.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/2.631, allocations: 0 / 0.9994 GB, free: 81.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.533e-05/2.631, allocations: 21.45 kB / 0.9995 GB, free: 81.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/2.631, allocations: 55.39 kB / 0.9995 GB, free: 81.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/2.631, allocations: 0 / 0.9995 GB, free: 81.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/2.631, allocations: 4 kB / 0.9995 GB, free: 81.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/2.631, allocations: 0 / 0.9995 GB, free: 81.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/2.631, allocations: 159 kB / 0.9997 GB, free: 80.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/2.632, allocations: 73.3 kB / 0.9997 GB, free: 80.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.358e-05/2.632, allocations: 13.72 kB / 0.9998 GB, free: 80.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.125/2.757, allocations: 35.88 MB / 1.035 GB, free: 41.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/2.757, allocations: 38.56 kB / 1.035 GB, free: 41.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.597e-06/2.757, allocations: 0 / 1.035 GB, free: 41.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.001434/2.758, allocations: 153.5 kB / 1.035 GB, free: 41.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/2.758, allocations: 77.11 kB / 1.035 GB, free: 41.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.857e-05/2.758, allocations: 117 kB / 1.035 GB, free: 41.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/2.758, allocations: 25.7 kB / 1.035 GB, free: 41.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.116e-05/2.758, allocations: 84.14 kB / 1.035 GB, free: 41.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.203e-05/2.759, allocations: 11.81 kB / 1.035 GB, free: 41.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/2.759, allocations: 0 / 1.035 GB, free: 41.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/2.759, allocations: 318.8 kB / 1.036 GB, free: 40.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.291e-05/2.759, allocations: 8 kB / 1.036 GB, free: 40.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.161e-05/2.759, allocations: 21.72 kB / 1.036 GB, free: 40.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/2.76, allocations: 112 kB / 1.036 GB, free: 40.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/2.76, allocations: 0 / 1.036 GB, free: 40.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00116/2.761, allocations: 153.4 kB / 1.036 GB, free: 40.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/2.761, allocations: 4 kB / 1.036 GB, free: 40.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/2.761, allocations: 4 kB / 1.036 GB, free: 40.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/2.761, allocations: 0 / 1.036 GB, free: 40.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/2.761, allocations: 11.98 kB / 1.036 GB, free: 40.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/2.761, allocations: 7.953 kB / 1.036 GB, free: 40.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.274e-05/2.761, allocations: 3.938 kB / 1.036 GB, free: 40.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/2.761, allocations: 11.98 kB / 1.036 GB, free: 40.39 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 7.349e-05/2.761, allocations: 105 kB / 1.036 GB, free: 40.28 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001162/2.763, allocations: 157.4 kB / 1.036 GB, free: 40.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/2.763, allocations: 0 / 1.036 GB, free: 40.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/2.764, allocations: 186 kB / 1.036 GB, free: 39.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/2.764, allocations: 7.938 kB / 1.036 GB, free: 39.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/2.764, allocations: 8 kB / 1.036 GB, free: 39.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/2.764, allocations: 128 / 1.036 GB, free: 39.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/2.764, allocations: 150.1 kB / 1.036 GB, free: 39.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/2.764, allocations: 3.984 kB / 1.036 GB, free: 39.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/2.764, allocations: 15.94 kB / 1.037 GB, free: 39.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.902e-06/2.764, allocations: 4 kB / 1.037 GB, free: 39.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/2.764, allocations: 0 / 1.037 GB, free: 39.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/2.764, allocations: 3.984 kB / 1.037 GB, free: 39.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/2.764, allocations: 0 / 1.037 GB, free: 39.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/2.766, allocations: 195.6 kB / 1.037 GB, free: 39.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.507e-05/2.766, allocations: 93 kB / 1.037 GB, free: 39.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/2.766, allocations: 0 / 1.037 GB, free: 39.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/2.766, allocations: 7.984 kB / 1.037 GB, free: 39.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.745e-05/2.766, allocations: 16.16 kB / 1.037 GB, free: 39.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/2.766, allocations: 0 / 1.037 GB, free: 39.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.99e-05/2.766, allocations: 95.28 kB / 1.037 GB, free: 39.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.766, allocations: 0 / 1.037 GB, free: 39.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001456/2.768, allocations: 335.5 kB / 1.037 GB, free: 38.93 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.004175/2.772, allocations: 1.429 MB / 1.039 GB, free: 37.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001844/2.772, allocations: 23.94 kB / 1.039 GB, free: 37.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/2.772, allocations: 0 / 1.039 GB, free: 37.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.118e-05/2.772, allocations: 19.98 kB / 1.039 GB, free: 37.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/2.772, allocations: 18.27 kB / 1.039 GB, free: 37.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/2.774, allocations: 300.9 kB / 1.039 GB, free: 37.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/2.774, allocations: 0.6924 MB / 1.04 GB, free: 36.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001794/2.774, allocations: 40.36 kB / 1.04 GB, free: 36.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.952e-05/2.774, allocations: 31.36 kB / 1.04 GB, free: 36.32 MB / 362.7 MB Notification: Performance of SimCode: time 1.031e-06/2.774, allocations: 0 / 1.04 GB, free: 36.32 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05528/2.829, allocations: 9.414 MB / 1.049 GB, free: 26.91 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/2.83, allocations: 140.1 kB / 1.049 GB, free: 26.71 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.82/5.649, allocations: 4 kB / 1.049 GB, free: 26.71 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat