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.864/1.864, allocations: 171.1 MB / 186.3 MB, free: 1.418 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.521e-05/3.512e-05, allocations: 0 / 228.1 MB, free: 7.996 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 38.76 MB / 266.9 MB, free: 1.148 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001785/0.1121, allocations: 1.039 MB / 267.9 MB, free: 96 kB / 218.7 MB Notification: Performance of NFInst.instExpressions: time 0.01691/0.1291, allocations: 9.68 MB / 277.6 MB, free: 6.383 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.115e-05/0.1293, allocations: 0 / 277.6 MB, free: 6.383 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.1293, allocations: 0 / 277.6 MB, free: 6.383 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00323/0.1325, allocations: 0.724 MB / 278.3 MB, free: 5.656 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.1342, allocations: 422.5 kB / 278.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.851e-05/0.1344, allocations: 31.92 kB / 278.8 MB, free: 5.211 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.1344, allocations: 4 kB / 278.8 MB, free: 5.207 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.612e-05/0.1345, allocations: 23.92 kB / 278.8 MB, free: 5.184 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.186e-05/0.1346, allocations: 27.92 kB / 278.8 MB, free: 5.156 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004929/0.1395, allocations: 1.499 MB / 280.3 MB, free: 3.656 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00051/0.1401, allocations: 80 kB / 280.4 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.1401, allocations: 8 kB / 280.4 MB, free: 3.57 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.1402, allocations: 4 kB / 280.4 MB, free: 3.566 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002335/0.1425, allocations: 0.6707 MB / 281.1 MB, free: 2.895 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1426, allocations: 4 kB / 281.1 MB, free: 2.891 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1426, allocations: 0 / 281.1 MB, free: 2.891 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.1426, allocations: 0 / 281.1 MB, free: 2.891 MB / 234.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.001012/0.1437, allocations: 0.5262 MB / 281.6 MB, free: 2.316 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.1437, allocations: 8.031 kB / 281.6 MB, free: 2.309 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.1439, allocations: 15.89 kB / 281.6 MB, free: 2.293 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.1441, allocations: 179 kB / 281.8 MB, free: 2.078 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1441, allocations: 0 / 281.8 MB, free: 2.078 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.1442, allocations: 4 kB / 281.8 MB, free: 2.074 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.1444, allocations: 63.39 kB / 281.9 MB, free: 2 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1445, allocations: 0 / 281.9 MB, free: 2 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.1445, allocations: 8 kB / 281.9 MB, free: 1.992 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1445, allocations: 0 / 281.9 MB, free: 1.992 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002664/0.1448, allocations: 35.89 kB / 281.9 MB, free: 1.957 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002571/0.1451, allocations: 174.5 kB / 282.1 MB, free: 1.734 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004465/0.1455, allocations: 81.28 kB / 282.2 MB, free: 1.637 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01062/0.1562, allocations: 3.274 MB / 285.4 MB, free: 13.92 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.1562, allocations: 30.56 kB / 285.5 MB, free: 13.88 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 2.805e-06/0.1563, allocations: 4 kB / 285.5 MB, free: 13.88 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005907/0.1569, allocations: 93.86 kB / 285.6 MB, free: 13.78 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.1569, allocations: 77.11 kB / 285.6 MB, free: 13.68 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.1571, allocations: 109 kB / 285.7 MB, free: 13.57 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1571, allocations: 25.7 kB / 285.8 MB, free: 13.54 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.35e-05/0.1572, allocations: 154.5 kB / 285.9 MB, free: 13.39 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.277e-05/0.1572, allocations: 23.75 kB / 285.9 MB, free: 13.36 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/0.1572, allocations: 0 / 285.9 MB, free: 13.36 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1574, allocations: 318.8 kB / 286.3 MB, free: 13.04 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.1575, allocations: 15.98 kB / 286.3 MB, free: 13.03 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.1577, allocations: 33.7 kB / 286.3 MB, free: 12.99 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.1578, allocations: 15.97 kB / 286.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1579, allocations: 0 / 286.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003486/0.1582, allocations: 81.47 kB / 286.4 MB, free: 12.89 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.1582, allocations: 9.406 kB / 286.4 MB, free: 12.88 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1583, allocations: 0 / 286.4 MB, free: 12.88 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.1583, allocations: 3.984 kB / 286.4 MB, free: 12.88 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.1584, allocations: 8 kB / 286.4 MB, free: 12.87 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1585, allocations: 4 kB / 286.4 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.276e-05/0.1586, allocations: 3.984 kB / 286.4 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.1586, allocations: 7.938 kB / 286.4 MB, free: 12.85 MB / 250.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 0.0001011/0.1587, allocations: 113.8 kB / 286.6 MB, free: 12.73 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.1587, allocations: 7.953 kB / 286.6 MB, free: 12.72 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004946/0.1592, allocations: 109.7 kB / 286.7 MB, free: 12.61 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1593, allocations: 4 kB / 286.7 MB, free: 12.61 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1593, allocations: 4 kB / 286.7 MB, free: 12.61 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1593, allocations: 0 / 286.7 MB, free: 12.61 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.1595, allocations: 169.6 kB / 286.8 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1595, allocations: 0 / 286.8 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.1596, allocations: 19.92 kB / 286.9 MB, free: 12.37 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.1597, allocations: 3.953 kB / 286.9 MB, free: 12.37 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1597, allocations: 0 / 286.9 MB, free: 12.37 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.1597, allocations: 7.984 kB / 286.9 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1597, allocations: 0 / 286.9 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.1601, allocations: 119.6 kB / 287 MB, free: 12.21 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.788e-05/0.1602, allocations: 89.05 kB / 287.1 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.1602, allocations: 4 kB / 287.1 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.1604, allocations: 7.984 kB / 287.1 MB, free: 12.1 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/0.1605, allocations: 7.984 kB / 287.1 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.1605, allocations: 4 kB / 287.1 MB, free: 12.09 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.783e-05/0.1606, allocations: 103.2 kB / 287.2 MB, free: 11.98 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.435e-06/0.1606, allocations: 0 / 287.2 MB, free: 11.98 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00115/0.1618, allocations: 323.5 kB / 287.5 MB, free: 11.67 MB / 250.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.001835/0.1636, allocations: 0.5614 MB / 288.1 MB, free: 11.1 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003967/0.164, allocations: 43.95 kB / 288.1 MB, free: 11.05 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.1641, allocations: 0 / 288.1 MB, free: 11.05 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.1642, allocations: 27.92 kB / 288.1 MB, free: 11.03 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.1645, allocations: 4 kB / 288.1 MB, free: 11.02 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006064/0.1651, allocations: 222.9 kB / 288.4 MB, free: 10.77 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.1654, allocations: 0.6848 MB / 289.1 MB, free: 10.05 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.958e-05/0.1656, allocations: 19.42 kB / 289.1 MB, free: 10.04 MB / 250.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1656, allocations: 0 / 289.1 MB, free: 10.04 MB / 250.7 MB Notification: Performance of Templates: time 0.01718/0.1828, allocations: 6.554 MB / 295.6 MB, free: 3.473 MB / 250.7 MB