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.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 1.724/1.724, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.333e-05/3.352e-05, allocations: 4 kB / 225 MB, free: 2.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.214, allocations: 38.77 MB / 263.8 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.645/1.859, allocations: 0.7307 GB / 0.9882 GB, free: 92.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/1.86, allocations: 67.97 kB / 0.9883 GB, free: 92.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2459/2.106, allocations: 77.46 MB / 1.064 GB, free: 14.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.647e-06/2.106, allocations: 0 / 1.064 GB, free: 14.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.716e-06/2.106, allocations: 4 kB / 1.064 GB, free: 14.45 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.0006906/2.106, allocations: 470 kB / 1.064 GB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/2.106, allocations: 12.03 kB / 1.064 GB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000358/2.107, allocations: 39.86 kB / 1.064 GB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/2.107, allocations: 187 kB / 1.065 GB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/2.107, allocations: 0 / 1.065 GB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/2.107, allocations: 11.91 kB / 1.065 GB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/2.107, allocations: 67.38 kB / 1.065 GB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.849e-06/2.107, allocations: 0 / 1.065 GB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/2.107, allocations: 8 kB / 1.065 GB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/2.107, allocations: 4 kB / 1.065 GB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/2.107, allocations: 47.89 kB / 1.065 GB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001893/2.108, allocations: 198.5 kB / 1.065 GB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/2.108, allocations: 105.2 kB / 1.065 GB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.516e-05/2.108, allocations: 41.78 kB / 1.065 GB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003994/2.108, allocations: 137 kB / 1.065 GB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/2.108, allocations: 30.56 kB / 1.065 GB, free: 12.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.318e-06/2.108, allocations: 0 / 1.065 GB, free: 12.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002914/2.109, allocations: 89.62 kB / 1.065 GB, free: 12.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/2.109, allocations: 89.05 kB / 1.065 GB, free: 12.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/2.109, allocations: 129 kB / 1.066 GB, free: 12.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/2.109, allocations: 25.7 kB / 1.066 GB, free: 12.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.45e-05/2.109, allocations: 154.6 kB / 1.066 GB, free: 12.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/2.109, allocations: 15.72 kB / 1.066 GB, free: 12.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.576e-06/2.109, allocations: 4 kB / 1.066 GB, free: 12.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.143e-05/2.109, allocations: 314.8 kB / 1.066 GB, free: 12.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.673e-05/2.109, allocations: 27.92 kB / 1.066 GB, free: 12.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.436e-05/2.109, allocations: 51.42 kB / 1.066 GB, free: 11.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.457e-05/2.109, allocations: 23.97 kB / 1.066 GB, free: 11.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.601e-06/2.109, allocations: 0 / 1.066 GB, free: 11.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002188/2.11, allocations: 105.4 kB / 1.066 GB, free: 11.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/2.11, allocations: 11.94 kB / 1.066 GB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.135e-06/2.11, allocations: 8.047 kB / 1.066 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/2.11, allocations: 0 / 1.066 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/2.11, allocations: 19.94 kB / 1.066 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.409e-06/2.11, allocations: 0 / 1.066 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.362e-05/2.11, allocations: 11.92 kB / 1.066 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/2.11, allocations: 4 kB / 1.066 GB, free: 11.79 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 4.98e-05/2.11, allocations: 109 kB / 1.066 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/2.11, allocations: 11.86 kB / 1.066 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/2.11, allocations: 130 kB / 1.067 GB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.471e-06/2.11, allocations: 0 / 1.067 GB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/2.11, allocations: 0 / 1.067 GB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.793e-06/2.11, allocations: 0 / 1.067 GB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/2.11, allocations: 177.6 kB / 1.067 GB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.238e-06/2.11, allocations: 0 / 1.067 GB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/2.111, allocations: 15.98 kB / 1.067 GB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.766e-06/2.111, allocations: 3.953 kB / 1.067 GB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/2.111, allocations: 4 kB / 1.067 GB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.557e-06/2.111, allocations: 0 / 1.067 GB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.729e-06/2.111, allocations: 0 / 1.067 GB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/2.111, allocations: 179.5 kB / 1.067 GB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.647e-05/2.111, allocations: 105.2 kB / 1.067 GB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/2.111, allocations: 4 kB / 1.067 GB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.688e-05/2.111, allocations: 4 kB / 1.067 GB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/2.111, allocations: 11.97 kB / 1.067 GB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/2.111, allocations: 12.12 kB / 1.067 GB, free: 10.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.538e-05/2.111, allocations: 107.3 kB / 1.067 GB, free: 10.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.664e-06/2.111, allocations: 0 / 1.067 GB, free: 10.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009801/2.112, allocations: 271.6 kB / 1.067 GB, free: 10.56 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.0019/2.114, allocations: 0.9405 MB / 1.068 GB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001735/2.114, allocations: 59.92 kB / 1.068 GB, free: 9.551 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.332e-06/2.114, allocations: 0 / 1.068 GB, free: 9.551 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.564e-05/2.115, allocations: 27.92 kB / 1.068 GB, free: 9.523 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/2.115, allocations: 24.53 kB / 1.068 GB, free: 9.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004488/2.115, allocations: 275.2 kB / 1.069 GB, free: 9.199 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/2.115, allocations: 0.6887 MB / 1.069 GB, free: 8.484 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.339e-05/2.116, allocations: 19.44 kB / 1.069 GB, free: 8.465 MB / 362.7 MB Notification: Performance of SimCode: time 1.79e-06/2.116, allocations: 0 / 1.069 GB, free: 8.465 MB / 362.7 MB Notification: Performance of Templates: time 0.01263/2.128, allocations: 8.098 MB / 1.077 GB, free: 368 kB / 362.7 MB