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.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.607/1.607, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.962e-05/2.965e-05, allocations: 0 / 225 MB, free: 2.711 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2163, allocations: 38.77 MB / 263.8 MB, free: 9.875 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.596/1.812, allocations: 0.585 GB / 0.8425 GB, free: 74.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/1.813, allocations: 77.89 kB / 0.8426 GB, free: 74.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1401/1.953, allocations: 41.62 MB / 0.8833 GB, free: 39.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.52e-06/1.953, allocations: 0 / 0.8833 GB, free: 39.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.488e-06/1.953, allocations: 0 / 0.8833 GB, free: 39.01 MB / 362.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.0005201/1.953, allocations: 446.1 kB / 0.8837 GB, free: 38.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/1.953, allocations: 8.031 kB / 0.8837 GB, free: 38.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/1.954, allocations: 87.86 kB / 0.8838 GB, free: 38.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/1.955, allocations: 194.8 kB / 0.884 GB, free: 38.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/1.955, allocations: 0 / 0.884 GB, free: 38.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/1.955, allocations: 15.92 kB / 0.884 GB, free: 38.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/1.955, allocations: 75.33 kB / 0.884 GB, free: 38.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.164e-06/1.955, allocations: 0 / 0.884 GB, free: 38.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/1.955, allocations: 0 / 0.884 GB, free: 38.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.848e-06/1.955, allocations: 4 kB / 0.8841 GB, free: 38.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.806e-05/1.955, allocations: 27.92 kB / 0.8841 GB, free: 38.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/1.955, allocations: 194.4 kB / 0.8843 GB, free: 37.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003616/1.956, allocations: 89.28 kB / 0.8843 GB, free: 37.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.185e-05/1.956, allocations: 25.78 kB / 0.8844 GB, free: 37.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007478/1.956, allocations: 1.387 MB / 0.8857 GB, free: 36.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/1.956, allocations: 34.5 kB / 0.8858 GB, free: 35.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.228e-06/1.956, allocations: 0 / 0.8858 GB, free: 35.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002348/1.957, allocations: 85.56 kB / 0.8858 GB, free: 35.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/1.957, allocations: 77.11 kB / 0.8859 GB, free: 35.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/1.957, allocations: 121 kB / 0.886 GB, free: 35.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/1.957, allocations: 29.7 kB / 0.8861 GB, free: 35.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.795e-05/1.957, allocations: 158.5 kB / 0.8862 GB, free: 35.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/1.957, allocations: 19.66 kB / 0.8862 GB, free: 35.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.228e-06/1.957, allocations: 0 / 0.8862 GB, free: 35.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.853e-05/1.957, allocations: 318.8 kB / 0.8865 GB, free: 35.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.428e-05/1.957, allocations: 20 kB / 0.8866 GB, free: 35.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.108e-05/1.957, allocations: 39.38 kB / 0.8866 GB, free: 35.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.964e-05/1.957, allocations: 27.94 kB / 0.8866 GB, free: 35.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.646e-06/1.957, allocations: 0 / 0.8866 GB, free: 35.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000206/1.958, allocations: 85.59 kB / 0.8867 GB, free: 34.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.958, allocations: 8.062 kB / 0.8867 GB, free: 34.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.838e-06/1.958, allocations: 0 / 0.8867 GB, free: 34.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/1.958, allocations: 4 kB / 0.8867 GB, free: 34.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/1.958, allocations: 23.92 kB / 0.8867 GB, free: 34.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.327e-06/1.958, allocations: 0 / 0.8867 GB, free: 34.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/1.958, allocations: 7.984 kB / 0.8867 GB, free: 34.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/1.958, allocations: 4.188 kB / 0.8867 GB, free: 34.89 MB / 362.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.554e-05/1.958, allocations: 108.9 kB / 0.8868 GB, free: 34.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/1.958, allocations: 7.906 kB / 0.8869 GB, free: 34.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/1.958, allocations: 113.6 kB / 0.887 GB, free: 34.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.986e-06/1.958, allocations: 3.938 kB / 0.887 GB, free: 34.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.293e-06/1.958, allocations: 0 / 0.887 GB, free: 34.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.277e-06/1.958, allocations: 4 kB / 0.887 GB, free: 34.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/1.959, allocations: 193.7 kB / 0.8872 GB, free: 34.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.271e-06/1.959, allocations: 0 / 0.8872 GB, free: 34.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/1.959, allocations: 19.92 kB / 0.8872 GB, free: 34.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.851e-06/1.959, allocations: 4 kB / 0.8872 GB, free: 34.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/1.959, allocations: 7.984 kB / 0.8872 GB, free: 34.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.56e-06/1.959, allocations: 4 kB / 0.8872 GB, free: 34.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.847e-06/1.959, allocations: 0 / 0.8872 GB, free: 34.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/1.959, allocations: 135.6 kB / 0.8873 GB, free: 34.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.001e-05/1.959, allocations: 97.02 kB / 0.8874 GB, free: 34.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/1.959, allocations: 8.062 kB / 0.8874 GB, free: 34.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/1.959, allocations: 3.984 kB / 0.8874 GB, free: 34.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/1.96, allocations: 7.984 kB / 0.8874 GB, free: 34.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/1.96, allocations: 4 kB / 0.8874 GB, free: 34.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.295e-05/1.96, allocations: 107.3 kB / 0.8875 GB, free: 33.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.542e-06/1.96, allocations: 288 / 0.8875 GB, free: 33.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007775/1.96, allocations: 215.7 kB / 0.8877 GB, free: 33.76 MB / 362.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.001458/1.962, allocations: 0.8328 MB / 0.8886 GB, free: 32.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001708/1.962, allocations: 47.92 kB / 0.8886 GB, free: 32.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.729e-06/1.962, allocations: 0 / 0.8886 GB, free: 32.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.046e-05/1.962, allocations: 27.94 kB / 0.8886 GB, free: 32.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/1.962, allocations: 12.06 kB / 0.8886 GB, free: 32.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005277/1.963, allocations: 259.8 kB / 0.8889 GB, free: 32.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/1.963, allocations: 0.6887 MB / 0.8896 GB, free: 31.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/1.963, allocations: 27.41 kB / 0.8896 GB, free: 31.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.366e-06/1.963, allocations: 0 / 0.8896 GB, free: 31.8 MB / 362.7 MB Notification: Performance of Templates: time 0.01084/1.974, allocations: 6.7 MB / 0.8961 GB, free: 25.09 MB / 362.7 MB