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.2_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 2.237/2.237, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.727e-05/3.727e-05, allocations: 7.938 kB / 258.8 MB, free: 8.707 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.32, allocations: 44.51 MB / 303.3 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001796/0.3219, allocations: 1.035 MB / 304.3 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01726/0.3392, allocations: 9.683 MB / 314 MB, free: 2.945 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.862e-05/0.3393, allocations: 0 / 314 MB, free: 2.945 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.986e-05/0.3393, allocations: 3.984 kB / 314 MB, free: 2.941 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003128/0.3425, allocations: 0.7162 MB / 314.7 MB, free: 2.223 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.3442, allocations: 426.5 kB / 315.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.535e-05/0.3443, allocations: 31.88 kB / 315.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.3443, allocations: 4 kB / 315.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.137e-05/0.3444, allocations: 23.98 kB / 315.2 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.328e-05/0.3445, allocations: 23.92 kB / 315.2 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004895/0.3494, allocations: 1.502 MB / 316.7 MB, free: 224 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004915/0.35, allocations: 83.94 kB / 316.8 MB, free: 140 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.651e-05/0.35, allocations: 15.92 kB / 316.8 MB, free: 124 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.3501, allocations: 4 kB / 316.8 MB, free: 120 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002662/0.3527, allocations: 0.6645 MB / 317.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3528, allocations: 0 / 317.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.3528, allocations: 0 / 317.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.3528, allocations: 0 / 317.5 MB, free: 15.45 MB / 266.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.001042/0.3539, allocations: 0.5185 MB / 318 MB, free: 14.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.3539, allocations: 11.97 kB / 318 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.3541, allocations: 19.84 kB / 318 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.3544, allocations: 179 kB / 318.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.3544, allocations: 4 kB / 318.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.3544, allocations: 0 / 318.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.3547, allocations: 71.39 kB / 318.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3547, allocations: 7.938 kB / 318.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.3548, allocations: 0 / 318.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3548, allocations: 0 / 318.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.355, allocations: 31.95 kB / 318.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002516/0.3553, allocations: 178.5 kB / 318.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004294/0.3557, allocations: 85.2 kB / 318.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01064/0.3664, allocations: 3.263 MB / 321.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.3665, allocations: 34.56 kB / 321.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.384e-06/0.3665, allocations: 0 / 321.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005832/0.3671, allocations: 89.58 kB / 322 MB, free: 10.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.3672, allocations: 77.11 kB / 322.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.3673, allocations: 109 kB / 322.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.3673, allocations: 25.7 kB / 322.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.3674, allocations: 154.6 kB / 322.3 MB, free: 9.949 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.3675, allocations: 23.66 kB / 322.4 MB, free: 9.926 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.3675, allocations: 0 / 322.4 MB, free: 9.926 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.3677, allocations: 326.8 kB / 322.7 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.3678, allocations: 11.92 kB / 322.7 MB, free: 9.586 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.3679, allocations: 29.7 kB / 322.7 MB, free: 9.551 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.3681, allocations: 11.98 kB / 322.7 MB, free: 9.539 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3681, allocations: 4 kB / 322.7 MB, free: 9.535 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003361/0.3684, allocations: 73.55 kB / 322.8 MB, free: 9.457 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3685, allocations: 8 kB / 322.8 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3685, allocations: 3.984 kB / 322.8 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.3685, allocations: 0 / 322.8 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.3687, allocations: 12 kB / 322.8 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3687, allocations: 320 / 322.8 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.015e-05/0.3688, allocations: 7.922 kB / 322.8 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.3688, allocations: 12 kB / 322.8 MB, free: 9.414 MB / 266.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.0001017/0.3689, allocations: 113.8 kB / 323 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.369, allocations: 3.906 kB / 323 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004858/0.3695, allocations: 113.4 kB / 323.1 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.3695, allocations: 8.562 kB / 323.1 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3695, allocations: 0 / 323.1 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3695, allocations: 0 / 323.1 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.3697, allocations: 169.6 kB / 323.2 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.3697, allocations: 4 kB / 323.3 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.3699, allocations: 11.98 kB / 323.3 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.3699, allocations: 0 / 323.3 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.3699, allocations: 4 kB / 323.3 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3699, allocations: 0 / 323.3 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3699, allocations: 3.984 kB / 323.3 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.3703, allocations: 127.5 kB / 323.4 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.933e-05/0.3705, allocations: 93 kB / 323.5 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.3705, allocations: 192 / 323.5 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.3706, allocations: 11.98 kB / 323.5 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.3707, allocations: 11.98 kB / 323.5 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.3707, allocations: 4 kB / 323.5 MB, free: 8.633 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.653e-05/0.3708, allocations: 95.27 kB / 323.6 MB, free: 8.539 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3708, allocations: 0 / 323.6 MB, free: 8.539 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001196/0.3721, allocations: 315.6 kB / 323.9 MB, free: 8.23 MB / 266.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.00179/0.3739, allocations: 0.5726 MB / 324.5 MB, free: 7.648 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003629/0.3742, allocations: 39.91 kB / 324.5 MB, free: 7.609 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3743, allocations: 0 / 324.5 MB, free: 7.609 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.3744, allocations: 23.98 kB / 324.6 MB, free: 7.586 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.3746, allocations: 11.94 kB / 324.6 MB, free: 7.574 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005855/0.3752, allocations: 219 kB / 324.8 MB, free: 7.324 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.3756, allocations: 0.6809 MB / 325.5 MB, free: 6.617 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.723e-05/0.3757, allocations: 23.42 kB / 325.5 MB, free: 6.598 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.3757, allocations: 0 / 325.5 MB, free: 6.598 MB / 266.7 MB Notification: Performance of Templates: time 0.01694/0.3926, allocations: 6.566 MB / 332 MB, free: 24 kB / 266.7 MB