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.2_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 2.107/2.107, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.596e-05/2.583e-05, allocations: 0 / 258.8 MB, free: 8.719 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3082, allocations: 44.51 MB / 303.3 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001755/0.31, allocations: 1.036 MB / 304.3 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.03783/0.3479, allocations: 19.37 MB / 323.7 MB, free: 9.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.417e-05/0.348, allocations: 0 / 323.7 MB, free: 9.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.3482, allocations: 11.98 kB / 323.7 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0139/0.3621, allocations: 3.693 MB / 327.4 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006682/0.3628, allocations: 187.4 kB / 327.6 MB, free: 5.352 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.363, allocations: 35.94 kB / 327.6 MB, free: 5.316 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.65e-05/0.363, allocations: 4 kB / 327.6 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.681e-05/0.3631, allocations: 27.86 kB / 327.6 MB, free: 5.285 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.43e-05/0.3632, allocations: 31.97 kB / 327.7 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02202/0.3852, allocations: 7.729 MB / 335.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002985/0.3883, allocations: 396 kB / 335.8 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.167e-05/0.3884, allocations: 19.92 kB / 335.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.3885, allocations: 8 kB / 335.8 MB, free: 13.1 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008464/0.3969, allocations: 2.76 MB / 338.6 MB, free: 10.34 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.397, allocations: 0 / 338.6 MB, free: 10.34 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.397, allocations: 0 / 338.6 MB, free: 10.34 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.3971, allocations: 4 kB / 338.6 MB, free: 10.33 MB / 282.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.003004/0.4001, allocations: 0.8812 MB / 339.5 MB, free: 9.402 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.4001, allocations: 8.031 kB / 339.5 MB, free: 9.395 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/0.4002, allocations: 7.906 kB / 339.5 MB, free: 9.387 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.4005, allocations: 195 kB / 339.7 MB, free: 9.156 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.4005, allocations: 4 kB / 339.7 MB, free: 9.152 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.4006, allocations: 4 kB / 339.7 MB, free: 9.148 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.4009, allocations: 79.31 kB / 339.8 MB, free: 9.059 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4009, allocations: 3.953 kB / 339.8 MB, free: 9.055 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.4009, allocations: 0 / 339.8 MB, free: 9.055 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.4009, allocations: 0 / 339.8 MB, free: 9.055 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002769/0.4012, allocations: 43.95 kB / 339.8 MB, free: 9.012 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.4015, allocations: 178.6 kB / 340 MB, free: 8.785 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004704/0.402, allocations: 105.2 kB / 340.1 MB, free: 8.664 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-05/0.4021, allocations: 12.14 kB / 340.1 MB, free: 8.652 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.4022, allocations: 38.5 kB / 340.1 MB, free: 8.605 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.766e-06/0.4022, allocations: 0 / 340.1 MB, free: 8.605 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005948/0.4028, allocations: 113.5 kB / 340.2 MB, free: 8.488 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.4029, allocations: 85.03 kB / 340.3 MB, free: 8.387 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.403, allocations: 125.5 kB / 340.5 MB, free: 8.258 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.4031, allocations: 25.7 kB / 340.5 MB, free: 8.227 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.242e-05/0.4031, allocations: 158.6 kB / 340.6 MB, free: 8.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.884e-05/0.4032, allocations: 23.81 kB / 340.7 MB, free: 8.047 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-06/0.4032, allocations: 3.938 kB / 340.7 MB, free: 8.043 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4034, allocations: 322.8 kB / 341 MB, free: 7.719 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.4035, allocations: 19.98 kB / 341 MB, free: 7.699 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.4037, allocations: 33.69 kB / 341 MB, free: 7.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.4038, allocations: 23.98 kB / 341 MB, free: 7.637 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4038, allocations: 0 / 341 MB, free: 7.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003836/0.4042, allocations: 85.5 kB / 341.1 MB, free: 7.547 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.4043, allocations: 8 kB / 341.1 MB, free: 7.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.4043, allocations: 480 / 341.1 MB, free: 7.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.4043, allocations: 0 / 341.1 MB, free: 7.539 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.4045, allocations: 15.98 kB / 341.2 MB, free: 7.523 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.4045, allocations: 3.953 kB / 341.2 MB, free: 7.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.37e-05/0.4046, allocations: 4 kB / 341.2 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.4046, allocations: 4 kB / 341.2 MB, free: 7.512 MB / 282.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.00011/0.4047, allocations: 117.8 kB / 341.3 MB, free: 7.387 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.4048, allocations: 11.91 kB / 341.3 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004606/0.4053, allocations: 97.53 kB / 341.4 MB, free: 7.273 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.4053, allocations: 4 kB / 341.4 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.4053, allocations: 8.062 kB / 341.4 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4053, allocations: 3.953 kB / 341.4 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.4055, allocations: 177.6 kB / 341.6 MB, free: 7.035 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4056, allocations: 0 / 341.6 MB, free: 7.035 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.4057, allocations: 15.98 kB / 341.6 MB, free: 7.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.4057, allocations: 4 kB / 341.6 MB, free: 7.016 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.4057, allocations: 0 / 341.6 MB, free: 7.016 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4058, allocations: 0 / 341.6 MB, free: 7.016 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-06/0.4058, allocations: 4 kB / 341.6 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/0.4062, allocations: 127.5 kB / 341.7 MB, free: 6.859 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.4063, allocations: 97.08 kB / 341.8 MB, free: 6.746 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.4064, allocations: 3.938 kB / 341.8 MB, free: 6.742 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.4065, allocations: 8 kB / 341.8 MB, free: 6.734 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/0.4066, allocations: 11.94 kB / 341.8 MB, free: 6.723 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.4066, allocations: 4 kB / 341.8 MB, free: 6.719 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001121/0.4067, allocations: 111.2 kB / 342 MB, free: 6.609 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4068, allocations: 0 / 342 MB, free: 6.609 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.003384/0.4101, allocations: 0.925 MB / 342.9 MB, free: 5.684 MB / 282.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.007201/0.4174, allocations: 1.239 MB / 344.1 MB, free: 4.441 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004281/0.4179, allocations: 55.89 kB / 344.2 MB, free: 4.387 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.4179, allocations: 0 / 344.2 MB, free: 4.387 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.4181, allocations: 27.98 kB / 344.2 MB, free: 4.359 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.4184, allocations: 19.98 kB / 344.2 MB, free: 4.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006015/0.419, allocations: 229 kB / 344.4 MB, free: 4.082 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.4193, allocations: 0.6965 MB / 345.1 MB, free: 3.359 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.4194, allocations: 23.36 kB / 345.2 MB, free: 3.332 MB / 282.7 MB Notification: Performance of SimCode: time 8.62e-07/0.4194, allocations: 0 / 345.2 MB, free: 3.332 MB / 282.7 MB Notification: Performance of Templates: time 0.06234/0.4817, allocations: 22.16 MB / 367.3 MB, free: 13.14 MB / 314.7 MB