Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadModel(Modelica): time 0.9897/0.9897, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.554e-05/2.562e-05, allocations: 0 / 151.4 MB, free: 15.58 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1418, allocations: 25.15 MB / 176.5 MB, free: 15.99 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.2783, allocations: 71.47 MB / 248 MB, free: 9.918 MB / 218.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001823/0.2785, allocations: 59.97 kB / 248.1 MB, free: 9.859 MB / 218.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2932/0.5718, allocations: 37.08 MB / 285.2 MB, free: 53.79 MB / 218.7 MB Notification: Performance of FrontEnd: time 2.177e-06/0.5719, allocations: 0 / 285.2 MB, free: 53.79 MB / 218.7 MB Notification: Performance of Transformations before backend: time 7.978e-06/0.5719, allocations: 4 kB / 285.2 MB, free: 53.78 MB / 218.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.0006759/0.5726, allocations: 482 kB / 285.6 MB, free: 53.27 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.5726, allocations: 8.031 kB / 285.6 MB, free: 53.26 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.5727, allocations: 8 kB / 285.6 MB, free: 53.25 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.5729, allocations: 191.9 kB / 285.8 MB, free: 53.02 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.5729, allocations: 0 / 285.8 MB, free: 53.02 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.5729, allocations: 3.953 kB / 285.8 MB, free: 53.02 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.5731, allocations: 67.33 kB / 285.9 MB, free: 52.94 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.1e-06/0.5731, allocations: 0 / 285.9 MB, free: 52.94 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.5731, allocations: 4 kB / 285.9 MB, free: 52.94 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.5731, allocations: 0 / 285.9 MB, free: 52.94 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.806e-05/0.5732, allocations: 12 kB / 285.9 MB, free: 52.93 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.5734, allocations: 170.6 kB / 286.1 MB, free: 52.71 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.5736, allocations: 81.14 kB / 286.2 MB, free: 52.61 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.377e-05/0.5737, allocations: 25.89 kB / 286.2 MB, free: 52.58 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009279/0.5746, allocations: 1.82 MB / 288 MB, free: 50.35 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.5747, allocations: 38.56 kB / 288 MB, free: 50.3 MB / 218.7 MB Notification: Performance of pre-optimization done (n=6): time 2.425e-06/0.5747, allocations: 0 / 288 MB, free: 50.3 MB / 218.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002014/0.5749, allocations: 57.62 kB / 288.1 MB, free: 50.24 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.5749, allocations: 81.11 kB / 288.2 MB, free: 50.14 MB / 218.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.893e-05/0.575, allocations: 105 kB / 288.3 MB, free: 50.04 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.575, allocations: 25.7 kB / 288.3 MB, free: 50 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.059e-05/0.5751, allocations: 154.6 kB / 288.5 MB, free: 49.85 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.5751, allocations: 19.66 kB / 288.5 MB, free: 49.83 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-06/0.5751, allocations: 0 / 288.5 MB, free: 49.83 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 5.02e-05/0.5752, allocations: 318.8 kB / 288.8 MB, free: 49.51 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.442e-05/0.5752, allocations: 8 kB / 288.8 MB, free: 49.5 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.788e-05/0.5753, allocations: 25.72 kB / 288.8 MB, free: 49.47 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.958e-05/0.5753, allocations: 11.92 kB / 288.8 MB, free: 49.46 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.379e-06/0.5754, allocations: 0 / 288.8 MB, free: 49.46 MB / 218.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001335/0.5755, allocations: 57.81 kB / 288.9 MB, free: 49.4 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.5755, allocations: 11.95 kB / 288.9 MB, free: 49.39 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/0.5755, allocations: 0 / 288.9 MB, free: 49.39 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.5756, allocations: 3.938 kB / 288.9 MB, free: 49.38 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.5757, allocations: 19.98 kB / 288.9 MB, free: 49.36 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/0.5757, allocations: 0 / 288.9 MB, free: 49.36 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.999e-05/0.5758, allocations: 15.83 kB / 288.9 MB, free: 49.35 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.5758, allocations: 4 kB / 288.9 MB, free: 49.34 MB / 218.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 4.856e-05/0.5759, allocations: 101 kB / 289 MB, free: 49.24 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.5759, allocations: 4 kB / 289 MB, free: 49.23 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.5762, allocations: 117.5 kB / 289.2 MB, free: 49.11 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.286e-06/0.5762, allocations: 7.984 kB / 289.2 MB, free: 49.1 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.554e-06/0.5762, allocations: 128 / 289.2 MB, free: 49.1 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.997e-06/0.5763, allocations: 8 kB / 289.2 MB, free: 49.09 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.5764, allocations: 165.7 kB / 289.3 MB, free: 48.88 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.674e-06/0.5764, allocations: 4 kB / 289.3 MB, free: 48.88 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-05/0.5765, allocations: 12 kB / 289.4 MB, free: 48.87 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.976e-06/0.5765, allocations: 3.984 kB / 289.4 MB, free: 48.86 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.5765, allocations: 4 kB / 289.4 MB, free: 48.86 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.708e-06/0.5766, allocations: 3.953 kB / 289.4 MB, free: 48.86 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.8e-06/0.5766, allocations: 3.938 kB / 289.4 MB, free: 48.85 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.5767, allocations: 123.6 kB / 289.5 MB, free: 48.7 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.097e-05/0.5768, allocations: 96.94 kB / 289.6 MB, free: 48.59 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.5768, allocations: 3.953 kB / 289.6 MB, free: 48.59 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.5769, allocations: 4 kB / 289.6 MB, free: 48.58 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.577, allocations: 7.984 kB / 289.6 MB, free: 48.57 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.577, allocations: 8 kB / 289.6 MB, free: 48.57 MB / 218.7 MB Notification: Performance of sorting global known variables: time 4.063e-05/0.5771, allocations: 91.27 kB / 289.7 MB, free: 48.48 MB / 218.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.5771, allocations: 0 / 289.7 MB, free: 48.48 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.0006707/0.5778, allocations: 183.7 kB / 289.9 MB, free: 48.3 MB / 218.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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0008239/0.5786, allocations: 363.6 kB / 290.2 MB, free: 47.94 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.5788, allocations: 39.92 kB / 290.3 MB, free: 47.9 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5788, allocations: 4 kB / 290.3 MB, free: 47.9 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 6.865e-05/0.5789, allocations: 23.98 kB / 290.3 MB, free: 47.88 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.5791, allocations: 20.73 kB / 290.3 MB, free: 47.86 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.5794, allocations: 127.3 kB / 290.4 MB, free: 47.7 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.5796, allocations: 0.6969 MB / 291.1 MB, free: 46.98 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.5796, allocations: 23.36 kB / 291.2 MB, free: 46.95 MB / 218.7 MB Notification: Performance of SimCode: time 2.092e-06/0.5797, allocations: 0 / 291.2 MB, free: 46.95 MB / 218.7 MB Notification: Performance of Templates: time 0.006451/0.5861, allocations: 3.652 MB / 294.8 MB, free: 43.3 MB / 218.7 MB