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.825/1.825, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.236e-05/3.273e-05, allocations: 2.094 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0815/0.08156, allocations: 44.5 MB / 299.8 MB, free: 6.648 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.579/1.66, allocations: 0.6414 GB / 0.9342 GB, free: 73.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/1.66, allocations: 71.97 kB / 0.9343 GB, free: 73.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4559/2.116, allocations: 117 MB / 1.049 GB, free: 123.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.609e-06/2.116, allocations: 0 / 1.049 GB, free: 123.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.043e-06/2.116, allocations: 0 / 1.049 GB, free: 123.1 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.001102/2.118, allocations: 0.5629 MB / 1.049 GB, free: 122.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/2.118, allocations: 8.031 kB / 1.049 GB, free: 122.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/2.118, allocations: 8 kB / 1.049 GB, free: 122.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/2.118, allocations: 182.6 kB / 1.049 GB, free: 122.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/2.118, allocations: 4 kB / 1.049 GB, free: 122.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/2.118, allocations: 4 kB / 1.049 GB, free: 122.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/2.118, allocations: 64.84 kB / 1.049 GB, free: 122.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.719e-06/2.118, allocations: 0 / 1.049 GB, free: 122.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/2.118, allocations: 0 / 1.049 GB, free: 122.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/2.118, allocations: 4 kB / 1.049 GB, free: 122.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.428e-05/2.118, allocations: 21.53 kB / 1.049 GB, free: 122.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/2.118, allocations: 181.7 kB / 1.05 GB, free: 122 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/2.119, allocations: 80.34 kB / 1.05 GB, free: 121.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.84e-05/2.119, allocations: 21.72 kB / 1.05 GB, free: 121.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09463/2.213, allocations: 35.87 MB / 1.085 GB, free: 87.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/2.214, allocations: 38.56 kB / 1.085 GB, free: 87.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 3.34e-06/2.214, allocations: 3.938 kB / 1.085 GB, free: 87.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002543/2.214, allocations: 65.31 kB / 1.085 GB, free: 87.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/2.214, allocations: 85.11 kB / 1.085 GB, free: 87.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.934e-05/2.214, allocations: 109 kB / 1.085 GB, free: 87.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/2.214, allocations: 25.7 kB / 1.085 GB, free: 87.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.936e-05/2.214, allocations: 150.6 kB / 1.085 GB, free: 87.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/2.214, allocations: 27.64 kB / 1.085 GB, free: 86.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.449e-06/2.214, allocations: 0 / 1.085 GB, free: 86.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.892e-05/2.214, allocations: 310.8 kB / 1.085 GB, free: 86.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.867e-05/2.214, allocations: 12 kB / 1.085 GB, free: 86.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.291e-05/2.214, allocations: 29.7 kB / 1.086 GB, free: 86.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.044e-05/2.214, allocations: 7.938 kB / 1.086 GB, free: 86.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.692e-06/2.214, allocations: 0 / 1.086 GB, free: 86.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000144/2.214, allocations: 65.62 kB / 1.086 GB, free: 86.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/2.214, allocations: 4.938 kB / 1.086 GB, free: 86.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.441e-06/2.215, allocations: 0 / 1.086 GB, free: 86.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/2.215, allocations: 4 kB / 1.086 GB, free: 86.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/2.215, allocations: 15.92 kB / 1.086 GB, free: 86.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.777e-06/2.215, allocations: 0 / 1.086 GB, free: 86.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.59e-05/2.215, allocations: 12 kB / 1.086 GB, free: 86.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/2.215, allocations: 0 / 1.086 GB, free: 86.51 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.443e-05/2.215, allocations: 105 kB / 1.086 GB, free: 86.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/2.215, allocations: 11.86 kB / 1.086 GB, free: 86.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/2.215, allocations: 97.59 kB / 1.086 GB, free: 86.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/2.215, allocations: 0 / 1.086 GB, free: 86.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.553e-06/2.215, allocations: 4 kB / 1.086 GB, free: 86.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.123e-06/2.215, allocations: 4 kB / 1.086 GB, free: 86.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/2.215, allocations: 161.7 kB / 1.086 GB, free: 86.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.306e-06/2.215, allocations: 0 / 1.086 GB, free: 86.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.415e-05/2.215, allocations: 19.86 kB / 1.086 GB, free: 86.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.607e-06/2.215, allocations: 7.953 kB / 1.086 GB, free: 86.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/2.215, allocations: 4 kB / 1.086 GB, free: 86.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.599e-06/2.215, allocations: 0 / 1.086 GB, free: 86.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.27e-06/2.216, allocations: 3.938 kB / 1.086 GB, free: 86.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/2.216, allocations: 114.9 kB / 1.086 GB, free: 85.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.928e-05/2.216, allocations: 93.05 kB / 1.086 GB, free: 85.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/2.216, allocations: 3.938 kB / 1.086 GB, free: 85.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/2.216, allocations: 7.984 kB / 1.086 GB, free: 85.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/2.216, allocations: 7.938 kB / 1.086 GB, free: 85.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/2.216, allocations: 7.984 kB / 1.086 GB, free: 85.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.037e-05/2.216, allocations: 95.59 kB / 1.086 GB, free: 85.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.78e-07/2.216, allocations: 0 / 1.086 GB, free: 85.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001221/2.217, allocations: 335.5 kB / 1.087 GB, free: 85.34 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.002234/2.22, allocations: 0.72 MB / 1.087 GB, free: 84.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001711/2.22, allocations: 35.92 kB / 1.087 GB, free: 84.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.385e-06/2.22, allocations: 0 / 1.087 GB, free: 84.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.922e-05/2.22, allocations: 12 kB / 1.087 GB, free: 84.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/2.22, allocations: 19.94 kB / 1.087 GB, free: 84.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003612/2.22, allocations: 123.3 kB / 1.088 GB, free: 84.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/2.221, allocations: 0.6848 MB / 1.088 GB, free: 83.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.475e-05/2.221, allocations: 27.41 kB / 1.088 GB, free: 83.68 MB / 410.7 MB Notification: Performance of SimCode: time 1.82e-06/2.221, allocations: 0 / 1.088 GB, free: 83.68 MB / 410.7 MB Notification: Performance of Templates: time 0.01159/2.232, allocations: 6.72 MB / 1.095 GB, free: 76.96 MB / 410.7 MB