Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 2/2, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.056e-05/3.078e-05, allocations: 4 kB / 255.4 MB, free: 2.703 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07971/0.07977, allocations: 44.5 MB / 299.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.64/1.72, allocations: 0.5907 GB / 0.8835 GB, free: 125.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/1.72, allocations: 75.95 kB / 0.8836 GB, free: 125.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1363/1.857, allocations: 41.63 MB / 0.9242 GB, free: 83.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/1.857, allocations: 0 / 0.9242 GB, free: 83.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.003e-06/1.857, allocations: 4 kB / 0.9242 GB, free: 83.5 MB / 410.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.0005585/1.857, allocations: 438.2 kB / 0.9247 GB, free: 83.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/1.857, allocations: 8.031 kB / 0.9247 GB, free: 83.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/1.858, allocations: 95.78 kB / 0.9248 GB, free: 82.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/1.859, allocations: 194.9 kB / 0.925 GB, free: 82.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/1.859, allocations: 4 kB / 0.925 GB, free: 82.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/1.859, allocations: 3.938 kB / 0.925 GB, free: 82.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/1.859, allocations: 74.84 kB / 0.925 GB, free: 82.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.657e-06/1.859, allocations: 0 / 0.925 GB, free: 82.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/1.859, allocations: 4 kB / 0.925 GB, free: 82.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.911e-06/1.859, allocations: 0 / 0.925 GB, free: 82.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.86e-05/1.859, allocations: 31.97 kB / 0.9251 GB, free: 82.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002033/1.859, allocations: 194.4 kB / 0.9253 GB, free: 82.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/1.86, allocations: 97.27 kB / 0.9253 GB, free: 82.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.995e-05/1.86, allocations: 21.72 kB / 0.9254 GB, free: 82.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007235/1.86, allocations: 1.38 MB / 0.9267 GB, free: 80.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/1.86, allocations: 38.55 kB / 0.9267 GB, free: 80.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 5.208e-06/1.861, allocations: 0 / 0.9267 GB, free: 80.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002593/1.861, allocations: 77.55 kB / 0.9268 GB, free: 80.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/1.861, allocations: 85.06 kB / 0.9269 GB, free: 80.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/1.861, allocations: 117 kB / 0.927 GB, free: 80.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/1.861, allocations: 25.7 kB / 0.927 GB, free: 80.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.352e-05/1.861, allocations: 92.12 kB / 0.9271 GB, free: 80.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/1.861, allocations: 23.66 kB / 0.9272 GB, free: 80.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.113e-06/1.861, allocations: 0 / 0.9272 GB, free: 80.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.287e-05/1.861, allocations: 318.8 kB / 0.9275 GB, free: 79.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.236e-05/1.861, allocations: 16 kB / 0.9275 GB, free: 79.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.106e-05/1.861, allocations: 43.38 kB / 0.9275 GB, free: 79.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.713e-05/1.861, allocations: 23.98 kB / 0.9275 GB, free: 79.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.861, allocations: 0 / 0.9275 GB, free: 79.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002133/1.862, allocations: 93.5 kB / 0.9276 GB, free: 79.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/1.862, allocations: 4 kB / 0.9276 GB, free: 79.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.874e-06/1.862, allocations: 0 / 0.9276 GB, free: 79.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/1.862, allocations: 4 kB / 0.9276 GB, free: 79.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/1.862, allocations: 15.98 kB / 0.9276 GB, free: 79.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/1.862, allocations: 0 / 0.9276 GB, free: 79.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/1.862, allocations: 12 kB / 0.9277 GB, free: 79.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/1.862, allocations: 8 kB / 0.9277 GB, free: 79.46 MB / 410.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 5.48e-05/1.862, allocations: 108.9 kB / 0.9278 GB, free: 79.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/1.862, allocations: 11.84 kB / 0.9278 GB, free: 79.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002923/1.863, allocations: 113.8 kB / 0.9279 GB, free: 79.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.695e-06/1.863, allocations: 0 / 0.9279 GB, free: 79.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.863, allocations: 4 kB / 0.9279 GB, free: 79.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.105e-06/1.863, allocations: 4 kB / 0.9279 GB, free: 79.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/1.863, allocations: 181.3 kB / 0.9281 GB, free: 78.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.258e-06/1.863, allocations: 0 / 0.9281 GB, free: 78.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/1.863, allocations: 19.98 kB / 0.9281 GB, free: 78.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.272e-06/1.863, allocations: 0 / 0.9281 GB, free: 78.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/1.863, allocations: 7.984 kB / 0.9281 GB, free: 78.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.803e-06/1.863, allocations: 0 / 0.9281 GB, free: 78.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.662e-06/1.863, allocations: 3.938 kB / 0.9281 GB, free: 78.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/1.863, allocations: 143.5 kB / 0.9282 GB, free: 78.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.367e-05/1.863, allocations: 97.02 kB / 0.9283 GB, free: 78.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/1.863, allocations: 7.938 kB / 0.9283 GB, free: 78.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/1.864, allocations: 3.984 kB / 0.9283 GB, free: 78.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/1.864, allocations: 7.984 kB / 0.9283 GB, free: 78.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/1.864, allocations: 7.953 kB / 0.9284 GB, free: 78.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.255e-05/1.864, allocations: 107.3 kB / 0.9285 GB, free: 78.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.3e-07/1.864, allocations: 4.062 kB / 0.9285 GB, free: 78.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008221/1.865, allocations: 215.7 kB / 0.9287 GB, free: 78.32 MB / 410.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.001448/1.866, allocations: 0.8222 MB / 0.9295 GB, free: 77.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001881/1.866, allocations: 55.91 kB / 0.9295 GB, free: 77.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/1.866, allocations: 0 / 0.9295 GB, free: 77.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.521e-05/1.866, allocations: 20.28 kB / 0.9295 GB, free: 77.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/1.867, allocations: 15.89 kB / 0.9296 GB, free: 77.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005156/1.867, allocations: 230.2 kB / 0.9298 GB, free: 77.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/1.867, allocations: 0.6887 MB / 0.9305 GB, free: 76.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003069/1.868, allocations: 39.83 kB / 0.9305 GB, free: 76.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/1.868, allocations: 31.34 kB / 0.9305 GB, free: 76.37 MB / 410.7 MB Notification: Performance of SimCode: time 1.557e-06/1.868, allocations: 0 / 0.9305 GB, free: 76.37 MB / 410.7 MB Notification: Performance of Templates: time 0.02156/1.889, allocations: 12.77 MB / 0.943 GB, free: 63.58 MB / 410.7 MB