Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,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_TX") Notification: Performance of loadModel(Modelica): time 1.814/1.814, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.706e-05/2.729e-05, allocations: 4 kB / 255.3 MB, free: 3.195 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08134/0.08139, allocations: 44.5 MB / 299.8 MB, free: 6.641 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.1/15.18, allocations: 6.544 GB / 6.836 GB, free: 37.62 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/15.18, allocations: 77.2 kB / 6.836 GB, free: 37.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7729/15.95, allocations: 179.2 MB / 7.011 GB, free: 31.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/15.95, allocations: 0 / 7.011 GB, free: 31.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.916e-06/15.95, allocations: 0 / 7.011 GB, free: 31.18 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.004217/15.96, allocations: 1.086 MB / 7.012 GB, free: 30.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/15.96, allocations: 12.03 kB / 7.012 GB, free: 30.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/15.96, allocations: 4 kB / 7.012 GB, free: 30.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/15.96, allocations: 194.9 kB / 7.013 GB, free: 29.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/15.96, allocations: 0 / 7.013 GB, free: 29.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/15.96, allocations: 7.984 kB / 7.013 GB, free: 29.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/15.96, allocations: 75.27 kB / 7.013 GB, free: 29.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.479e-06/15.96, allocations: 0 / 7.013 GB, free: 29.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/15.96, allocations: 4 kB / 7.013 GB, free: 29.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.968e-06/15.96, allocations: 7.953 kB / 7.013 GB, free: 29.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.283e-05/15.96, allocations: 27.97 kB / 7.013 GB, free: 29.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/15.96, allocations: 186.6 kB / 7.013 GB, free: 29.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/15.96, allocations: 93.2 kB / 7.013 GB, free: 29.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.199e-05/15.96, allocations: 37.8 kB / 7.013 GB, free: 29.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.061e-05/15.96, allocations: 8 kB / 7.013 GB, free: 29.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/15.96, allocations: 34.55 kB / 7.013 GB, free: 29.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.312e-06/15.96, allocations: 0 / 7.013 GB, free: 29.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002197/15.96, allocations: 77.61 kB / 7.013 GB, free: 29.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/15.96, allocations: 85.06 kB / 7.013 GB, free: 29.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/15.96, allocations: 121.2 kB / 7.013 GB, free: 28.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/15.96, allocations: 33.7 kB / 7.013 GB, free: 28.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/15.96, allocations: 154.6 kB / 7.014 GB, free: 28.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/15.96, allocations: 19.66 kB / 7.014 GB, free: 28.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-06/15.96, allocations: 3.938 kB / 7.014 GB, free: 28.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.099e-05/15.96, allocations: 314.8 kB / 7.014 GB, free: 28.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.911e-05/15.96, allocations: 15.98 kB / 7.014 GB, free: 28.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.108e-05/15.96, allocations: 25.7 kB / 7.014 GB, free: 28.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.501e-05/15.96, allocations: 19.98 kB / 7.014 GB, free: 28.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.547e-06/15.96, allocations: 4 kB / 7.014 GB, free: 28.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001708/15.96, allocations: 77.59 kB / 7.014 GB, free: 28.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/15.96, allocations: 4 kB / 7.014 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.203e-06/15.96, allocations: 0 / 7.014 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/15.96, allocations: 4 kB / 7.014 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/15.96, allocations: 12.17 kB / 7.014 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.543e-06/15.96, allocations: 3.359 kB / 7.014 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/15.96, allocations: 11.86 kB / 7.014 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/15.96, allocations: 8.375 kB / 7.014 GB, free: 28.2 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.358e-05/15.96, allocations: 105 kB / 7.014 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/15.96, allocations: 7.984 kB / 7.014 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/15.96, allocations: 109.5 kB / 7.014 GB, free: 27.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.323e-06/15.96, allocations: 3.938 kB / 7.014 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.697e-06/15.96, allocations: 0 / 7.014 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.457e-06/15.96, allocations: 4 kB / 7.014 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/15.96, allocations: 181.6 kB / 7.014 GB, free: 27.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/15.96, allocations: 0 / 7.014 GB, free: 27.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.987e-05/15.96, allocations: 11.98 kB / 7.014 GB, free: 27.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.649e-06/15.96, allocations: 15.62 kB / 7.015 GB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/15.96, allocations: 0 / 7.015 GB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.108e-06/15.96, allocations: 3.938 kB / 7.015 GB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.094e-06/15.96, allocations: 4 kB / 7.015 GB, free: 27.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/15.96, allocations: 115.6 kB / 7.015 GB, free: 27.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.425e-05/15.96, allocations: 100.9 kB / 7.015 GB, free: 27.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/15.96, allocations: 8 kB / 7.015 GB, free: 27.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/15.96, allocations: 7.984 kB / 7.015 GB, free: 27.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/15.96, allocations: 7.984 kB / 7.015 GB, free: 27.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/15.96, allocations: 4 kB / 7.015 GB, free: 27.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.484e-05/15.96, allocations: 111.2 kB / 7.015 GB, free: 27.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.41e-07/15.96, allocations: 3.938 kB / 7.015 GB, free: 27.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004237/15.97, allocations: 0.9717 MB / 7.016 GB, free: 26.33 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.008233/15.97, allocations: 1.483 MB / 7.017 GB, free: 24.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001872/15.97, allocations: 39.98 kB / 7.017 GB, free: 24.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.353e-06/15.97, allocations: 3.938 kB / 7.017 GB, free: 24.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.815e-05/15.97, allocations: 20 kB / 7.017 GB, free: 24.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/15.97, allocations: 19.92 kB / 7.017 GB, free: 24.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/15.98, allocations: 127.5 kB / 7.017 GB, free: 24.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/15.98, allocations: 0.6887 MB / 7.018 GB, free: 23.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.495e-05/15.98, allocations: 19.44 kB / 7.018 GB, free: 23.88 MB / 410.7 MB Notification: Performance of SimCode: time 2.444e-06/15.98, allocations: 0 / 7.018 GB, free: 23.88 MB / 410.7 MB Notification: Performance of Templates: time 0.03733/16.01, allocations: 22.73 MB / 7.04 GB, free: 1.137 MB / 410.7 MB