Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.965/1.965, allocations: 205.8 MB / 218.9 MB, free: 9.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.051e-05/3.067e-05, allocations: 4 kB / 269.4 MB, free: 6.41 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08723/0.08728, allocations: 47.57 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.6/1.687, allocations: 0.5934 GB / 0.9029 GB, free: 88.14 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/1.687, allocations: 74.03 kB / 0.903 GB, free: 88.11 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1428/1.83, allocations: 41.69 MB / 0.9437 GB, free: 52.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.967e-06/1.83, allocations: 0 / 0.9437 GB, free: 52.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.799e-06/1.83, allocations: 0 / 0.9437 GB, free: 52.32 MB / 426.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.0005942/1.831, allocations: 450.1 kB / 0.9441 GB, free: 51.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/1.831, allocations: 8.031 kB / 0.9441 GB, free: 51.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/1.832, allocations: 91.88 kB / 0.9442 GB, free: 51.74 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/1.832, allocations: 187 kB / 0.9444 GB, free: 51.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/1.832, allocations: 0 / 0.9444 GB, free: 51.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/1.832, allocations: 15.89 kB / 0.9444 GB, free: 51.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/1.832, allocations: 75.31 kB / 0.9445 GB, free: 51.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.16e-06/1.832, allocations: 0 / 0.9445 GB, free: 51.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/1.832, allocations: 0 / 0.9445 GB, free: 51.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.266e-06/1.832, allocations: 4 kB / 0.9445 GB, free: 51.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.253e-05/1.832, allocations: 27.92 kB / 0.9445 GB, free: 51.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/1.833, allocations: 194.4 kB / 0.9447 GB, free: 51.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/1.833, allocations: 93.12 kB / 0.9448 GB, free: 51.03 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.149e-05/1.833, allocations: 33.91 kB / 0.9448 GB, free: 50.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007237/1.834, allocations: 1.376 MB / 0.9462 GB, free: 49.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/1.834, allocations: 34.55 kB / 0.9462 GB, free: 49.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.571e-06/1.834, allocations: 0 / 0.9462 GB, free: 49.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002423/1.834, allocations: 81.61 kB / 0.9463 GB, free: 49.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/1.834, allocations: 77.11 kB / 0.9463 GB, free: 49.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/1.834, allocations: 117 kB / 0.9465 GB, free: 48.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/1.834, allocations: 33.7 kB / 0.9465 GB, free: 48.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.225e-05/1.834, allocations: 80.14 kB / 0.9466 GB, free: 48.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/1.834, allocations: 27.64 kB / 0.9466 GB, free: 48.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.505e-06/1.834, allocations: 0 / 0.9466 GB, free: 48.83 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.035e-05/1.834, allocations: 318.8 kB / 0.9469 GB, free: 48.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-05/1.835, allocations: 23.98 kB / 0.9469 GB, free: 48.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.206e-05/1.835, allocations: 39.75 kB / 0.947 GB, free: 48.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.66e-05/1.835, allocations: 28 kB / 0.947 GB, free: 48.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.632e-06/1.835, allocations: 0 / 0.947 GB, free: 48.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002112/1.835, allocations: 89.5 kB / 0.9471 GB, free: 48.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/1.835, allocations: 8 kB / 0.9471 GB, free: 48.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.835e-06/1.835, allocations: 4.062 kB / 0.9471 GB, free: 48.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/1.835, allocations: 0 / 0.9471 GB, free: 48.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/1.835, allocations: 15.98 kB / 0.9471 GB, free: 48.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/1.835, allocations: 4.156 kB / 0.9471 GB, free: 48.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/1.835, allocations: 7.984 kB / 0.9471 GB, free: 48.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/1.835, allocations: 4 kB / 0.9471 GB, free: 48.27 MB / 426.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.648e-05/1.835, allocations: 112.9 kB / 0.9472 GB, free: 48.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/1.835, allocations: 7.906 kB / 0.9472 GB, free: 48.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003001/1.836, allocations: 117.5 kB / 0.9473 GB, free: 48.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.431e-06/1.836, allocations: 0 / 0.9473 GB, free: 48.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.449e-06/1.836, allocations: 4 kB / 0.9473 GB, free: 48.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.836, allocations: 0 / 0.9473 GB, free: 48.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/1.836, allocations: 185.5 kB / 0.9475 GB, free: 47.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.386e-06/1.836, allocations: 3.938 kB / 0.9475 GB, free: 47.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/1.836, allocations: 15.98 kB / 0.9475 GB, free: 47.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/1.836, allocations: 0 / 0.9475 GB, free: 47.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/1.836, allocations: 11.92 kB / 0.9476 GB, free: 47.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.606e-06/1.836, allocations: 3.984 kB / 0.9476 GB, free: 47.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.839e-06/1.836, allocations: 4 kB / 0.9476 GB, free: 47.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/1.837, allocations: 135.6 kB / 0.9477 GB, free: 47.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.448e-05/1.837, allocations: 97.02 kB / 0.9478 GB, free: 47.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/1.837, allocations: 0 / 0.9478 GB, free: 47.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/1.837, allocations: 12.05 kB / 0.9478 GB, free: 47.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/1.837, allocations: 8 kB / 0.9478 GB, free: 47.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/1.837, allocations: 4.172 kB / 0.9478 GB, free: 47.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.234e-05/1.837, allocations: 107.3 kB / 0.9479 GB, free: 47.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.19e-07/1.837, allocations: 0 / 0.9479 GB, free: 47.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008454/1.838, allocations: 219.7 kB / 0.9481 GB, free: 47.13 MB / 426.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.001479/1.839, allocations: 0.8304 MB / 0.9489 GB, free: 46.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002035/1.84, allocations: 47.92 kB / 0.949 GB, free: 46.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.449e-06/1.84, allocations: 0 / 0.949 GB, free: 46.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.782e-05/1.84, allocations: 19.98 kB / 0.949 GB, free: 46.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/1.84, allocations: 19.94 kB / 0.949 GB, free: 46.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005144/1.84, allocations: 218.7 kB / 0.9492 GB, free: 45.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/1.841, allocations: 0.6926 MB / 0.9499 GB, free: 45.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002925/1.841, allocations: 35.95 kB / 0.9499 GB, free: 45.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/1.841, allocations: 35.34 kB / 0.95 GB, free: 45.18 MB / 426.7 MB Notification: Performance of SimCode: time 1.675e-06/1.841, allocations: 0 / 0.95 GB, free: 45.18 MB / 426.7 MB Notification: Performance of Templates: time 0.0214/1.862, allocations: 12.78 MB / 0.9624 GB, free: 32.39 MB / 426.7 MB