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.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 1.623/1.623, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.339e-05/3.334e-05, allocations: 7.984 kB / 228.1 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07851/0.07856, allocations: 38.77 MB / 266.9 MB, free: 492 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001701/0.08032, allocations: 1.045 MB / 268 MB, free: 15.42 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.03741/0.1178, allocations: 19.32 MB / 287.3 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.774e-05/0.1179, allocations: 0 / 287.3 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.118, allocations: 11.92 kB / 287.3 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01307/0.1311, allocations: 3.681 MB / 291 MB, free: 8.352 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006293/0.1318, allocations: 191.5 kB / 291.2 MB, free: 8.164 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.426e-05/0.1319, allocations: 35.88 kB / 291.2 MB, free: 8.129 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.1319, allocations: 0 / 291.2 MB, free: 8.129 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.731e-05/0.132, allocations: 27.98 kB / 291.2 MB, free: 8.102 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.559e-05/0.1321, allocations: 35.89 kB / 291.2 MB, free: 8.066 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02081/0.1529, allocations: 7.678 MB / 298.9 MB, free: 388 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.2297/0.3827, allocations: 391.7 kB / 299.3 MB, free: 9.336 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.37e-05/0.3829, allocations: 13.83 kB / 299.3 MB, free: 9.336 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.065e-05/0.383, allocations: 5.844 kB / 299.3 MB, free: 9.336 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01174/0.3947, allocations: 2.76 MB / 302.1 MB, free: 9.227 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3948, allocations: 0.6562 kB / 302.1 MB, free: 9.227 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.497e-06/0.3948, allocations: 0 / 302.1 MB, free: 9.227 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.3949, allocations: 0 / 302.1 MB, free: 9.227 MB / 250.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.005638/0.4005, allocations: 0.8785 MB / 303 MB, free: 8.598 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.4006, allocations: 12.31 kB / 303 MB, free: 8.598 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.759e-05/0.4007, allocations: 9.75 kB / 303 MB, free: 8.594 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.401, allocations: 196.9 kB / 303.2 MB, free: 8.391 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.401, allocations: 3.844 kB / 303.2 MB, free: 8.391 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.4011, allocations: 3 kB / 303.2 MB, free: 8.391 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.4015, allocations: 75.42 kB / 303.3 MB, free: 8.344 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.4015, allocations: 0 / 303.3 MB, free: 8.344 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.4016, allocations: 1.906 kB / 303.3 MB, free: 8.344 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.4016, allocations: 1.5 kB / 303.3 MB, free: 8.344 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004477/0.402, allocations: 47.61 kB / 303.3 MB, free: 8.344 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.4024, allocations: 187.4 kB / 303.5 MB, free: 8.145 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006898/0.4031, allocations: 99.77 kB / 303.6 MB, free: 8.098 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.4032, allocations: 10.38 kB / 303.6 MB, free: 8.098 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.4033, allocations: 37.69 kB / 303.6 MB, free: 8.059 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 3.026e-06/0.4033, allocations: 3.812 kB / 303.6 MB, free: 8.059 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009019/0.4042, allocations: 105.6 kB / 303.7 MB, free: 8.027 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.4043, allocations: 81.53 kB / 303.8 MB, free: 7.934 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.4045, allocations: 133.2 kB / 304 MB, free: 7.84 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.4046, allocations: 26.92 kB / 304 MB, free: 7.809 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.412e-05/0.4046, allocations: 89.59 kB / 304.1 MB, free: 7.727 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.242e-05/0.4047, allocations: 25.38 kB / 304.1 MB, free: 7.711 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.4047, allocations: 0 / 304.1 MB, free: 7.711 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.005e-05/0.4048, allocations: 318.5 kB / 304.4 MB, free: 7.398 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.4051, allocations: 21.16 kB / 304.4 MB, free: 7.398 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.4054, allocations: 35.5 kB / 304.5 MB, free: 7.383 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.4056, allocations: 24.72 kB / 304.5 MB, free: 7.383 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.4056, allocations: 5.609 kB / 304.5 MB, free: 7.379 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003678/0.406, allocations: 88.05 kB / 304.6 MB, free: 7.344 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.4061, allocations: 6.094 kB / 304.6 MB, free: 7.344 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.4061, allocations: 0 / 304.6 MB, free: 7.344 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.4061, allocations: 1.922 kB / 304.6 MB, free: 7.344 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.4062, allocations: 17.11 kB / 304.6 MB, free: 7.344 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.4063, allocations: 3.141 kB / 304.6 MB, free: 7.344 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.632e-05/0.4064, allocations: 8.062 kB / 304.6 MB, free: 7.344 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.4064, allocations: 2.219 kB / 304.6 MB, free: 7.344 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 7.907e-05/0.4065, allocations: 113.7 kB / 304.7 MB, free: 7.227 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.4065, allocations: 11.23 kB / 304.7 MB, free: 7.219 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004309/0.407, allocations: 107 kB / 304.8 MB, free: 7.184 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.407, allocations: 1.531 kB / 304.8 MB, free: 7.184 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.407, allocations: 2 kB / 304.8 MB, free: 7.184 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.407, allocations: 0.8438 kB / 304.8 MB, free: 7.184 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.4072, allocations: 177.8 kB / 305 MB, free: 6.996 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4072, allocations: 5.312 kB / 305 MB, free: 6.996 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.4073, allocations: 19.86 kB / 305 MB, free: 6.988 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.4073, allocations: 2.047 kB / 305 MB, free: 6.988 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.4074, allocations: 1.156 kB / 305 MB, free: 6.988 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.4074, allocations: 1.562 kB / 305 MB, free: 6.988 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4074, allocations: 0.7031 kB / 305 MB, free: 6.988 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003532/0.4077, allocations: 133.2 kB / 305.2 MB, free: 6.891 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.4078, allocations: 92.11 kB / 305.3 MB, free: 6.797 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.4079, allocations: 5.406 kB / 305.3 MB, free: 6.797 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.408, allocations: 11.58 kB / 305.3 MB, free: 6.797 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.4081, allocations: 5.969 kB / 305.3 MB, free: 6.797 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.4081, allocations: 2.953 kB / 305.3 MB, free: 6.797 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.095e-05/0.4082, allocations: 113.5 kB / 305.4 MB, free: 6.719 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.4082, allocations: 0 / 305.4 MB, free: 6.719 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.004864/0.4131, allocations: 0.9177 MB / 306.3 MB, free: 6.59 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.009481/0.4226, allocations: 1.224 MB / 307.5 MB, free: 6.34 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004217/0.4231, allocations: 53.92 kB / 307.6 MB, free: 6.34 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4231, allocations: 0 / 307.6 MB, free: 6.34 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.4233, allocations: 34.41 kB / 307.6 MB, free: 6.336 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.4236, allocations: 23.2 kB / 307.7 MB, free: 6.328 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005534/0.4241, allocations: 205.9 kB / 307.9 MB, free: 6.188 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.4243, allocations: 0.6931 MB / 308.5 MB, free: 5.488 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.721e-05/0.4244, allocations: 11.64 kB / 308.6 MB, free: 5.484 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.663e-05/0.4245, allocations: 19.83 kB / 308.6 MB, free: 5.477 MB / 250.7 MB Notification: Performance of SimCode: time 9.21e-07/0.4245, allocations: 2.078 kB / 308.6 MB, free: 5.477 MB / 250.7 MB Notification: Performance of Templates: time 0.06112/0.4856, allocations: 27.12 MB / 335.7 MB, free: 4.938 MB / 266.7 MB