Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 2.084/2.084, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.706e-05/2.734e-05, allocations: 4 kB / 269.3 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08576/0.08581, allocations: 47.58 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.955/2.041, allocations: 0.7478 GB / 1.057 GB, free: 91.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/2.041, allocations: 74.64 kB / 1.057 GB, free: 91.94 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2414/2.282, allocations: 78.05 MB / 1.134 GB, free: 19.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.035e-06/2.282, allocations: 0 / 1.134 GB, free: 19.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.084e-06/2.283, allocations: 0 / 1.134 GB, free: 19.8 MB / 426.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.0007165/2.283, allocations: 473.9 kB / 1.134 GB, free: 19.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/2.283, allocations: 8.031 kB / 1.134 GB, free: 19.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000353/2.284, allocations: 35.86 kB / 1.134 GB, free: 19.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/2.284, allocations: 191 kB / 1.134 GB, free: 19.03 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/2.284, allocations: 4 kB / 1.134 GB, free: 19.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/2.284, allocations: 4 kB / 1.134 GB, free: 19.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/2.284, allocations: 75.31 kB / 1.134 GB, free: 18.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/2.284, allocations: 3.938 kB / 1.134 GB, free: 18.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/2.284, allocations: 4 kB / 1.134 GB, free: 18.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.055e-06/2.284, allocations: 0 / 1.134 GB, free: 18.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.701e-05/2.284, allocations: 39.95 kB / 1.134 GB, free: 18.89 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/2.284, allocations: 202.5 kB / 1.135 GB, free: 18.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/2.285, allocations: 113.2 kB / 1.135 GB, free: 18.51 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.605e-05/2.285, allocations: 33.86 kB / 1.135 GB, free: 18.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000434/2.285, allocations: 141 kB / 1.135 GB, free: 18.31 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/2.285, allocations: 30.56 kB / 1.135 GB, free: 18.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.568e-06/2.285, allocations: 0 / 1.135 GB, free: 18.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002881/2.286, allocations: 93.48 kB / 1.135 GB, free: 18.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/2.286, allocations: 81.09 kB / 1.135 GB, free: 18.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/2.286, allocations: 125 kB / 1.135 GB, free: 17.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/2.286, allocations: 33.7 kB / 1.135 GB, free: 17.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.644e-05/2.286, allocations: 84.14 kB / 1.135 GB, free: 17.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/2.286, allocations: 19.7 kB / 1.135 GB, free: 17.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.741e-06/2.286, allocations: 4 kB / 1.135 GB, free: 17.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.041e-05/2.286, allocations: 314.8 kB / 1.136 GB, free: 17.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.818e-05/2.286, allocations: 27.97 kB / 1.136 GB, free: 17.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.341e-05/2.286, allocations: 47.36 kB / 1.136 GB, free: 17.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.92e-05/2.286, allocations: 31.97 kB / 1.136 GB, free: 17.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/2.286, allocations: 3.953 kB / 1.136 GB, free: 17.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002581/2.287, allocations: 109.5 kB / 1.136 GB, free: 17.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/2.287, allocations: 4 kB / 1.136 GB, free: 17.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.471e-06/2.287, allocations: 4 kB / 1.136 GB, free: 17.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/2.287, allocations: 0 / 1.136 GB, free: 17.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/2.287, allocations: 19.98 kB / 1.136 GB, free: 17.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.553e-06/2.287, allocations: 0 / 1.136 GB, free: 17.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.863e-05/2.287, allocations: 16 kB / 1.136 GB, free: 17.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/2.287, allocations: 7.984 kB / 1.136 GB, free: 17.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.947e-05/2.287, allocations: 101 kB / 1.136 GB, free: 17.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.119e-05/2.287, allocations: 11.86 kB / 1.136 GB, free: 17.08 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/2.287, allocations: 126 kB / 1.136 GB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.044e-06/2.287, allocations: 4 kB / 1.136 GB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.492e-06/2.287, allocations: 0 / 1.136 GB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.663e-06/2.287, allocations: 0 / 1.136 GB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/2.288, allocations: 181.6 kB / 1.136 GB, free: 16.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.402e-06/2.288, allocations: 0 / 1.136 GB, free: 16.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/2.288, allocations: 27.88 kB / 1.136 GB, free: 16.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.991e-06/2.288, allocations: 0 / 1.136 GB, free: 16.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/2.288, allocations: 4 kB / 1.136 GB, free: 16.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.832e-06/2.288, allocations: 3.938 kB / 1.136 GB, free: 16.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/2.288, allocations: 0 / 1.136 GB, free: 16.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/2.288, allocations: 175.5 kB / 1.137 GB, free: 16.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.561e-05/2.288, allocations: 105 kB / 1.137 GB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/2.288, allocations: 0 / 1.137 GB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/2.288, allocations: 4 kB / 1.137 GB, free: 16.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/2.288, allocations: 4 kB / 1.137 GB, free: 16.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/2.288, allocations: 7.984 kB / 1.137 GB, free: 16.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.803e-05/2.288, allocations: 107.3 kB / 1.137 GB, free: 16.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.56e-07/2.288, allocations: 0 / 1.137 GB, free: 16.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001036/2.29, allocations: 271.6 kB / 1.137 GB, free: 15.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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.002092/2.292, allocations: 0.9691 MB / 1.138 GB, free: 15.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001875/2.292, allocations: 55.86 kB / 1.138 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.372e-06/2.292, allocations: 4.125 kB / 1.138 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.723e-05/2.292, allocations: 35.92 kB / 1.138 GB, free: 14.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/2.292, allocations: 19.94 kB / 1.138 GB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/2.293, allocations: 230.4 kB / 1.138 GB, free: 14.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/2.293, allocations: 0.6926 MB / 1.139 GB, free: 13.92 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.93e-05/2.293, allocations: 20.08 kB / 1.139 GB, free: 13.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/2.293, allocations: 15.44 kB / 1.139 GB, free: 13.88 MB / 426.7 MB Notification: Performance of SimCode: time 1.606e-06/2.293, allocations: 0 / 1.139 GB, free: 13.88 MB / 426.7 MB Notification: Performance of Templates: time 0.251/2.544, allocations: 14.8 MB / 1.153 GB, free: 125.2 MB / 426.7 MB