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_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 1.688/1.688, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.048e-05/3.064e-05, allocations: 4 kB / 225 MB, free: 2.344 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2134, allocations: 38.77 MB / 263.8 MB, free: 9.84 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.305/2.518, allocations: 0.7307 GB / 0.9883 GB, free: 65.67 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00019/2.519, allocations: 74.33 kB / 0.9883 GB, free: 65.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5469/3.066, allocations: 77.44 MB / 1.064 GB, free: 109.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.227e-06/3.066, allocations: 3.938 kB / 1.064 GB, free: 109.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.174e-06/3.066, allocations: 6.281 kB / 1.064 GB, free: 109.7 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.0007393/3.066, allocations: 460.5 kB / 1.064 GB, free: 109.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/3.066, allocations: 10.38 kB / 1.064 GB, free: 109.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003729/3.067, allocations: 37.3 kB / 1.064 GB, free: 109.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/3.067, allocations: 195.3 kB / 1.065 GB, free: 109.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/3.067, allocations: 6.5 kB / 1.065 GB, free: 109.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/3.067, allocations: 10.72 kB / 1.065 GB, free: 109.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/3.067, allocations: 73.64 kB / 1.065 GB, free: 109.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.881e-06/3.067, allocations: 0 / 1.065 GB, free: 109.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/3.067, allocations: 3.438 kB / 1.065 GB, free: 109.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.639e-06/3.067, allocations: 3.438 kB / 1.065 GB, free: 109.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/3.067, allocations: 39.97 kB / 1.065 GB, free: 109.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/3.068, allocations: 195.8 kB / 1.065 GB, free: 108.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/3.068, allocations: 111.4 kB / 1.065 GB, free: 108.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.092e-05/3.068, allocations: 37.25 kB / 1.065 GB, free: 108.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003987/3.068, allocations: 137.2 kB / 1.065 GB, free: 108.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/3.068, allocations: 40.42 kB / 1.065 GB, free: 108.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.386e-06/3.068, allocations: 0 / 1.065 GB, free: 108.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002809/3.069, allocations: 89.77 kB / 1.065 GB, free: 108.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/3.069, allocations: 78.23 kB / 1.065 GB, free: 108.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/3.069, allocations: 129.7 kB / 1.066 GB, free: 108.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/3.069, allocations: 25.7 kB / 1.066 GB, free: 108.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.887e-05/3.069, allocations: 88.3 kB / 1.066 GB, free: 108.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/3.069, allocations: 22.28 kB / 1.066 GB, free: 108.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.156e-06/3.069, allocations: 3.938 kB / 1.066 GB, free: 108.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.201e-05/3.069, allocations: 320.8 kB / 1.066 GB, free: 108.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.028e-05/3.069, allocations: 28.31 kB / 1.066 GB, free: 108.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.899e-05/3.069, allocations: 47.39 kB / 1.066 GB, free: 108 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.725e-05/3.069, allocations: 27.58 kB / 1.066 GB, free: 108 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.921e-06/3.069, allocations: 0 / 1.066 GB, free: 108 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002568/3.07, allocations: 113 kB / 1.066 GB, free: 108 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/3.07, allocations: 3.656 kB / 1.066 GB, free: 108 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.764e-06/3.07, allocations: 3.5 kB / 1.066 GB, free: 108 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.872e-05/3.07, allocations: 3.953 kB / 1.066 GB, free: 108 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/3.07, allocations: 19.97 kB / 1.066 GB, free: 108 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/3.07, allocations: 0 / 1.066 GB, free: 108 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.235e-05/3.07, allocations: 10.44 kB / 1.066 GB, free: 108 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/3.07, allocations: 7.094 kB / 1.066 GB, free: 108 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.175e-05/3.07, allocations: 111.1 kB / 1.066 GB, free: 107.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.685e-05/3.07, allocations: 3.844 kB / 1.066 GB, free: 107.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000288/3.07, allocations: 126.5 kB / 1.066 GB, free: 107.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.433e-06/3.07, allocations: 3.953 kB / 1.066 GB, free: 107.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.426e-06/3.07, allocations: 0 / 1.066 GB, free: 107.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/3.07, allocations: 8.094 kB / 1.066 GB, free: 107.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/3.071, allocations: 178.5 kB / 1.067 GB, free: 107.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.636e-06/3.071, allocations: 0.6875 kB / 1.067 GB, free: 107.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/3.071, allocations: 15.11 kB / 1.067 GB, free: 107.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.145e-06/3.071, allocations: 0 / 1.067 GB, free: 107.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/3.071, allocations: 9.375 kB / 1.067 GB, free: 107.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.964e-06/3.071, allocations: 7.391 kB / 1.067 GB, free: 107.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.313e-06/3.071, allocations: 3.953 kB / 1.067 GB, free: 107.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/3.071, allocations: 176 kB / 1.067 GB, free: 107.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.329e-05/3.071, allocations: 94.33 kB / 1.067 GB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/3.071, allocations: 3.844 kB / 1.067 GB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.996e-05/3.071, allocations: 6.453 kB / 1.067 GB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/3.071, allocations: 7.75 kB / 1.067 GB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/3.071, allocations: 7.734 kB / 1.067 GB, free: 107.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.889e-05/3.072, allocations: 112.5 kB / 1.067 GB, free: 107.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.52e-07/3.072, allocations: 2.812 kB / 1.067 GB, free: 107.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001045/3.073, allocations: 264.3 kB / 1.067 GB, free: 107.3 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.002014/3.075, allocations: 0.9583 MB / 1.068 GB, free: 107.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001904/3.075, allocations: 50.7 kB / 1.068 GB, free: 107.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.404e-06/3.075, allocations: 7.125 kB / 1.068 GB, free: 107.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.996e-05/3.075, allocations: 27.95 kB / 1.068 GB, free: 107.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/3.075, allocations: 22.02 kB / 1.068 GB, free: 107.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000441/3.076, allocations: 241.7 kB / 1.069 GB, free: 107.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/3.076, allocations: 0.6916 MB / 1.069 GB, free: 106.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.379e-05/3.076, allocations: 19.42 kB / 1.069 GB, free: 106.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/3.076, allocations: 14.62 kB / 1.069 GB, free: 106.3 MB / 362.7 MB Notification: Performance of SimCode: time 1.464e-06/3.076, allocations: 2.625 kB / 1.069 GB, free: 106.3 MB / 362.7 MB Notification: Performance of Templates: time 0.02736/3.103, allocations: 14.8 MB / 1.084 GB, free: 105.4 MB / 362.7 MB