Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 2.021/2.021, allocations: 225.8 MB / 238.8 MB, free: 11.14 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.328e-05/2.344e-05, allocations: 0 / 292.1 MB, free: 8.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09374/0.09379, allocations: 50.41 MB / 342.5 MB, free: 5.926 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.998/2.092, allocations: 0.7151 GB / 1.05 GB, free: 118.3 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/2.092, allocations: 72.77 kB / 1.05 GB, free: 118.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2048/2.297, allocations: 68.32 MB / 1.116 GB, free: 62.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.096e-06/2.297, allocations: 0 / 1.116 GB, free: 62.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.445e-05/2.297, allocations: 0 / 1.116 GB, free: 62.66 MB / 442.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.0006132/2.298, allocations: 438 kB / 1.117 GB, free: 62.19 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/2.298, allocations: 16.03 kB / 1.117 GB, free: 62.17 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004264/2.298, allocations: 47.94 kB / 1.117 GB, free: 62.12 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/2.299, allocations: 194.9 kB / 1.117 GB, free: 61.89 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/2.299, allocations: 4 kB / 1.117 GB, free: 61.89 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/2.299, allocations: 3.984 kB / 1.117 GB, free: 61.89 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/2.299, allocations: 67.39 kB / 1.117 GB, free: 61.81 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/2.299, allocations: 3.984 kB / 1.117 GB, free: 61.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/2.299, allocations: 8 kB / 1.117 GB, free: 61.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.993e-06/2.299, allocations: 4 kB / 1.117 GB, free: 61.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.457e-05/2.299, allocations: 39.91 kB / 1.117 GB, free: 61.75 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001917/2.299, allocations: 194.5 kB / 1.117 GB, free: 61.51 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/2.3, allocations: 113.2 kB / 1.117 GB, free: 61.38 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.388e-05/2.3, allocations: 37.8 kB / 1.118 GB, free: 61.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004478/2.3, allocations: 226.1 kB / 1.118 GB, free: 61.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/2.3, allocations: 34.56 kB / 1.118 GB, free: 61.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 3.353e-06/2.3, allocations: 4 kB / 1.118 GB, free: 61.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004522/2.301, allocations: 109.5 kB / 1.118 GB, free: 60.92 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/2.301, allocations: 85.05 kB / 1.118 GB, free: 60.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/2.301, allocations: 125 kB / 1.118 GB, free: 60.69 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/2.301, allocations: 29.7 kB / 1.118 GB, free: 60.66 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.719e-05/2.301, allocations: 84.14 kB / 1.118 GB, free: 60.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/2.301, allocations: 27.64 kB / 1.118 GB, free: 60.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.85e-06/2.301, allocations: 0 / 1.118 GB, free: 60.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.072e-05/2.301, allocations: 322.7 kB / 1.119 GB, free: 60.22 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.635e-05/2.301, allocations: 23.97 kB / 1.119 GB, free: 60.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.639e-05/2.301, allocations: 51.42 kB / 1.119 GB, free: 60.13 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.647e-05/2.301, allocations: 27.97 kB / 1.119 GB, free: 60.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.509e-06/2.301, allocations: 0 / 1.119 GB, free: 60.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002547/2.301, allocations: 105.5 kB / 1.119 GB, free: 60 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/2.302, allocations: 4 kB / 1.119 GB, free: 59.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.308e-06/2.302, allocations: 8.062 kB / 1.119 GB, free: 59.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/2.302, allocations: 0 / 1.119 GB, free: 59.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/2.302, allocations: 19.92 kB / 1.119 GB, free: 59.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.069e-06/2.302, allocations: 4 kB / 1.119 GB, free: 59.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.988e-05/2.302, allocations: 0 / 1.119 GB, free: 59.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/2.302, allocations: 11.98 kB / 1.119 GB, free: 59.95 MB / 442.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.944e-05/2.302, allocations: 109.6 kB / 1.119 GB, free: 59.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.092e-05/2.302, allocations: 7.906 kB / 1.119 GB, free: 59.83 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002668/2.302, allocations: 126 kB / 1.119 GB, free: 59.69 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.156e-06/2.302, allocations: 3.984 kB / 1.119 GB, free: 59.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.321e-06/2.302, allocations: 0 / 1.119 GB, free: 59.69 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.194e-06/2.302, allocations: 4 kB / 1.119 GB, free: 59.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/2.302, allocations: 181.5 kB / 1.119 GB, free: 59.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.436e-06/2.302, allocations: 0 / 1.119 GB, free: 59.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/2.303, allocations: 12 kB / 1.119 GB, free: 59.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.623e-06/2.303, allocations: 288 / 1.119 GB, free: 59.45 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/2.303, allocations: 7.984 kB / 1.119 GB, free: 59.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.806e-06/2.303, allocations: 0 / 1.119 GB, free: 59.44 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.818e-06/2.303, allocations: 7.938 kB / 1.119 GB, free: 59.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/2.303, allocations: 179.5 kB / 1.119 GB, free: 59.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.955e-05/2.303, allocations: 101 kB / 1.119 GB, free: 59.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/2.303, allocations: 0 / 1.119 GB, free: 59.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.488e-05/2.303, allocations: 0 / 1.119 GB, free: 59.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/2.303, allocations: 7.984 kB / 1.119 GB, free: 59.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/2.303, allocations: 12.12 kB / 1.12 GB, free: 59.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.382e-05/2.303, allocations: 111.3 kB / 1.12 GB, free: 58.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.75e-07/2.303, allocations: 0 / 1.12 GB, free: 58.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008489/2.304, allocations: 211.8 kB / 1.12 GB, free: 58.77 MB / 442.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.001626/2.306, allocations: 0.8108 MB / 1.121 GB, free: 57.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001722/2.306, allocations: 59.91 kB / 1.121 GB, free: 57.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.432e-06/2.306, allocations: 0 / 1.121 GB, free: 57.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.481e-05/2.306, allocations: 24 kB / 1.121 GB, free: 57.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/2.306, allocations: 31.86 kB / 1.121 GB, free: 57.85 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000443/2.307, allocations: 230.9 kB / 1.121 GB, free: 57.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/2.307, allocations: 0.6951 MB / 1.122 GB, free: 56.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.698e-05/2.307, allocations: 15.94 kB / 1.122 GB, free: 56.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.645e-05/2.307, allocations: 19.38 kB / 1.122 GB, free: 56.84 MB / 442.7 MB Notification: Performance of SimCode: time 1.476e-06/2.307, allocations: 0 / 1.122 GB, free: 56.84 MB / 442.7 MB Notification: Performance of Templates: time 0.02217/2.329, allocations: 13.47 MB / 1.135 GB, free: 43.36 MB / 442.7 MB