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_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.847/1.847, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.498e-05/2.508e-05, allocations: 11.98 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2522, allocations: 44.5 MB / 294.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.444/1.697, allocations: 0.59 GB / 0.8772 GB, free: 100.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/1.697, allocations: 81 kB / 0.8773 GB, free: 100.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1692/1.866, allocations: 41.05 MB / 0.9174 GB, free: 79.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.749e-06/1.866, allocations: 0 / 0.9174 GB, free: 79.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/1.866, allocations: 7.938 kB / 0.9174 GB, free: 79 MB / 394.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.0007247/1.867, allocations: 429.8 kB / 0.9178 GB, free: 78.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/1.867, allocations: 12.03 kB / 0.9178 GB, free: 78.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001835/1.869, allocations: 95.08 kB / 0.9179 GB, free: 78.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/1.869, allocations: 197.6 kB / 0.9181 GB, free: 78.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/1.869, allocations: 4 kB / 0.9181 GB, free: 78.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/1.869, allocations: 0 / 0.9181 GB, free: 78.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001472/1.869, allocations: 27.36 kB / 0.9181 GB, free: 78.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/1.869, allocations: 74.69 kB / 0.9182 GB, free: 78.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/1.87, allocations: 0 / 0.9182 GB, free: 78.12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/1.87, allocations: 0 / 0.9182 GB, free: 78.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.457e-06/1.87, allocations: 0 / 0.9182 GB, free: 78.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/1.87, allocations: 166.2 kB / 0.9184 GB, free: 77.92 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005327/1.87, allocations: 96.14 kB / 0.9184 GB, free: 77.82 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.936e-05/1.871, allocations: 29.16 kB / 0.9185 GB, free: 77.79 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001238/1.872, allocations: 1.383 MB / 0.9198 GB, free: 76.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/1.872, allocations: 34.56 kB / 0.9199 GB, free: 76.1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 4.006e-06/1.872, allocations: 0 / 0.9199 GB, free: 76.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.001332/1.873, allocations: 147.6 kB / 0.92 GB, free: 75.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/1.873, allocations: 81.05 kB / 0.9201 GB, free: 75.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/1.873, allocations: 123.3 kB / 0.9202 GB, free: 75.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/1.874, allocations: 25.7 kB / 0.9202 GB, free: 75.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/1.874, allocations: 157.6 kB / 0.9204 GB, free: 75.56 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/1.874, allocations: 17.97 kB / 0.9204 GB, free: 75.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/1.874, allocations: 0 / 0.9204 GB, free: 75.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/1.874, allocations: 325.4 kB / 0.9207 GB, free: 75.22 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.695e-05/1.874, allocations: 10.31 kB / 0.9207 GB, free: 75.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.653e-05/1.874, allocations: 46.5 kB / 0.9207 GB, free: 75.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/1.875, allocations: 95.06 kB / 0.9208 GB, free: 75.08 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.933e-06/1.875, allocations: 0 / 0.9208 GB, free: 75.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001272/1.876, allocations: 155.7 kB / 0.921 GB, free: 74.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/1.876, allocations: 8 kB / 0.921 GB, free: 74.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.915e-06/1.876, allocations: 0 / 0.921 GB, free: 74.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/1.877, allocations: 3.938 kB / 0.921 GB, free: 74.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/1.877, allocations: 23.97 kB / 0.921 GB, free: 74.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.225e-06/1.877, allocations: 4.062 kB / 0.921 GB, free: 74.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/1.877, allocations: 7.906 kB / 0.921 GB, free: 74.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/1.877, allocations: 4 kB / 0.921 GB, free: 74.88 MB / 394.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 8.689e-05/1.877, allocations: 112.7 kB / 0.9211 GB, free: 74.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/1.877, allocations: 8.172 kB / 0.9212 GB, free: 74.76 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/1.879, allocations: 193.3 kB / 0.9213 GB, free: 74.58 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.218e-06/1.879, allocations: 4 kB / 0.9213 GB, free: 74.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/1.879, allocations: 0 / 0.9213 GB, free: 74.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/1.879, allocations: 0 / 0.9213 GB, free: 74.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/1.879, allocations: 153.4 kB / 0.9215 GB, free: 74.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.321e-06/1.879, allocations: 0 / 0.9215 GB, free: 74.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002777/1.879, allocations: 22.47 kB / 0.9215 GB, free: 74.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.31e-06/1.879, allocations: 0 / 0.9215 GB, free: 74.37 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/1.879, allocations: 4 kB / 0.9215 GB, free: 74.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.013e-06/1.879, allocations: 0 / 0.9215 GB, free: 74.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.88, allocations: 0 / 0.9215 GB, free: 74.37 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/1.881, allocations: 222.8 kB / 0.9217 GB, free: 74.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/1.881, allocations: 87.56 kB / 0.9218 GB, free: 74.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.313e-05/1.881, allocations: 4.047 kB / 0.9218 GB, free: 74.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/1.881, allocations: 8 kB / 0.9218 GB, free: 74.03 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.197e-05/1.881, allocations: 7.984 kB / 0.9218 GB, free: 74.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/1.882, allocations: 4.062 kB / 0.9218 GB, free: 74.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000132/1.882, allocations: 108.5 kB / 0.9219 GB, free: 73.92 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.296e-06/1.882, allocations: 0 / 0.9219 GB, free: 73.92 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001239/1.883, allocations: 208.5 kB / 0.9221 GB, free: 73.75 MB / 394.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.002433/1.885, allocations: 0.9108 MB / 0.923 GB, free: 72.85 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002333/1.886, allocations: 43.17 kB / 0.9231 GB, free: 72.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.456e-06/1.886, allocations: 4 kB / 0.9231 GB, free: 72.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/1.886, allocations: 20.36 kB / 0.9231 GB, free: 72.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/1.886, allocations: 10.27 kB / 0.9231 GB, free: 72.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007934/1.887, allocations: 257 kB / 0.9233 GB, free: 72.51 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/1.887, allocations: 0.6963 MB / 0.924 GB, free: 71.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/1.887, allocations: 27.41 kB / 0.924 GB, free: 71.76 MB / 394.7 MB Notification: Performance of SimCode: time 2.296e-06/1.887, allocations: 0 / 0.924 GB, free: 71.76 MB / 394.7 MB Notification: Performance of Templates: time 0.01747/1.905, allocations: 6.678 MB / 0.9306 GB, free: 65.08 MB / 394.7 MB