Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.167/2.167, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.019e-05/4.032e-05, allocations: 4 kB / 292.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1183, allocations: 50.4 MB / 342.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.714/1.832, allocations: 0.5425 GB / 0.8771 GB, free: 0.8086 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/1.833, allocations: 71.34 kB / 0.8772 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6009/2.434, allocations: 117.4 MB / 0.9919 GB, free: 78.76 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.695e-06/2.434, allocations: 0 / 0.9919 GB, free: 78.76 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.897e-06/2.434, allocations: 0 / 0.9919 GB, free: 78.76 MB / 458.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.001548/2.435, allocations: 0.568 MB / 0.9924 GB, free: 78.14 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/2.435, allocations: 8.031 kB / 0.9924 GB, free: 78.14 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.321e-05/2.435, allocations: 34.55 kB / 0.9925 GB, free: 78.09 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/2.435, allocations: 12 kB / 0.9925 GB, free: 78.08 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/2.436, allocations: 174.9 kB / 0.9926 GB, free: 77.87 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/2.436, allocations: 12 kB / 0.9926 GB, free: 77.86 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/2.436, allocations: 3.938 kB / 0.9926 GB, free: 77.86 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/2.436, allocations: 55.41 kB / 0.9927 GB, free: 77.79 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/2.436, allocations: 3.984 kB / 0.9927 GB, free: 77.79 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/2.436, allocations: 7.953 kB / 0.9927 GB, free: 77.78 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-06/2.436, allocations: 0 / 0.9927 GB, free: 77.78 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.952e-05/2.436, allocations: 19.94 kB / 0.9927 GB, free: 77.76 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/2.436, allocations: 178.5 kB / 0.9929 GB, free: 77.53 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/2.437, allocations: 81.33 kB / 0.993 GB, free: 77.43 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.246e-05/2.437, allocations: 17.72 kB / 0.993 GB, free: 77.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.141/2.578, allocations: 35.87 MB / 1.028 GB, free: 38.09 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/2.578, allocations: 42.55 kB / 1.028 GB, free: 38.04 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 3.236e-06/2.578, allocations: 0 / 1.028 GB, free: 38.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002976/2.578, allocations: 61.56 kB / 1.028 GB, free: 37.97 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/2.578, allocations: 85.06 kB / 1.028 GB, free: 37.87 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/2.578, allocations: 109 kB / 1.028 GB, free: 37.75 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/2.578, allocations: 29.7 kB / 1.028 GB, free: 37.72 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.804e-05/2.578, allocations: 80.14 kB / 1.028 GB, free: 37.64 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/2.578, allocations: 27.64 kB / 1.028 GB, free: 37.61 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/2.578, allocations: 0 / 1.028 GB, free: 37.61 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.26e-05/2.578, allocations: 318.8 kB / 1.029 GB, free: 37.29 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.997e-05/2.579, allocations: 8 kB / 1.029 GB, free: 37.28 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.756e-05/2.579, allocations: 21.72 kB / 1.029 GB, free: 37.25 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.893e-05/2.579, allocations: 19.92 kB / 1.029 GB, free: 37.23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/2.579, allocations: 0 / 1.029 GB, free: 37.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001507/2.579, allocations: 53.69 kB / 1.029 GB, free: 37.18 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/2.579, allocations: 8 kB / 1.029 GB, free: 37.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/2.579, allocations: 0 / 1.029 GB, free: 37.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/2.579, allocations: 0 / 1.029 GB, free: 37.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/2.579, allocations: 12.11 kB / 1.029 GB, free: 37.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/2.579, allocations: 3.938 kB / 1.029 GB, free: 37.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.128e-05/2.579, allocations: 19.86 kB / 1.029 GB, free: 37.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/2.579, allocations: 0 / 1.029 GB, free: 37.13 MB / 458.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.627e-05/2.579, allocations: 109 kB / 1.029 GB, free: 37.02 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/2.579, allocations: 7.984 kB / 1.029 GB, free: 37.01 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/2.58, allocations: 93.61 kB / 1.029 GB, free: 36.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/2.58, allocations: 0 / 1.029 GB, free: 36.91 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/2.58, allocations: 0 / 1.029 GB, free: 36.91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/2.58, allocations: 8 kB / 1.029 GB, free: 36.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/2.58, allocations: 169.5 kB / 1.029 GB, free: 36.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/2.58, allocations: 0 / 1.029 GB, free: 36.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/2.58, allocations: 11.98 kB / 1.029 GB, free: 36.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/2.58, allocations: 4 kB / 1.029 GB, free: 36.67 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/2.58, allocations: 7.938 kB / 1.029 GB, free: 36.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/2.58, allocations: 3.938 kB / 1.029 GB, free: 36.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/2.58, allocations: 288 / 1.029 GB, free: 36.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/2.58, allocations: 111.6 kB / 1.029 GB, free: 36.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.69e-05/2.58, allocations: 93 kB / 1.029 GB, free: 36.41 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/2.58, allocations: 4 kB / 1.029 GB, free: 36.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/2.58, allocations: 0 / 1.029 GB, free: 36.41 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/2.581, allocations: 11.98 kB / 1.029 GB, free: 36.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/2.581, allocations: 7.953 kB / 1.029 GB, free: 36.39 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.837e-05/2.581, allocations: 95.56 kB / 1.03 GB, free: 36.29 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.581, allocations: 0 / 1.03 GB, free: 36.29 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001712/2.582, allocations: 339.5 kB / 1.03 GB, free: 35.96 MB / 458.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.003489/2.586, allocations: 1.323 MB / 1.031 GB, free: 34.61 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002136/2.586, allocations: 31.92 kB / 1.031 GB, free: 34.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/2.586, allocations: 4 kB / 1.031 GB, free: 34.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.672e-05/2.586, allocations: 16 kB / 1.031 GB, free: 34.55 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/2.586, allocations: 11.94 kB / 1.031 GB, free: 34.54 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/2.588, allocations: 298.8 kB / 1.032 GB, free: 34.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/2.588, allocations: 0.6887 MB / 1.032 GB, free: 33.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001881/2.588, allocations: 48.72 kB / 1.032 GB, free: 33.45 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.342e-05/2.588, allocations: 27.36 kB / 1.032 GB, free: 33.42 MB / 458.7 MB Notification: Performance of SimCode: time 1.132e-06/2.588, allocations: 4 kB / 1.032 GB, free: 33.41 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03908/2.628, allocations: 11.18 MB / 1.043 GB, free: 22.28 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002905/2.628, allocations: 155.4 kB / 1.043 GB, free: 22.05 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.31/5.938, allocations: 4 kB / 1.043 GB, free: 22.05 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat