Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 0.9736/0.9736, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.677e-05/2.668e-05, allocations: 0 / 151.4 MB, free: 15.64 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1437, allocations: 25.15 MB / 176.5 MB, free: 12 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7448/0.8886, allocations: 362.3 MB / 0.5262 GB, free: 468 kB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.8888, allocations: 59.97 kB / 0.5262 GB, free: 408 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2966/1.185, allocations: 48.5 MB / 0.5736 GB, free: 49.25 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.604e-06/1.186, allocations: 0 / 0.5736 GB, free: 49.25 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.951e-06/1.186, allocations: 0 / 0.5736 GB, free: 49.25 MB / 234.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.000834/1.186, allocations: 438.2 kB / 0.574 GB, free: 48.77 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/1.186, allocations: 8.031 kB / 0.574 GB, free: 48.77 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/1.187, allocations: 7.906 kB / 0.574 GB, free: 48.76 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/1.187, allocations: 179 kB / 0.5742 GB, free: 48.54 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/1.187, allocations: 0 / 0.5742 GB, free: 48.54 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/1.187, allocations: 4 kB / 0.5742 GB, free: 48.54 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/1.187, allocations: 67.34 kB / 0.5743 GB, free: 48.46 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/1.187, allocations: 7.922 kB / 0.5743 GB, free: 48.45 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/1.187, allocations: 0 / 0.5743 GB, free: 48.45 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/1.187, allocations: 4 kB / 0.5743 GB, free: 48.45 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/1.187, allocations: 12 kB / 0.5743 GB, free: 48.44 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/1.187, allocations: 170.6 kB / 0.5745 GB, free: 48.22 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000402/1.188, allocations: 85.22 kB / 0.5746 GB, free: 48.12 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.895e-05/1.188, allocations: 21.78 kB / 0.5746 GB, free: 48.09 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001487/1.189, allocations: 1.623 MB / 0.5762 GB, free: 46.12 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/1.19, allocations: 34.56 kB / 0.5762 GB, free: 46.07 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 4.121e-06/1.19, allocations: 7.938 kB / 0.5762 GB, free: 46.07 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003086/1.19, allocations: 65.52 kB / 0.5763 GB, free: 46 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/1.19, allocations: 81.11 kB / 0.5763 GB, free: 45.9 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/1.19, allocations: 105 kB / 0.5764 GB, free: 45.79 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/1.19, allocations: 25.7 kB / 0.5765 GB, free: 45.76 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/1.19, allocations: 162.5 kB / 0.5766 GB, free: 45.6 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/1.19, allocations: 19.66 kB / 0.5766 GB, free: 45.58 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/1.19, allocations: 4 kB / 0.5766 GB, free: 45.57 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.903e-05/1.19, allocations: 314.8 kB / 0.5769 GB, free: 45.26 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.087e-05/1.19, allocations: 11.98 kB / 0.577 GB, free: 45.25 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.359e-05/1.191, allocations: 21.72 kB / 0.577 GB, free: 45.22 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.261e-05/1.191, allocations: 8 kB / 0.577 GB, free: 45.21 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.412e-06/1.191, allocations: 4 kB / 0.577 GB, free: 45.21 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002945/1.191, allocations: 65.56 kB / 0.577 GB, free: 45.14 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/1.191, allocations: 4 kB / 0.577 GB, free: 45.13 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.922e-06/1.191, allocations: 0 / 0.577 GB, free: 45.13 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/1.191, allocations: 4 kB / 0.5771 GB, free: 45.13 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/1.191, allocations: 15.98 kB / 0.5771 GB, free: 45.11 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/1.191, allocations: 0 / 0.5771 GB, free: 45.11 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/1.191, allocations: 4 kB / 0.5771 GB, free: 45.11 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/1.192, allocations: 0 / 0.5771 GB, free: 45.11 MB / 234.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 8.138e-05/1.192, allocations: 116.9 kB / 0.5772 GB, free: 44.99 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/1.192, allocations: 11.98 kB / 0.5772 GB, free: 44.98 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004858/1.192, allocations: 117.8 kB / 0.5773 GB, free: 44.86 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/1.192, allocations: 4 kB / 0.5773 GB, free: 44.85 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.527e-06/1.192, allocations: 0 / 0.5773 GB, free: 44.85 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.842e-06/1.192, allocations: 3.984 kB / 0.5773 GB, free: 44.85 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/1.193, allocations: 173.6 kB / 0.5775 GB, free: 44.63 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.319e-06/1.193, allocations: 0 / 0.5775 GB, free: 44.63 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/1.193, allocations: 12 kB / 0.5775 GB, free: 44.62 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.691e-06/1.193, allocations: 3.953 kB / 0.5775 GB, free: 44.61 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/1.193, allocations: 3.984 kB / 0.5775 GB, free: 44.61 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.657e-06/1.193, allocations: 4 kB / 0.5775 GB, free: 44.61 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.008e-06/1.193, allocations: 4.312 kB / 0.5775 GB, free: 44.6 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/1.193, allocations: 127.5 kB / 0.5776 GB, free: 44.45 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/1.193, allocations: 96.95 kB / 0.5777 GB, free: 44.34 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/1.193, allocations: 0 / 0.5777 GB, free: 44.34 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/1.194, allocations: 7.984 kB / 0.5777 GB, free: 44.33 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/1.194, allocations: 7.984 kB / 0.5777 GB, free: 44.32 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/1.194, allocations: 8 kB / 0.5777 GB, free: 44.31 MB / 234.7 MB Notification: Performance of sorting global known variables: time 8.89e-05/1.194, allocations: 95.27 kB / 0.5778 GB, free: 44.22 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.11e-06/1.194, allocations: 3.938 kB / 0.5778 GB, free: 44.21 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001513/1.195, allocations: 215.6 kB / 0.578 GB, free: 44 MB / 234.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.002549/1.198, allocations: 0.786 MB / 0.5788 GB, free: 43.22 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002534/1.198, allocations: 35.98 kB / 0.5788 GB, free: 43.18 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/1.198, allocations: 4 kB / 0.5789 GB, free: 43.18 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/1.198, allocations: 27.94 kB / 0.5789 GB, free: 43.15 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/1.199, allocations: 27.86 kB / 0.5789 GB, free: 43.12 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005825/1.199, allocations: 131.4 kB / 0.579 GB, free: 42.96 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/1.2, allocations: 0.6926 MB / 0.5797 GB, free: 42.25 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/1.2, allocations: 23.42 kB / 0.5797 GB, free: 42.22 MB / 234.7 MB Notification: Performance of SimCode: time 2.153e-06/1.2, allocations: 0 / 0.5797 GB, free: 42.22 MB / 234.7 MB Notification: Performance of Templates: time 0.01922/1.219, allocations: 6.621 MB / 0.5862 GB, free: 35.61 MB / 234.7 MB