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.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 1.807/1.807, allocations: 194.9 MB / 208 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.947e-05/2.976e-05, allocations: 4 kB / 255.4 MB, free: 2.688 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07898/0.07903, allocations: 44.5 MB / 299.9 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.891/1.97, allocations: 0.7438 GB / 1.037 GB, free: 104.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/1.971, allocations: 73.17 kB / 1.037 GB, free: 104.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2571/2.228, allocations: 77.98 MB / 1.113 GB, free: 40.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.603e-06/2.228, allocations: 3.984 kB / 1.113 GB, free: 40.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.341e-06/2.228, allocations: 0 / 1.113 GB, free: 40.12 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.0006881/2.229, allocations: 470 kB / 1.113 GB, free: 39.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/2.229, allocations: 12.03 kB / 1.113 GB, free: 39.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003536/2.229, allocations: 39.89 kB / 1.113 GB, free: 39.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/2.229, allocations: 194.9 kB / 1.114 GB, free: 39.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/2.229, allocations: 0 / 1.114 GB, free: 39.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/2.229, allocations: 7.984 kB / 1.114 GB, free: 39.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/2.229, allocations: 70.8 kB / 1.114 GB, free: 39.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/2.229, allocations: 3.984 kB / 1.114 GB, free: 39.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/2.229, allocations: 8 kB / 1.114 GB, free: 39.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/2.229, allocations: 0 / 1.114 GB, free: 39.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/2.23, allocations: 43.92 kB / 1.114 GB, free: 39.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002087/2.23, allocations: 190.5 kB / 1.114 GB, free: 38.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/2.23, allocations: 117.2 kB / 1.114 GB, free: 38.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.508e-05/2.23, allocations: 33.86 kB / 1.114 GB, free: 38.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004126/2.231, allocations: 137 kB / 1.114 GB, free: 38.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/2.231, allocations: 34.55 kB / 1.114 GB, free: 38.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.648e-06/2.231, allocations: 0 / 1.114 GB, free: 38.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002992/2.231, allocations: 97.48 kB / 1.114 GB, free: 38.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/2.231, allocations: 85.11 kB / 1.114 GB, free: 38.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/2.231, allocations: 121 kB / 1.114 GB, free: 38.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/2.231, allocations: 25.7 kB / 1.114 GB, free: 38.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.728e-05/2.231, allocations: 84.14 kB / 1.115 GB, free: 38.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/2.231, allocations: 23.7 kB / 1.115 GB, free: 38.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-06/2.231, allocations: 0 / 1.115 GB, free: 38.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.347e-05/2.231, allocations: 326.8 kB / 1.115 GB, free: 37.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.942e-05/2.231, allocations: 23.98 kB / 1.115 GB, free: 37.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.518e-05/2.232, allocations: 47.42 kB / 1.115 GB, free: 37.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.645e-05/2.232, allocations: 27.91 kB / 1.115 GB, free: 37.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.523e-06/2.232, allocations: 3.938 kB / 1.115 GB, free: 37.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002784/2.232, allocations: 105.5 kB / 1.115 GB, free: 37.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/2.232, allocations: 8 kB / 1.115 GB, free: 37.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.963e-06/2.232, allocations: 64 / 1.115 GB, free: 37.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/2.232, allocations: 7.984 kB / 1.115 GB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/2.232, allocations: 16 kB / 1.115 GB, free: 37.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.436e-06/2.232, allocations: 3.938 kB / 1.115 GB, free: 37.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.558e-05/2.232, allocations: 11.92 kB / 1.115 GB, free: 37.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/2.232, allocations: 4 kB / 1.115 GB, free: 37.52 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.585e-05/2.232, allocations: 119.8 kB / 1.115 GB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.798e-05/2.232, allocations: 3.906 kB / 1.115 GB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/2.233, allocations: 122 kB / 1.115 GB, free: 37.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.419e-06/2.233, allocations: 8 kB / 1.115 GB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.053e-06/2.233, allocations: 4 kB / 1.115 GB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.18e-06/2.233, allocations: 0 / 1.115 GB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/2.233, allocations: 185.6 kB / 1.116 GB, free: 37.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.68e-06/2.233, allocations: 0 / 1.116 GB, free: 37.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/2.233, allocations: 19.92 kB / 1.116 GB, free: 37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.004e-06/2.233, allocations: 0 / 1.116 GB, free: 37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/2.233, allocations: 4.281 kB / 1.116 GB, free: 37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/2.233, allocations: 0 / 1.116 GB, free: 37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.876e-06/2.233, allocations: 0 / 1.116 GB, free: 37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/2.234, allocations: 179.5 kB / 1.116 GB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-05/2.234, allocations: 101 kB / 1.116 GB, free: 36.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/2.234, allocations: 4 kB / 1.116 GB, free: 36.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.957e-05/2.234, allocations: 4 kB / 1.116 GB, free: 36.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/2.234, allocations: 7.984 kB / 1.116 GB, free: 36.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/2.234, allocations: 7.938 kB / 1.116 GB, free: 36.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.328e-05/2.234, allocations: 111.3 kB / 1.116 GB, free: 36.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.9e-07/2.234, allocations: 0 / 1.116 GB, free: 36.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009978/2.235, allocations: 267.6 kB / 1.116 GB, free: 36.28 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.001911/2.237, allocations: 0.953 MB / 1.117 GB, free: 35.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00017/2.237, allocations: 51.98 kB / 1.117 GB, free: 35.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/2.237, allocations: 4 kB / 1.117 GB, free: 35.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.561e-05/2.237, allocations: 27.92 kB / 1.117 GB, free: 35.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/2.237, allocations: 19.42 kB / 1.117 GB, free: 35.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000444/2.238, allocations: 250.1 kB / 1.117 GB, free: 34.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/2.238, allocations: 0.6926 MB / 1.118 GB, free: 34.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.033e-05/2.238, allocations: 15.94 kB / 1.118 GB, free: 34.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/2.238, allocations: 19.42 kB / 1.118 GB, free: 34.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.441e-06/2.238, allocations: 0 / 1.118 GB, free: 34.2 MB / 410.7 MB Notification: Performance of Templates: time 0.02425/2.262, allocations: 14.81 MB / 1.133 GB, free: 19.38 MB / 410.7 MB