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.1_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.584/1.584, allocations: 171.2 MB / 183.8 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.564e-05/4.583e-05, allocations: 7.984 kB / 225 MB, free: 2.828 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2323, allocations: 38.77 MB / 263.8 MB, free: 9.887 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.445/1.678, allocations: 0.6361 GB / 0.8937 GB, free: 23.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/1.678, allocations: 73.03 kB / 0.8938 GB, free: 23.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4221/2.1, allocations: 117 MB / 1.008 GB, free: 61.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.979e-06/2.1, allocations: 4 kB / 1.008 GB, free: 61.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.054e-06/2.1, allocations: 0 / 1.008 GB, free: 61.54 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.00116/2.101, allocations: 0.5603 MB / 1.009 GB, free: 60.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/2.101, allocations: 8.031 kB / 1.009 GB, free: 60.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/2.101, allocations: 15.91 kB / 1.009 GB, free: 60.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/2.102, allocations: 175.1 kB / 1.009 GB, free: 60.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/2.102, allocations: 3.938 kB / 1.009 GB, free: 60.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/2.102, allocations: 0 / 1.009 GB, free: 60.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/2.102, allocations: 69.91 kB / 1.009 GB, free: 60.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/2.102, allocations: 4 kB / 1.009 GB, free: 60.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/2.102, allocations: 0 / 1.009 GB, free: 60.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.808e-06/2.102, allocations: 0 / 1.009 GB, free: 60.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.327e-05/2.102, allocations: 16 kB / 1.009 GB, free: 60.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/2.102, allocations: 174.5 kB / 1.009 GB, free: 60.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/2.102, allocations: 81.31 kB / 1.009 GB, free: 60.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.956e-05/2.102, allocations: 21.78 kB / 1.009 GB, free: 60.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09225/2.195, allocations: 35.88 MB / 1.044 GB, free: 20.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/2.195, allocations: 34.5 kB / 1.044 GB, free: 20.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.877e-06/2.195, allocations: 0 / 1.044 GB, free: 20.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002434/2.195, allocations: 65.53 kB / 1.044 GB, free: 20.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/2.195, allocations: 89.05 kB / 1.044 GB, free: 20.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.717e-05/2.195, allocations: 109 kB / 1.044 GB, free: 20.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/2.195, allocations: 25.7 kB / 1.045 GB, free: 20.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/2.195, allocations: 158.5 kB / 1.045 GB, free: 20.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/2.195, allocations: 15.81 kB / 1.045 GB, free: 20.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-06/2.195, allocations: 0 / 1.045 GB, free: 20.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.753e-05/2.195, allocations: 314.8 kB / 1.045 GB, free: 20.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.661e-05/2.195, allocations: 12 kB / 1.045 GB, free: 20.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.244e-05/2.195, allocations: 25.72 kB / 1.045 GB, free: 20.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.116e-05/2.195, allocations: 7.984 kB / 1.045 GB, free: 20.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.332e-06/2.195, allocations: 0 / 1.045 GB, free: 20.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001423/2.196, allocations: 65.53 kB / 1.045 GB, free: 19.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/2.196, allocations: 5.406 kB / 1.045 GB, free: 19.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.953e-06/2.196, allocations: 0 / 1.045 GB, free: 19.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/2.196, allocations: 7.953 kB / 1.045 GB, free: 19.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/2.196, allocations: 11.98 kB / 1.045 GB, free: 19.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.992e-06/2.196, allocations: 0 / 1.045 GB, free: 19.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.523e-05/2.196, allocations: 15.94 kB / 1.045 GB, free: 19.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/2.196, allocations: 3.984 kB / 1.045 GB, free: 19.91 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 5.134e-05/2.196, allocations: 105 kB / 1.045 GB, free: 19.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/2.196, allocations: 4 kB / 1.045 GB, free: 19.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/2.196, allocations: 105.8 kB / 1.045 GB, free: 19.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.269e-06/2.196, allocations: 4 kB / 1.045 GB, free: 19.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.288e-06/2.196, allocations: 3.953 kB / 1.045 GB, free: 19.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.056e-06/2.196, allocations: 3.984 kB / 1.045 GB, free: 19.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/2.196, allocations: 165.7 kB / 1.045 GB, free: 19.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.854e-06/2.197, allocations: 3 kB / 1.046 GB, free: 19.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/2.197, allocations: 8 kB / 1.046 GB, free: 19.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.999e-06/2.197, allocations: 4 kB / 1.046 GB, free: 19.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/2.197, allocations: 3.984 kB / 1.046 GB, free: 19.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.18e-06/2.197, allocations: 0 / 1.046 GB, free: 19.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/2.197, allocations: 0 / 1.046 GB, free: 19.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/2.197, allocations: 119.5 kB / 1.046 GB, free: 19.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/2.197, allocations: 85.38 kB / 1.046 GB, free: 19.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/2.197, allocations: 7.984 kB / 1.046 GB, free: 19.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/2.197, allocations: 0 / 1.046 GB, free: 19.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/2.197, allocations: 11.94 kB / 1.046 GB, free: 19.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/2.197, allocations: 15.98 kB / 1.046 GB, free: 19.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.829e-05/2.197, allocations: 87.28 kB / 1.046 GB, free: 19.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.3e-07/2.197, allocations: 7.875 kB / 1.046 GB, free: 19.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001211/2.198, allocations: 343.5 kB / 1.046 GB, free: 18.73 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.001996/2.2, allocations: 0.7053 MB / 1.047 GB, free: 18.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001807/2.201, allocations: 31.94 kB / 1.047 GB, free: 17.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.512e-06/2.201, allocations: 0 / 1.047 GB, free: 17.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.065e-05/2.201, allocations: 19.98 kB / 1.047 GB, free: 17.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/2.201, allocations: 12.55 kB / 1.047 GB, free: 17.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/2.201, allocations: 131.3 kB / 1.047 GB, free: 17.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/2.201, allocations: 0.6848 MB / 1.048 GB, free: 17.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.82e-05/2.202, allocations: 23.42 kB / 1.048 GB, free: 17.06 MB / 362.7 MB Notification: Performance of SimCode: time 1.543e-06/2.202, allocations: 4 kB / 1.048 GB, free: 17.05 MB / 362.7 MB Notification: Performance of Templates: time 0.01093/2.213, allocations: 6.715 MB / 1.054 GB, free: 10.33 MB / 362.7 MB