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_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.947/1.947, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.511e-05/2.521e-05, allocations: 11.94 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2576, allocations: 44.49 MB / 294.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.499/1.757, allocations: 0.6408 GB / 0.928 GB, free: 93.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/1.757, allocations: 79.23 kB / 0.9281 GB, free: 93.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4466/2.204, allocations: 113.5 MB / 1.039 GB, free: 124.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.093e-06/2.204, allocations: 0 / 1.039 GB, free: 124.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.444e-06/2.204, allocations: 0 / 1.039 GB, free: 124.1 MB / 394.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.001189/2.205, allocations: 0.5631 MB / 1.039 GB, free: 123.6 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/2.205, allocations: 11.88 kB / 1.039 GB, free: 123.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/2.205, allocations: 3.969 kB / 1.039 GB, free: 123.6 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/2.205, allocations: 190.9 kB / 1.04 GB, free: 123.4 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/2.205, allocations: 0 / 1.04 GB, free: 123.4 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/2.205, allocations: 3.969 kB / 1.04 GB, free: 123.4 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.505e-05/2.205, allocations: 15.88 kB / 1.04 GB, free: 123.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/2.206, allocations: 57.73 kB / 1.04 GB, free: 123.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/2.206, allocations: 0 / 1.04 GB, free: 123.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/2.206, allocations: 0 / 1.04 GB, free: 123.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.716e-06/2.206, allocations: 3.094 kB / 1.04 GB, free: 123.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/2.206, allocations: 153.9 kB / 1.04 GB, free: 123.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/2.206, allocations: 75.78 kB / 1.04 GB, free: 123.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.253e-05/2.206, allocations: 20.47 kB / 1.04 GB, free: 123.1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.102/2.308, allocations: 35.87 MB / 1.075 GB, free: 96.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/2.308, allocations: 46.39 kB / 1.075 GB, free: 96.15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 4.273e-06/2.308, allocations: 2.953 kB / 1.075 GB, free: 96.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.001314/2.31, allocations: 145.6 kB / 1.075 GB, free: 96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/2.31, allocations: 77.11 kB / 1.075 GB, free: 95.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.153e-05/2.31, allocations: 113 kB / 1.075 GB, free: 95.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/2.31, allocations: 25.7 kB / 1.075 GB, free: 95.76 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.008e-05/2.31, allocations: 150.6 kB / 1.076 GB, free: 95.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/2.31, allocations: 23.66 kB / 1.076 GB, free: 95.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-06/2.31, allocations: 0 / 1.076 GB, free: 95.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.94e-05/2.31, allocations: 310.8 kB / 1.076 GB, free: 95.28 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.132e-05/2.31, allocations: 15.56 kB / 1.076 GB, free: 95.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.641e-05/2.31, allocations: 21.7 kB / 1.076 GB, free: 95.24 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/2.311, allocations: 103.9 kB / 1.076 GB, free: 95.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/2.311, allocations: 0 / 1.076 GB, free: 95.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.001122/2.312, allocations: 149.5 kB / 1.076 GB, free: 94.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/2.312, allocations: 7.984 kB / 1.076 GB, free: 94.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/2.312, allocations: 3.938 kB / 1.076 GB, free: 94.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/2.312, allocations: 4.75 kB / 1.076 GB, free: 94.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/2.312, allocations: 11.47 kB / 1.076 GB, free: 94.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.164e-06/2.312, allocations: 0 / 1.076 GB, free: 94.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.782e-05/2.313, allocations: 7.984 kB / 1.076 GB, free: 94.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/2.313, allocations: 4 kB / 1.076 GB, free: 94.95 MB / 394.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.154e-05/2.313, allocations: 108.8 kB / 1.076 GB, free: 94.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/2.313, allocations: 11.86 kB / 1.076 GB, free: 94.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/2.314, allocations: 186.2 kB / 1.076 GB, free: 94.65 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.297e-06/2.314, allocations: 7.984 kB / 1.076 GB, free: 94.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.252e-06/2.314, allocations: 7.938 kB / 1.076 GB, free: 94.63 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.304e-06/2.314, allocations: 0 / 1.076 GB, free: 94.63 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/2.314, allocations: 142.1 kB / 1.077 GB, free: 94.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.23e-06/2.314, allocations: 3.984 kB / 1.077 GB, free: 94.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/2.314, allocations: 12 kB / 1.077 GB, free: 94.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.179e-06/2.314, allocations: 0 / 1.077 GB, free: 94.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/2.314, allocations: 0 / 1.077 GB, free: 94.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.8e-06/2.314, allocations: 9.25 kB / 1.077 GB, free: 94.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.305e-06/2.314, allocations: 4 kB / 1.077 GB, free: 94.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/2.316, allocations: 196.1 kB / 1.077 GB, free: 94.22 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.454e-05/2.316, allocations: 89.09 kB / 1.077 GB, free: 94.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/2.316, allocations: 7.953 kB / 1.077 GB, free: 94.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/2.316, allocations: 3.984 kB / 1.077 GB, free: 94.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/2.316, allocations: 7.984 kB / 1.077 GB, free: 94.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/2.316, allocations: 8 kB / 1.077 GB, free: 94.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.72e-05/2.316, allocations: 91.28 kB / 1.077 GB, free: 94 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.56e-07/2.316, allocations: 0 / 1.077 GB, free: 94 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001256/2.317, allocations: 331.5 kB / 1.077 GB, free: 93.67 MB / 394.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.00236/2.32, allocations: 0.7365 MB / 1.078 GB, free: 92.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001686/2.32, allocations: 27.98 kB / 1.078 GB, free: 92.96 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.182e-06/2.32, allocations: 3.375 kB / 1.078 GB, free: 92.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.302e-05/2.32, allocations: 12 kB / 1.078 GB, free: 92.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/2.32, allocations: 15.98 kB / 1.078 GB, free: 92.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/2.32, allocations: 109.8 kB / 1.078 GB, free: 92.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/2.321, allocations: 0.6846 MB / 1.079 GB, free: 92.08 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.245e-05/2.321, allocations: 22.42 kB / 1.079 GB, free: 92.06 MB / 394.7 MB Notification: Performance of SimCode: time 1.514e-06/2.321, allocations: 0 / 1.079 GB, free: 92.06 MB / 394.7 MB Notification: Performance of Templates: time 0.0116/2.332, allocations: 6.872 MB / 1.086 GB, free: 85.2 MB / 394.7 MB