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_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 1.859/1.859, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.398e-05/2.405e-05, allocations: 4 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2475, allocations: 44.5 MB / 294.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.925/2.173, allocations: 0.7431 GB / 1.03 GB, free: 98.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/2.173, allocations: 77.69 kB / 1.03 GB, free: 98.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.233/2.406, allocations: 76.88 MB / 1.105 GB, free: 33.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.857e-06/2.406, allocations: 3.984 kB / 1.105 GB, free: 33.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.291e-06/2.406, allocations: 0 / 1.105 GB, free: 33.39 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.0006541/2.407, allocations: 470 kB / 1.106 GB, free: 32.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/2.407, allocations: 8.031 kB / 1.106 GB, free: 32.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003397/2.407, allocations: 35.91 kB / 1.106 GB, free: 32.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/2.407, allocations: 195 kB / 1.106 GB, free: 32.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/2.407, allocations: 3.984 kB / 1.106 GB, free: 32.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/2.407, allocations: 7.984 kB / 1.106 GB, free: 32.6 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001032/2.408, allocations: 39.91 kB / 1.106 GB, free: 32.56 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/2.408, allocations: 75.38 kB / 1.106 GB, free: 32.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.791e-06/2.408, allocations: 0 / 1.106 GB, free: 32.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/2.408, allocations: 0 / 1.106 GB, free: 32.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.367e-06/2.408, allocations: 3.953 kB / 1.106 GB, free: 32.47 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/2.408, allocations: 167.1 kB / 1.106 GB, free: 32.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/2.408, allocations: 117.2 kB / 1.107 GB, free: 32.14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.52e-05/2.408, allocations: 29.84 kB / 1.107 GB, free: 32.1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003903/2.409, allocations: 133 kB / 1.107 GB, free: 31.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/2.409, allocations: 34.56 kB / 1.107 GB, free: 31.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.352e-06/2.409, allocations: 4 kB / 1.107 GB, free: 31.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009895/2.41, allocations: 181.4 kB / 1.107 GB, free: 31.72 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/2.41, allocations: 85.05 kB / 1.107 GB, free: 31.62 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/2.41, allocations: 125 kB / 1.107 GB, free: 31.49 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/2.41, allocations: 25.7 kB / 1.107 GB, free: 31.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.192e-05/2.41, allocations: 154.6 kB / 1.107 GB, free: 31.31 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/2.41, allocations: 19.72 kB / 1.107 GB, free: 31.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.198e-06/2.41, allocations: 0 / 1.107 GB, free: 31.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.818e-05/2.41, allocations: 322.8 kB / 1.108 GB, free: 30.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.101e-05/2.41, allocations: 19.97 kB / 1.108 GB, free: 30.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.809e-05/2.41, allocations: 43.42 kB / 1.108 GB, free: 30.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007754/2.411, allocations: 127.8 kB / 1.108 GB, free: 30.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/2.411, allocations: 4 kB / 1.108 GB, free: 30.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000929/2.412, allocations: 185.5 kB / 1.108 GB, free: 30.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/2.412, allocations: 8 kB / 1.108 GB, free: 30.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.484e-06/2.412, allocations: 0 / 1.108 GB, free: 30.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/2.412, allocations: 0 / 1.108 GB, free: 30.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/2.412, allocations: 19.98 kB / 1.108 GB, free: 30.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/2.412, allocations: 0 / 1.108 GB, free: 30.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.429e-05/2.412, allocations: 7.938 kB / 1.108 GB, free: 30.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/2.412, allocations: 4 kB / 1.108 GB, free: 30.54 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 5.457e-05/2.412, allocations: 120.7 kB / 1.108 GB, free: 30.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.709e-05/2.413, allocations: 7.906 kB / 1.108 GB, free: 30.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009491/2.413, allocations: 222.3 kB / 1.108 GB, free: 30.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.665e-06/2.413, allocations: 4 kB / 1.108 GB, free: 30.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.623e-06/2.414, allocations: 0 / 1.108 GB, free: 30.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.7e-06/2.414, allocations: 0 / 1.108 GB, free: 30.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/2.414, allocations: 154.2 kB / 1.109 GB, free: 29.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.854e-06/2.414, allocations: 7.953 kB / 1.109 GB, free: 29.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/2.414, allocations: 19.92 kB / 1.109 GB, free: 29.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.144e-06/2.414, allocations: 4 kB / 1.109 GB, free: 29.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/2.414, allocations: 0 / 1.109 GB, free: 29.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.75e-06/2.414, allocations: 4 kB / 1.109 GB, free: 29.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.611e-06/2.414, allocations: 0 / 1.109 GB, free: 29.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/2.415, allocations: 267.4 kB / 1.109 GB, free: 29.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.326e-05/2.415, allocations: 97.03 kB / 1.109 GB, free: 29.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/2.415, allocations: 8.047 kB / 1.109 GB, free: 29.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.791e-05/2.415, allocations: 0 / 1.109 GB, free: 29.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/2.415, allocations: 4 kB / 1.109 GB, free: 29.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/2.415, allocations: 11.92 kB / 1.109 GB, free: 29.53 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.772e-05/2.415, allocations: 111.3 kB / 1.109 GB, free: 29.42 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.82e-07/2.415, allocations: 0 / 1.109 GB, free: 29.42 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009197/2.416, allocations: 255.6 kB / 1.109 GB, free: 29.17 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.001967/2.418, allocations: 1.053 MB / 1.11 GB, free: 28.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001546/2.418, allocations: 47.98 kB / 1.11 GB, free: 28.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.861e-06/2.418, allocations: 128 / 1.11 GB, free: 28.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.04e-05/2.418, allocations: 31.92 kB / 1.11 GB, free: 28.04 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/2.419, allocations: 23.88 kB / 1.11 GB, free: 28.01 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004487/2.419, allocations: 268.3 kB / 1.111 GB, free: 27.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/2.419, allocations: 0.6924 MB / 1.111 GB, free: 27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.458e-05/2.419, allocations: 19.44 kB / 1.111 GB, free: 26.98 MB / 394.7 MB Notification: Performance of SimCode: time 1.634e-06/2.419, allocations: 0 / 1.111 GB, free: 26.98 MB / 394.7 MB Notification: Performance of Templates: time 0.01259/2.432, allocations: 8.077 MB / 1.119 GB, free: 18.89 MB / 394.7 MB