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_trunk_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 2.099/2.099, allocations: 224.7 MB / 241.1 MB, free: 1.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.587e-05/3.587e-05, allocations: 0 / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.126, allocations: 50.41 MB / 345 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001755/0.1278, allocations: 1.045 MB / 346 MB, free: 7.891 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01701/0.1449, allocations: 9.701 MB / 355.7 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.822e-05/0.145, allocations: 0 / 355.7 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.406e-05/0.145, allocations: 7.922 kB / 355.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002888/0.1479, allocations: 0.7162 MB / 356.4 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.1495, allocations: 418.6 kB / 356.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.059e-05/0.1497, allocations: 39.81 kB / 356.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.1497, allocations: 0 / 356.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.259e-05/0.1498, allocations: 27.97 kB / 356.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.834e-05/0.1499, allocations: 23.92 kB / 356.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004647/0.1545, allocations: 1.503 MB / 358.4 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003351/0.1549, allocations: 80 kB / 358.5 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.155, allocations: 11.88 kB / 358.5 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.155, allocations: 8 kB / 358.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002044/0.1571, allocations: 0.663 MB / 359.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1571, allocations: 0 / 359.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1571, allocations: 0 / 359.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.1571, allocations: 0 / 359.2 MB, free: 10.66 MB / 298.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.0008947/0.158, allocations: 0.5222 MB / 359.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1581, allocations: 12.03 kB / 359.7 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.1582, allocations: 11.98 kB / 359.7 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.1584, allocations: 174.9 kB / 359.9 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.1585, allocations: 7.984 kB / 359.9 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.1585, allocations: 0 / 359.9 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.1587, allocations: 67.33 kB / 360 MB, free: 9.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1587, allocations: 3.984 kB / 360 MB, free: 9.766 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.1588, allocations: 3.953 kB / 360 MB, free: 9.762 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.1588, allocations: 8 kB / 360 MB, free: 9.754 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.159, allocations: 19.98 kB / 360 MB, free: 9.734 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.1593, allocations: 170.6 kB / 360.2 MB, free: 9.516 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004023/0.1597, allocations: 77.22 kB / 360.3 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0106/0.1703, allocations: 3.274 MB / 363.5 MB, free: 5.703 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.1704, allocations: 30.56 kB / 363.6 MB, free: 5.664 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.475e-06/0.1704, allocations: 3.938 kB / 363.6 MB, free: 5.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.000479/0.1709, allocations: 85.52 kB / 363.7 MB, free: 5.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.171, allocations: 85.05 kB / 363.7 MB, free: 5.469 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.1711, allocations: 109 kB / 363.8 MB, free: 5.355 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.1711, allocations: 25.7 kB / 363.9 MB, free: 5.324 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.1712, allocations: 154.5 kB / 364 MB, free: 5.172 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.1713, allocations: 23.73 kB / 364 MB, free: 5.148 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.1713, allocations: 0 / 364 MB, free: 5.148 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1714, allocations: 318.8 kB / 364.4 MB, free: 4.828 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.05e-05/0.1715, allocations: 11.98 kB / 364.4 MB, free: 4.816 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.8e-05/0.1716, allocations: 25.72 kB / 364.4 MB, free: 4.785 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.528e-05/0.1718, allocations: 11.98 kB / 364.4 MB, free: 4.773 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1718, allocations: 0 / 364.4 MB, free: 4.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002775/0.1721, allocations: 69.61 kB / 364.5 MB, free: 4.699 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.1721, allocations: 4 kB / 364.5 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1721, allocations: 0 / 364.5 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1721, allocations: 4 kB / 364.5 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1723, allocations: 15.98 kB / 364.5 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1723, allocations: 0 / 364.5 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.983e-05/0.1724, allocations: 11.86 kB / 364.5 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.1724, allocations: 4 kB / 364.5 MB, free: 4.66 MB / 298.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 9.871e-05/0.1725, allocations: 113.8 kB / 364.6 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.1725, allocations: 4 kB / 364.6 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004273/0.173, allocations: 113.8 kB / 364.7 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.173, allocations: 0 / 364.7 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.173, allocations: 8.125 kB / 364.7 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.173, allocations: 0 / 364.7 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.1732, allocations: 177.5 kB / 364.9 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1732, allocations: 0 / 364.9 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.1734, allocations: 15.98 kB / 364.9 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.1734, allocations: 0 / 364.9 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1734, allocations: 4 kB / 364.9 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1734, allocations: 0 / 364.9 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.1734, allocations: 4 kB / 364.9 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.1737, allocations: 111.6 kB / 365.1 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.782e-05/0.1738, allocations: 93 kB / 365.1 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.1738, allocations: 7.922 kB / 365.2 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.174, allocations: 8 kB / 365.2 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.174, allocations: 7.984 kB / 365.2 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.1741, allocations: 3.953 kB / 365.2 MB, free: 3.895 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.345e-05/0.1742, allocations: 95.28 kB / 365.3 MB, free: 3.801 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1742, allocations: 0 / 365.3 MB, free: 3.801 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001111/0.1753, allocations: 315.6 kB / 365.6 MB, free: 3.492 MB / 298.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.001776/0.1771, allocations: 0.569 MB / 366.1 MB, free: 2.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002955/0.1774, allocations: 39.91 kB / 366.2 MB, free: 2.871 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1774, allocations: 0 / 366.2 MB, free: 2.871 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.1776, allocations: 19.98 kB / 366.2 MB, free: 2.852 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.1778, allocations: 8.484 kB / 366.2 MB, free: 2.844 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005827/0.1784, allocations: 223 kB / 366.4 MB, free: 2.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.1786, allocations: 0.6848 MB / 367.1 MB, free: 1.879 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.432e-05/0.1788, allocations: 27.42 kB / 367.1 MB, free: 1.852 MB / 298.7 MB Notification: Performance of SimCode: time 2.855e-06/0.1788, allocations: 0 / 367.1 MB, free: 1.852 MB / 298.7 MB Notification: Performance of Templates: time 0.01628/0.1951, allocations: 6.554 MB / 373.7 MB, free: 11.29 MB / 314.7 MB