Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.991/1.991, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.647e-05/3.664e-05, allocations: 4 kB / 255.4 MB, free: 2.641 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1072, allocations: 44.52 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.972/2.079, allocations: 0.6414 GB / 0.9343 GB, free: 47.52 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/2.079, allocations: 76.56 kB / 0.9344 GB, free: 47.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5576/2.637, allocations: 117 MB / 1.049 GB, free: 108.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/2.637, allocations: 0 / 1.049 GB, free: 108.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/2.637, allocations: 0 / 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.001642/2.639, allocations: 0.5688 MB / 1.049 GB, free: 107.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/2.639, allocations: 8.031 kB / 1.049 GB, free: 107.6 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/2.639, allocations: 38.56 kB / 1.049 GB, free: 107.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/2.639, allocations: 7.797 kB / 1.049 GB, free: 107.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/2.639, allocations: 182.7 kB / 1.049 GB, free: 107.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/2.639, allocations: 0 / 1.049 GB, free: 107.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/2.639, allocations: 8 kB / 1.049 GB, free: 107.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/2.64, allocations: 63.3 kB / 1.05 GB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/2.64, allocations: 0 / 1.05 GB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/2.64, allocations: 0 / 1.05 GB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/2.64, allocations: 1.969 kB / 1.05 GB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.153e-05/2.64, allocations: 14.86 kB / 1.05 GB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/2.64, allocations: 185.5 kB / 1.05 GB, free: 107.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000338/2.64, allocations: 77.05 kB / 1.05 GB, free: 107 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.424e-05/2.64, allocations: 21.78 kB / 1.05 GB, free: 106.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.131/2.772, allocations: 35.88 MB / 1.085 GB, free: 67.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/2.772, allocations: 30.56 kB / 1.085 GB, free: 67.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 4.348e-06/2.772, allocations: 3.984 kB / 1.085 GB, free: 67.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003048/2.772, allocations: 69.61 kB / 1.085 GB, free: 67.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/2.772, allocations: 77.11 kB / 1.085 GB, free: 67.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/2.772, allocations: 101.2 kB / 1.085 GB, free: 67.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/2.772, allocations: 33.7 kB / 1.085 GB, free: 67.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.289e-05/2.772, allocations: 91.94 kB / 1.085 GB, free: 67.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/2.772, allocations: 15.72 kB / 1.085 GB, free: 67.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/2.772, allocations: 4 kB / 1.085 GB, free: 67.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.789e-05/2.772, allocations: 314.8 kB / 1.086 GB, free: 67.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.998e-05/2.772, allocations: 12 kB / 1.086 GB, free: 67.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.863e-05/2.772, allocations: 21.66 kB / 1.086 GB, free: 67.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.493e-05/2.772, allocations: 8 kB / 1.086 GB, free: 67.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/2.773, allocations: 7.953 kB / 1.086 GB, free: 67.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001517/2.773, allocations: 65.61 kB / 1.086 GB, free: 66.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/2.773, allocations: 4 kB / 1.086 GB, free: 66.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/2.773, allocations: 4 kB / 1.086 GB, free: 66.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/2.773, allocations: 3.938 kB / 1.086 GB, free: 66.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/2.773, allocations: 11.98 kB / 1.086 GB, free: 66.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/2.773, allocations: 4.062 kB / 1.086 GB, free: 66.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.493e-05/2.773, allocations: 11.84 kB / 1.086 GB, free: 66.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/2.773, allocations: 7.984 kB / 1.086 GB, free: 66.89 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 6.379e-05/2.773, allocations: 116 kB / 1.086 GB, free: 66.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/2.773, allocations: 7.953 kB / 1.086 GB, free: 66.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/2.773, allocations: 93.61 kB / 1.086 GB, free: 66.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/2.773, allocations: 0 / 1.086 GB, free: 66.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/2.774, allocations: 4 kB / 1.086 GB, free: 66.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/2.774, allocations: 0 / 1.086 GB, free: 66.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/2.774, allocations: 169.6 kB / 1.086 GB, free: 66.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/2.774, allocations: 3.984 kB / 1.086 GB, free: 66.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/2.774, allocations: 19.89 kB / 1.086 GB, free: 66.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/2.774, allocations: 0 / 1.086 GB, free: 66.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/2.774, allocations: 0 / 1.086 GB, free: 66.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/2.774, allocations: 7.922 kB / 1.086 GB, free: 66.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/2.774, allocations: 4 kB / 1.086 GB, free: 66.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/2.774, allocations: 107.9 kB / 1.086 GB, free: 66.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.716e-05/2.774, allocations: 96.98 kB / 1.086 GB, free: 66.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/2.774, allocations: 0 / 1.086 GB, free: 66.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/2.774, allocations: 7.984 kB / 1.086 GB, free: 66.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/2.774, allocations: 7.984 kB / 1.086 GB, free: 66.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/2.774, allocations: 4 kB / 1.086 GB, free: 66.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.139e-05/2.774, allocations: 91.28 kB / 1.086 GB, free: 66.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.6e-07/2.774, allocations: 0 / 1.086 GB, free: 66.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001451/2.776, allocations: 343.5 kB / 1.087 GB, free: 65.72 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.002714/2.779, allocations: 1.317 MB / 1.088 GB, free: 64.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001949/2.779, allocations: 31.92 kB / 1.088 GB, free: 64.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/2.779, allocations: 8 kB / 1.088 GB, free: 64.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.793e-05/2.779, allocations: 19.94 kB / 1.088 GB, free: 64.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/2.779, allocations: 8.234 kB / 1.088 GB, free: 64.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/2.78, allocations: 295.2 kB / 1.088 GB, free: 63.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/2.78, allocations: 0.6848 MB / 1.089 GB, free: 63.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001712/2.781, allocations: 56.03 kB / 1.089 GB, free: 63.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.791e-05/2.781, allocations: 23.42 kB / 1.089 GB, free: 63.19 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/2.781, allocations: 4 kB / 1.089 GB, free: 63.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03756/2.818, allocations: 11.18 MB / 1.1 GB, free: 52.06 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/2.819, allocations: 151.8 kB / 1.1 GB, free: 51.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.258/6.077, allocations: 0 / 1.1 GB, free: 51.83 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat