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_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 1.598/1.598, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.605e-05/3.631e-05, allocations: 11.94 kB / 225 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2155, allocations: 38.76 MB / 263.7 MB, free: 9.875 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.07/15.29, allocations: 6.537 GB / 6.795 GB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001984/15.29, allocations: 81.5 kB / 6.795 GB, free: 4.598 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9875/16.28, allocations: 178.6 MB / 6.969 GB, free: 62.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.406e-06/16.28, allocations: 0 / 6.969 GB, free: 62.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.135e-06/16.28, allocations: 0 / 6.969 GB, free: 62.16 MB / 362.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.004226/16.28, allocations: 1.086 MB / 6.971 GB, free: 61.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/16.28, allocations: 6.969 kB / 6.971 GB, free: 61.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.211e-05/16.28, allocations: 7.219 kB / 6.971 GB, free: 61.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/16.28, allocations: 196.3 kB / 6.971 GB, free: 61.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/16.28, allocations: 6.781 kB / 6.971 GB, free: 61.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/16.28, allocations: 0 / 6.971 GB, free: 61.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/16.28, allocations: 73.88 kB / 6.971 GB, free: 61.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.056e-06/16.28, allocations: 3.688 kB / 6.971 GB, free: 61.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/16.28, allocations: 0 / 6.971 GB, free: 61.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-06/16.28, allocations: 0 / 6.971 GB, free: 61.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/16.28, allocations: 36 kB / 6.971 GB, free: 61.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/16.28, allocations: 193.5 kB / 6.971 GB, free: 61.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/16.28, allocations: 95.38 kB / 6.971 GB, free: 61.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.006e-05/16.28, allocations: 28.16 kB / 6.971 GB, free: 61.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.21e-05/16.28, allocations: 13.95 kB / 6.971 GB, free: 61.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/16.28, allocations: 33.97 kB / 6.971 GB, free: 61.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.155e-06/16.28, allocations: 0 / 6.971 GB, free: 61.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002204/16.28, allocations: 81.47 kB / 6.971 GB, free: 61.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/16.28, allocations: 80.83 kB / 6.971 GB, free: 60.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/16.28, allocations: 121.9 kB / 6.971 GB, free: 60.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/16.28, allocations: 25.7 kB / 6.971 GB, free: 60.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/16.28, allocations: 158 kB / 6.972 GB, free: 60.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/16.28, allocations: 22.61 kB / 6.972 GB, free: 60.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-06/16.28, allocations: 0 / 6.972 GB, free: 60.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.223e-05/16.28, allocations: 318.3 kB / 6.972 GB, free: 60.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.171e-05/16.28, allocations: 13.66 kB / 6.972 GB, free: 60.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.168e-05/16.28, allocations: 26.38 kB / 6.972 GB, free: 60.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.653e-05/16.28, allocations: 22.27 kB / 6.972 GB, free: 60.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.393e-06/16.28, allocations: 3.906 kB / 6.972 GB, free: 60.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001681/16.28, allocations: 70.23 kB / 6.972 GB, free: 60.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/16.28, allocations: 5.719 kB / 6.972 GB, free: 60.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.716e-06/16.28, allocations: 2.672 kB / 6.972 GB, free: 60.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/16.28, allocations: 3.938 kB / 6.972 GB, free: 60.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/16.28, allocations: 13.72 kB / 6.972 GB, free: 60.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.349e-06/16.28, allocations: 3.625 kB / 6.972 GB, free: 60.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.975e-05/16.28, allocations: 9.391 kB / 6.972 GB, free: 60.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/16.28, allocations: 3.562 kB / 6.972 GB, free: 60.27 MB / 362.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 5.945e-05/16.28, allocations: 118.3 kB / 6.972 GB, free: 60.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/16.28, allocations: 3.5 kB / 6.972 GB, free: 60.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/16.28, allocations: 107.9 kB / 6.972 GB, free: 60.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.533e-06/16.28, allocations: 0 / 6.972 GB, free: 60.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.678e-06/16.28, allocations: 3.625 kB / 6.972 GB, free: 60.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.65e-06/16.28, allocations: 0 / 6.972 GB, free: 60.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/16.28, allocations: 177.7 kB / 6.973 GB, free: 59.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.401e-06/16.28, allocations: 3.938 kB / 6.973 GB, free: 59.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/16.28, allocations: 15.94 kB / 6.973 GB, free: 59.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.854e-06/16.28, allocations: 3.844 kB / 6.973 GB, free: 59.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/16.28, allocations: 3.781 kB / 6.973 GB, free: 59.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.557e-06/16.28, allocations: 1.859 kB / 6.973 GB, free: 59.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.592e-06/16.28, allocations: 1.312 kB / 6.973 GB, free: 59.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/16.28, allocations: 127.6 kB / 6.973 GB, free: 59.83 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-05/16.28, allocations: 101.8 kB / 6.973 GB, free: 59.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/16.28, allocations: 3.625 kB / 6.973 GB, free: 59.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/16.28, allocations: 7.297 kB / 6.973 GB, free: 59.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/16.28, allocations: 3.656 kB / 6.973 GB, free: 59.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/16.28, allocations: 7.484 kB / 6.973 GB, free: 59.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.888e-05/16.28, allocations: 108 kB / 6.973 GB, free: 59.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.63e-07/16.28, allocations: 0 / 6.973 GB, free: 59.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004472/16.29, allocations: 0.9744 MB / 6.974 GB, free: 59.54 MB / 362.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.008335/16.3, allocations: 1.481 MB / 6.975 GB, free: 59.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001976/16.3, allocations: 42.8 kB / 6.975 GB, free: 59.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.077e-06/16.3, allocations: 0 / 6.975 GB, free: 59.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.928e-05/16.3, allocations: 29.36 kB / 6.975 GB, free: 59.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/16.3, allocations: 16.48 kB / 6.975 GB, free: 59.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/16.3, allocations: 138.6 kB / 6.976 GB, free: 59.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/16.3, allocations: 0.6898 MB / 6.976 GB, free: 58.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.066e-05/16.3, allocations: 19.42 kB / 6.976 GB, free: 58.52 MB / 362.7 MB Notification: Performance of SimCode: time 1.43e-06/16.3, allocations: 0.6562 kB / 6.976 GB, free: 58.52 MB / 362.7 MB Notification: Performance of Templates: time 0.03931/16.34, allocations: 22.67 MB / 6.998 GB, free: 55.45 MB / 362.7 MB