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_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.647/1.647, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.603e-05/2.58e-05, allocations: 2.188 kB / 228.1 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07859/0.07864, allocations: 38.77 MB / 266.9 MB, free: 496 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.00167/0.08036, allocations: 1.034 MB / 267.9 MB, free: 15.44 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01625/0.09665, allocations: 9.675 MB / 277.6 MB, free: 5.73 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.716e-05/0.09676, allocations: 0 / 277.6 MB, free: 5.73 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.285e-05/0.09679, allocations: 3.984 kB / 277.6 MB, free: 5.727 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002815/0.09962, allocations: 0.7201 MB / 278.3 MB, free: 5.004 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.1012, allocations: 426.5 kB / 278.8 MB, free: 4.586 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.584e-05/0.1013, allocations: 27.95 kB / 278.8 MB, free: 4.559 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.29e-05/0.1014, allocations: 4 kB / 278.8 MB, free: 4.555 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.466e-05/0.1014, allocations: 23.92 kB / 278.8 MB, free: 4.531 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.918e-05/0.1015, allocations: 31.91 kB / 278.8 MB, free: 4.5 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004583/0.1061, allocations: 1.495 MB / 280.3 MB, free: 3.004 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003349/0.1065, allocations: 80 kB / 280.4 MB, free: 2.926 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.555e-05/0.1065, allocations: 15.97 kB / 280.4 MB, free: 2.91 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.1066, allocations: 4 kB / 280.4 MB, free: 2.906 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001928/0.1085, allocations: 0.6668 MB / 281.1 MB, free: 2.238 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1085, allocations: 0 / 281.1 MB, free: 2.238 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1086, allocations: 0 / 281.1 MB, free: 2.238 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.1086, allocations: 0 / 281.1 MB, free: 2.238 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.0008986/0.1095, allocations: 0.5262 MB / 281.6 MB, free: 1.664 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1095, allocations: 8.031 kB / 281.6 MB, free: 1.656 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.1097, allocations: 11.91 kB / 281.7 MB, free: 1.645 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.1099, allocations: 182.9 kB / 281.8 MB, free: 1.426 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.1099, allocations: 0 / 281.8 MB, free: 1.426 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.11, allocations: 4 kB / 281.8 MB, free: 1.422 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.1102, allocations: 67.38 kB / 281.9 MB, free: 1.344 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1103, allocations: 8 kB / 281.9 MB, free: 1.336 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.1103, allocations: 4 kB / 281.9 MB, free: 1.332 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1103, allocations: 0 / 281.9 MB, free: 1.332 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002508/0.1105, allocations: 35.89 kB / 281.9 MB, free: 1.297 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.1108, allocations: 174.6 kB / 282.1 MB, free: 1.074 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004284/0.1112, allocations: 85.22 kB / 282.2 MB, free: 0.9727 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01035/0.1216, allocations: 3.266 MB / 285.5 MB, free: 13.26 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.1217, allocations: 34.56 kB / 285.5 MB, free: 13.22 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 2.415e-06/0.1217, allocations: 4 kB / 285.5 MB, free: 13.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005749/0.1223, allocations: 93.48 kB / 285.6 MB, free: 13.12 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.1224, allocations: 77.11 kB / 285.7 MB, free: 13.02 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.1225, allocations: 105 kB / 285.8 MB, free: 12.91 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.1225, allocations: 25.7 kB / 285.8 MB, free: 12.88 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.1226, allocations: 92.14 kB / 285.9 MB, free: 12.79 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.971e-05/0.1227, allocations: 19.73 kB / 285.9 MB, free: 12.77 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.1227, allocations: 7.938 kB / 285.9 MB, free: 12.76 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1228, allocations: 314.8 kB / 286.2 MB, free: 12.45 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.123, allocations: 19.92 kB / 286.2 MB, free: 12.43 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.1231, allocations: 21.7 kB / 286.3 MB, free: 12.4 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.1233, allocations: 19.92 kB / 286.3 MB, free: 12.38 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1233, allocations: 0 / 286.3 MB, free: 12.38 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003431/0.1236, allocations: 85.52 kB / 286.4 MB, free: 12.29 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1237, allocations: 4 kB / 286.4 MB, free: 12.29 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1237, allocations: 0 / 286.4 MB, free: 12.29 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1237, allocations: 4 kB / 286.4 MB, free: 12.28 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.1239, allocations: 15.92 kB / 286.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.1239, allocations: 0 / 286.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.793e-05/0.124, allocations: 4 kB / 286.4 MB, free: 12.26 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.124, allocations: 3.984 kB / 286.4 MB, free: 12.26 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 9.841e-05/0.1241, allocations: 117.8 kB / 286.5 MB, free: 12.13 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.1242, allocations: 11.86 kB / 286.5 MB, free: 12.12 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004748/0.1246, allocations: 114.2 kB / 286.6 MB, free: 12.01 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1247, allocations: 0 / 286.6 MB, free: 12.01 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1247, allocations: 4 kB / 286.6 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.1247, allocations: 4 kB / 286.6 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.1249, allocations: 161.7 kB / 286.8 MB, free: 11.79 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1249, allocations: 48 / 286.8 MB, free: 11.79 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.125, allocations: 19.91 kB / 286.8 MB, free: 11.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.1251, allocations: 7.953 kB / 286.8 MB, free: 11.77 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.1251, allocations: 4 kB / 286.8 MB, free: 11.76 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.1251, allocations: 0 / 286.8 MB, free: 11.76 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1251, allocations: 0 / 286.8 MB, free: 11.76 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.1255, allocations: 123.6 kB / 287 MB, free: 11.61 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.76e-05/0.1256, allocations: 85.05 kB / 287 MB, free: 11.51 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.1256, allocations: 8.188 kB / 287 MB, free: 11.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.1258, allocations: 7.984 kB / 287.1 MB, free: 11.5 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.1258, allocations: 7.938 kB / 287.1 MB, free: 11.49 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.1259, allocations: 4 kB / 287.1 MB, free: 11.48 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.213e-05/0.126, allocations: 95.27 kB / 287.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.126, allocations: 0 / 287.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001073/0.127, allocations: 327.6 kB / 287.5 MB, free: 11.07 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.001748/0.1288, allocations: 0.5687 MB / 288 MB, free: 10.49 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003542/0.1292, allocations: 47.89 kB / 288.1 MB, free: 10.45 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1292, allocations: 0 / 288.1 MB, free: 10.45 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.1294, allocations: 19.98 kB / 288.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.1296, allocations: 8 kB / 288.1 MB, free: 10.42 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005508/0.1301, allocations: 193.2 kB / 288.3 MB, free: 10.2 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.1304, allocations: 0.6848 MB / 289 MB, free: 9.484 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001872/0.1306, allocations: 52.28 kB / 289 MB, free: 9.434 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.806e-05/0.1307, allocations: 15.44 kB / 289.1 MB, free: 9.418 MB / 250.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1307, allocations: 0 / 289.1 MB, free: 9.418 MB / 250.7 MB Notification: Performance of Templates: time 0.02162/0.1523, allocations: 8.669 MB / 297.7 MB, free: 0.7383 MB / 250.7 MB