Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 2.035/2.035, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.828e-05/3.841e-05, allocations: 5.562 kB / 292.7 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0977/0.09777, allocations: 50.42 MB / 343.1 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.285/1.383, allocations: 498.6 MB / 0.8219 GB, free: 41.84 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/1.383, allocations: 75.95 kB / 0.822 GB, free: 41.77 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1012/1.484, allocations: 31.16 MB / 0.8524 GB, free: 10.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.189e-06/1.484, allocations: 0 / 0.8524 GB, free: 10.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.788e-06/1.484, allocations: 3.938 kB / 0.8524 GB, free: 10.5 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.000486/1.485, allocations: 418.2 kB / 0.8528 GB, free: 10.05 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/1.485, allocations: 8.031 kB / 0.8528 GB, free: 10.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/1.486, allocations: 88.27 kB / 0.8529 GB, free: 9.953 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/1.486, allocations: 195 kB / 0.8531 GB, free: 9.723 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/1.486, allocations: 0 / 0.8531 GB, free: 9.723 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/1.486, allocations: 4 kB / 0.8531 GB, free: 9.719 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/1.486, allocations: 75.38 kB / 0.8532 GB, free: 9.633 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.589e-06/1.486, allocations: 0 / 0.8532 GB, free: 9.633 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/1.486, allocations: 7.938 kB / 0.8532 GB, free: 9.625 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.189e-06/1.486, allocations: 3.984 kB / 0.8532 GB, free: 9.621 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.109e-05/1.486, allocations: 31.92 kB / 0.8532 GB, free: 9.59 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/1.486, allocations: 194.4 kB / 0.8534 GB, free: 9.348 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/1.487, allocations: 101.2 kB / 0.8535 GB, free: 9.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.092e-05/1.487, allocations: 25.78 kB / 0.8535 GB, free: 9.199 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007873/1.488, allocations: 1.635 MB / 0.8551 GB, free: 7.195 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/1.488, allocations: 34.56 kB / 0.8551 GB, free: 7.152 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 2.663e-06/1.488, allocations: 0 / 0.8551 GB, free: 7.152 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002493/1.488, allocations: 81.59 kB / 0.8552 GB, free: 7.066 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/1.488, allocations: 81.11 kB / 0.8553 GB, free: 6.969 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/1.488, allocations: 117 kB / 0.8554 GB, free: 6.848 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/1.488, allocations: 25.7 kB / 0.8554 GB, free: 6.816 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.382e-05/1.488, allocations: 84.14 kB / 0.8555 GB, free: 6.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/1.488, allocations: 31.62 kB / 0.8555 GB, free: 6.699 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.803e-06/1.488, allocations: 0 / 0.8555 GB, free: 6.699 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.995e-05/1.488, allocations: 314.8 kB / 0.8558 GB, free: 6.383 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.329e-05/1.489, allocations: 20 kB / 0.8559 GB, free: 6.363 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.277e-05/1.489, allocations: 43.42 kB / 0.8559 GB, free: 6.309 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.74e-05/1.489, allocations: 19.98 kB / 0.8559 GB, free: 6.289 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.894e-06/1.489, allocations: 0 / 0.8559 GB, free: 6.289 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002144/1.489, allocations: 93.45 kB / 0.856 GB, free: 6.191 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/1.489, allocations: 12.06 kB / 0.856 GB, free: 6.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.987e-06/1.489, allocations: 3.938 kB / 0.856 GB, free: 6.176 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/1.489, allocations: 7.938 kB / 0.856 GB, free: 6.168 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/1.489, allocations: 15.98 kB / 0.856 GB, free: 6.152 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.192e-06/1.489, allocations: 0 / 0.856 GB, free: 6.152 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/1.489, allocations: 4 kB / 0.8561 GB, free: 6.148 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/1.489, allocations: 7.984 kB / 0.8561 GB, free: 6.141 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.886e-05/1.489, allocations: 105 kB / 0.8562 GB, free: 6.031 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/1.489, allocations: 11.86 kB / 0.8562 GB, free: 6.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/1.49, allocations: 125.6 kB / 0.8563 GB, free: 5.887 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.501e-06/1.49, allocations: 0 / 0.8563 GB, free: 5.887 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.56e-06/1.49, allocations: 0 / 0.8563 GB, free: 5.887 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.234e-06/1.49, allocations: 4 kB / 0.8563 GB, free: 5.883 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/1.49, allocations: 173.6 kB / 0.8565 GB, free: 5.664 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/1.49, allocations: 0 / 0.8565 GB, free: 5.664 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/1.49, allocations: 23.94 kB / 0.8565 GB, free: 5.641 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/1.49, allocations: 4 kB / 0.8565 GB, free: 5.637 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/1.49, allocations: 0 / 0.8565 GB, free: 5.637 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.098e-06/1.49, allocations: 4 kB / 0.8565 GB, free: 5.633 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.997e-06/1.49, allocations: 0 / 0.8565 GB, free: 5.633 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/1.491, allocations: 143.5 kB / 0.8566 GB, free: 5.465 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.457e-05/1.491, allocations: 97.02 kB / 0.8567 GB, free: 5.352 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/1.491, allocations: 12.06 kB / 0.8567 GB, free: 5.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/1.491, allocations: 4 kB / 0.8567 GB, free: 5.336 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/1.491, allocations: 7.984 kB / 0.8567 GB, free: 5.328 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/1.491, allocations: 8 kB / 0.8567 GB, free: 5.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.149e-05/1.491, allocations: 103.3 kB / 0.8568 GB, free: 5.219 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.42e-07/1.491, allocations: 0 / 0.8568 GB, free: 5.219 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000718/1.492, allocations: 159.8 kB / 0.857 GB, free: 5.062 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.001289/1.493, allocations: 0.7184 MB / 0.8577 GB, free: 4.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001877/1.493, allocations: 47.98 kB / 0.8577 GB, free: 4.293 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.46e-06/1.493, allocations: 0 / 0.8577 GB, free: 4.293 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.663e-05/1.493, allocations: 19.94 kB / 0.8578 GB, free: 4.273 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/1.494, allocations: 26.39 kB / 0.8578 GB, free: 4.254 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005211/1.494, allocations: 226.3 kB / 0.858 GB, free: 4.008 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/1.494, allocations: 0.6887 MB / 0.8587 GB, free: 3.293 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002953/1.495, allocations: 39.89 kB / 0.8587 GB, free: 3.254 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/1.495, allocations: 31.41 kB / 0.8587 GB, free: 3.223 MB / 442.7 MB Notification: Performance of SimCode: time 1.554e-06/1.495, allocations: 0 / 0.8587 GB, free: 3.223 MB / 442.7 MB Notification: Performance of Templates: time 0.2633/1.758, allocations: 11.83 MB / 0.8703 GB, free: 138.2 MB / 442.7 MB