Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 2.022/2.022, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.145e-05/3.165e-05, allocations: 5.406 kB / 292.7 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09502/0.09508, allocations: 50.41 MB / 343.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.069/2.164, allocations: 0.7151 GB / 1.05 GB, free: 153.3 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/2.165, allocations: 74.45 kB / 1.05 GB, free: 153.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2228/2.387, allocations: 68.3 MB / 1.117 GB, free: 85.54 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.962e-06/2.387, allocations: 4 kB / 1.117 GB, free: 85.53 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/2.387, allocations: 4 kB / 1.117 GB, free: 85.53 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.0008669/2.388, allocations: 436.6 kB / 1.117 GB, free: 85.06 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/2.388, allocations: 8.031 kB / 1.117 GB, free: 85.05 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007482/2.389, allocations: 55.91 kB / 1.117 GB, free: 85 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/2.389, allocations: 202.8 kB / 1.118 GB, free: 84.76 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/2.39, allocations: 0 / 1.118 GB, free: 84.76 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/2.39, allocations: 4 kB / 1.118 GB, free: 84.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/2.39, allocations: 75.36 kB / 1.118 GB, free: 84.67 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/2.39, allocations: 0 / 1.118 GB, free: 84.67 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/2.39, allocations: 8 kB / 1.118 GB, free: 84.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.714e-06/2.39, allocations: 0 / 1.118 GB, free: 84.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/2.39, allocations: 39.95 kB / 1.118 GB, free: 84.62 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/2.39, allocations: 194.5 kB / 1.118 GB, free: 84.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005513/2.391, allocations: 117.2 kB / 1.118 GB, free: 84.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/2.391, allocations: 33.84 kB / 1.118 GB, free: 84.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007969/2.392, allocations: 222.1 kB / 1.118 GB, free: 83.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/2.392, allocations: 42.5 kB / 1.118 GB, free: 83.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 3.443e-06/2.392, allocations: 3.938 kB / 1.118 GB, free: 83.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004793/2.393, allocations: 101.5 kB / 1.118 GB, free: 83.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/2.393, allocations: 81.11 kB / 1.118 GB, free: 83.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/2.393, allocations: 132.9 kB / 1.119 GB, free: 83.56 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/2.393, allocations: 25.7 kB / 1.119 GB, free: 83.53 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.697e-05/2.393, allocations: 84.14 kB / 1.119 GB, free: 83.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/2.393, allocations: 31.64 kB / 1.119 GB, free: 83.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.264e-06/2.393, allocations: 0 / 1.119 GB, free: 83.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.418e-05/2.393, allocations: 322.8 kB / 1.119 GB, free: 83.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.815e-05/2.393, allocations: 23.92 kB / 1.119 GB, free: 83.06 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.477e-05/2.393, allocations: 51.39 kB / 1.119 GB, free: 83 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.619e-05/2.393, allocations: 27.97 kB / 1.119 GB, free: 82.97 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.703e-06/2.393, allocations: 4 kB / 1.119 GB, free: 82.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002469/2.393, allocations: 101.5 kB / 1.119 GB, free: 82.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/2.393, allocations: 8 kB / 1.119 GB, free: 82.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/2.393, allocations: 4 kB / 1.119 GB, free: 82.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/2.393, allocations: 0 / 1.119 GB, free: 82.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/2.394, allocations: 23.98 kB / 1.119 GB, free: 82.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.322e-06/2.394, allocations: 3.938 kB / 1.119 GB, free: 82.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.381e-05/2.394, allocations: 4 kB / 1.119 GB, free: 82.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/2.394, allocations: 4 kB / 1.119 GB, free: 82.82 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.138e-05/2.394, allocations: 117 kB / 1.119 GB, free: 82.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.821e-05/2.394, allocations: 7.906 kB / 1.119 GB, free: 82.69 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/2.394, allocations: 117.8 kB / 1.12 GB, free: 82.56 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.335e-06/2.394, allocations: 4 kB / 1.12 GB, free: 82.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.312e-06/2.394, allocations: 0 / 1.12 GB, free: 82.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.963e-06/2.394, allocations: 0 / 1.12 GB, free: 82.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/2.394, allocations: 189.5 kB / 1.12 GB, free: 82.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.359e-06/2.394, allocations: 0 / 1.12 GB, free: 82.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/2.394, allocations: 15.98 kB / 1.12 GB, free: 82.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.76e-06/2.394, allocations: 4 kB / 1.12 GB, free: 82.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/2.394, allocations: 8 kB / 1.12 GB, free: 82.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/2.395, allocations: 0 / 1.12 GB, free: 82.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.805e-06/2.395, allocations: 3.938 kB / 1.12 GB, free: 82.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/2.395, allocations: 175.4 kB / 1.12 GB, free: 82.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.215e-05/2.395, allocations: 101 kB / 1.12 GB, free: 81.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/2.395, allocations: 4.062 kB / 1.12 GB, free: 81.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.868e-05/2.395, allocations: 7.938 kB / 1.12 GB, free: 81.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/2.395, allocations: 7.984 kB / 1.12 GB, free: 81.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/2.395, allocations: 4 kB / 1.12 GB, free: 81.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.465e-05/2.395, allocations: 107.7 kB / 1.12 GB, free: 81.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.9e-07/2.395, allocations: 0 / 1.12 GB, free: 81.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008638/2.396, allocations: 211.8 kB / 1.12 GB, free: 81.64 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.00159/2.398, allocations: 0.8124 MB / 1.121 GB, free: 80.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001782/2.398, allocations: 51.92 kB / 1.121 GB, free: 80.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.168e-06/2.398, allocations: 0 / 1.121 GB, free: 80.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.896e-05/2.398, allocations: 28.11 kB / 1.121 GB, free: 80.74 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/2.398, allocations: 35.31 kB / 1.121 GB, free: 80.71 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/2.399, allocations: 238.7 kB / 1.121 GB, free: 80.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/2.399, allocations: 0.6926 MB / 1.122 GB, free: 79.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.486e-05/2.399, allocations: 19.89 kB / 1.122 GB, free: 79.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/2.399, allocations: 19.42 kB / 1.122 GB, free: 79.69 MB / 442.7 MB Notification: Performance of SimCode: time 1.717e-06/2.399, allocations: 0 / 1.122 GB, free: 79.69 MB / 442.7 MB Notification: Performance of Templates: time 0.02404/2.423, allocations: 13.46 MB / 1.135 GB, free: 66.21 MB / 442.7 MB