Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.79/1.79, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.682e-05/2.706e-05, allocations: 0 / 255.4 MB, free: 2.699 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07827/0.07833, allocations: 44.5 MB / 299.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.615/1.693, allocations: 0.6414 GB / 0.9343 GB, free: 72.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/1.694, allocations: 71.97 kB / 0.9343 GB, free: 72.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4513/2.145, allocations: 117 MB / 1.049 GB, free: 122.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.518e-06/2.145, allocations: 0 / 1.049 GB, free: 122.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.215e-06/2.145, allocations: 0 / 1.049 GB, free: 122.7 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.001106/2.146, allocations: 0.5651 MB / 1.049 GB, free: 122.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/2.146, allocations: 8.031 kB / 1.049 GB, free: 122.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/2.146, allocations: 8 kB / 1.049 GB, free: 122.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/2.147, allocations: 184.4 kB / 1.049 GB, free: 121.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/2.147, allocations: 11.66 kB / 1.049 GB, free: 121.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/2.147, allocations: 0 / 1.049 GB, free: 121.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/2.147, allocations: 65.64 kB / 1.049 GB, free: 121.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.35e-06/2.147, allocations: 0 / 1.049 GB, free: 121.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/2.147, allocations: 0 / 1.049 GB, free: 121.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.38e-06/2.147, allocations: 4 kB / 1.049 GB, free: 121.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.095e-05/2.147, allocations: 16 kB / 1.049 GB, free: 121.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/2.147, allocations: 182.1 kB / 1.05 GB, free: 121.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/2.147, allocations: 72.86 kB / 1.05 GB, free: 121.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.778e-05/2.147, allocations: 21.78 kB / 1.05 GB, free: 121.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0991/2.246, allocations: 35.87 MB / 1.085 GB, free: 87.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/2.247, allocations: 34.56 kB / 1.085 GB, free: 86.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 3.482e-06/2.247, allocations: 7.875 kB / 1.085 GB, free: 86.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002487/2.247, allocations: 58.8 kB / 1.085 GB, free: 86.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/2.247, allocations: 81.05 kB / 1.085 GB, free: 86.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.777e-05/2.247, allocations: 105 kB / 1.085 GB, free: 86.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/2.247, allocations: 33.7 kB / 1.085 GB, free: 86.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.478e-05/2.247, allocations: 88.12 kB / 1.085 GB, free: 86.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/2.247, allocations: 19.66 kB / 1.085 GB, free: 86.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.105e-06/2.247, allocations: 4 kB / 1.085 GB, free: 86.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.138e-05/2.247, allocations: 310.8 kB / 1.085 GB, free: 86.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.69e-05/2.247, allocations: 11.98 kB / 1.085 GB, free: 86.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.161e-05/2.247, allocations: 25.52 kB / 1.086 GB, free: 86.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.188e-05/2.247, allocations: 15.8 kB / 1.086 GB, free: 86.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.313e-06/2.247, allocations: 0 / 1.086 GB, free: 86.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001441/2.247, allocations: 69.56 kB / 1.086 GB, free: 86.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/2.247, allocations: 6.031 kB / 1.086 GB, free: 86.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.145e-06/2.248, allocations: 0 / 1.086 GB, free: 86.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/2.248, allocations: 4 kB / 1.086 GB, free: 86.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/2.248, allocations: 11.98 kB / 1.086 GB, free: 86.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.09e-06/2.248, allocations: 0 / 1.086 GB, free: 86.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.456e-05/2.248, allocations: 11.03 kB / 1.086 GB, free: 86.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/2.248, allocations: 4 kB / 1.086 GB, free: 86.09 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.081e-05/2.248, allocations: 113 kB / 1.086 GB, free: 85.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/2.248, allocations: 7.953 kB / 1.086 GB, free: 85.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/2.248, allocations: 97.84 kB / 1.086 GB, free: 85.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.341e-06/2.248, allocations: 0 / 1.086 GB, free: 85.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.727e-06/2.248, allocations: 0 / 1.086 GB, free: 85.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.959e-06/2.248, allocations: 8 kB / 1.086 GB, free: 85.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/2.248, allocations: 169.6 kB / 1.086 GB, free: 85.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.499e-06/2.248, allocations: 0 / 1.086 GB, free: 85.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.442e-05/2.248, allocations: 15.98 kB / 1.086 GB, free: 85.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.617e-06/2.248, allocations: 3.953 kB / 1.086 GB, free: 85.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.574e-06/2.248, allocations: 0 / 1.086 GB, free: 85.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/2.248, allocations: 0 / 1.086 GB, free: 85.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.461e-06/2.248, allocations: 7.984 kB / 1.086 GB, free: 85.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/2.249, allocations: 107.6 kB / 1.086 GB, free: 85.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/2.249, allocations: 92.95 kB / 1.086 GB, free: 85.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/2.249, allocations: 7.938 kB / 1.086 GB, free: 85.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/2.249, allocations: 7.984 kB / 1.086 GB, free: 85.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/2.249, allocations: 3.984 kB / 1.086 GB, free: 85.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/2.249, allocations: 4 kB / 1.086 GB, free: 85.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.933e-05/2.249, allocations: 95.27 kB / 1.086 GB, free: 85.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-07/2.249, allocations: 4 kB / 1.086 GB, free: 85.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00122/2.25, allocations: 343.4 kB / 1.087 GB, free: 84.91 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.002053/2.252, allocations: 0.709 MB / 1.087 GB, free: 84.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001686/2.253, allocations: 31.92 kB / 1.087 GB, free: 84.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.781e-06/2.253, allocations: 0 / 1.087 GB, free: 84.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.035e-05/2.253, allocations: 16 kB / 1.087 GB, free: 84.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/2.253, allocations: 11.94 kB / 1.087 GB, free: 84.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/2.253, allocations: 105.6 kB / 1.088 GB, free: 84.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/2.253, allocations: 0.6809 MB / 1.088 GB, free: 83.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001362/2.253, allocations: 52.19 kB / 1.088 GB, free: 83.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/2.254, allocations: 23.36 kB / 1.088 GB, free: 83.24 MB / 410.7 MB Notification: Performance of SimCode: time 1.35e-06/2.254, allocations: 0 / 1.088 GB, free: 83.24 MB / 410.7 MB Notification: Performance of Templates: time 0.01683/2.27, allocations: 9.605 MB / 1.098 GB, free: 73.63 MB / 410.7 MB