Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 2.006/2.006, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.03e-05/3.056e-05, allocations: 4 kB / 292.1 MB, free: 8.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09452/0.09458, allocations: 50.41 MB / 342.6 MB, free: 5.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.291/1.385, allocations: 498.6 MB / 0.8214 GB, free: 28.48 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/1.386, allocations: 72.28 kB / 0.8215 GB, free: 28.44 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1/1.486, allocations: 31.17 MB / 0.8519 GB, free: 88 kB / 442.7 MB Notification: Performance of FrontEnd: time 2.628e-06/1.486, allocations: 4 kB / 0.8519 GB, free: 84 kB / 442.7 MB Notification: Performance of Transformations before backend: time 1.684e-05/1.486, allocations: 3.938 kB / 0.8519 GB, free: 80 kB / 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.2435/1.729, allocations: 405.4 kB / 0.8523 GB, free: 139.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/1.729, allocations: 10.23 kB / 0.8523 GB, free: 139.6 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/1.731, allocations: 91.23 kB / 0.8524 GB, free: 139.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/1.731, allocations: 188.5 kB / 0.8526 GB, free: 139.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/1.731, allocations: 3.609 kB / 0.8526 GB, free: 139.4 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/1.731, allocations: 2.312 kB / 0.8526 GB, free: 139.4 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/1.731, allocations: 71.41 kB / 0.8526 GB, free: 139.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/1.731, allocations: 3.281 kB / 0.8526 GB, free: 139.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/1.731, allocations: 3.047 kB / 0.8526 GB, free: 139.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.108e-06/1.731, allocations: 4.453 kB / 0.8527 GB, free: 139.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/1.731, allocations: 25.59 kB / 0.8527 GB, free: 139.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/1.731, allocations: 191 kB / 0.8529 GB, free: 139.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/1.732, allocations: 95.38 kB / 0.8529 GB, free: 139.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.416e-05/1.732, allocations: 29.67 kB / 0.853 GB, free: 139.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009391/1.733, allocations: 1.635 MB / 0.8546 GB, free: 137.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/1.733, allocations: 36.05 kB / 0.8546 GB, free: 137.1 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 3.446e-06/1.733, allocations: 2.562 kB / 0.8546 GB, free: 137.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003149/1.733, allocations: 75.19 kB / 0.8547 GB, free: 137.1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/1.733, allocations: 83.48 kB / 0.8548 GB, free: 137 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/1.734, allocations: 119 kB / 0.8549 GB, free: 136.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/1.734, allocations: 27.39 kB / 0.8549 GB, free: 136.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.994e-05/1.734, allocations: 87.5 kB / 0.855 GB, free: 136.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.614e-05/1.734, allocations: 25.94 kB / 0.855 GB, free: 136.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.17e-06/1.734, allocations: 3.562 kB / 0.855 GB, free: 136.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.325e-05/1.734, allocations: 314.8 kB / 0.8553 GB, free: 136.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.96e-05/1.734, allocations: 17.31 kB / 0.8553 GB, free: 136.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.22e-05/1.734, allocations: 45.53 kB / 0.8554 GB, free: 136.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.704e-05/1.734, allocations: 19.64 kB / 0.8554 GB, free: 136.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.883e-06/1.734, allocations: 2.531 kB / 0.8554 GB, free: 136.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002682/1.734, allocations: 91.12 kB / 0.8555 GB, free: 136.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/1.734, allocations: 8.609 kB / 0.8555 GB, free: 136.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.251e-06/1.734, allocations: 1.312 kB / 0.8555 GB, free: 136.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/1.734, allocations: 3.312 kB / 0.8555 GB, free: 136.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/1.735, allocations: 21.34 kB / 0.8555 GB, free: 136.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/1.735, allocations: 4.172 kB / 0.8555 GB, free: 136.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/1.735, allocations: 11.52 kB / 0.8555 GB, free: 136.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/1.735, allocations: 4.391 kB / 0.8555 GB, free: 136.4 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 6.412e-05/1.735, allocations: 107.9 kB / 0.8556 GB, free: 136.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/1.735, allocations: 7.656 kB / 0.8556 GB, free: 136.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003719/1.735, allocations: 113.2 kB / 0.8558 GB, free: 136.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.46e-06/1.735, allocations: 3.469 kB / 0.8558 GB, free: 136.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.331e-06/1.735, allocations: 1 kB / 0.8558 GB, free: 136.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/1.735, allocations: 1.688 kB / 0.8558 GB, free: 136.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/1.736, allocations: 180.4 kB / 0.8559 GB, free: 136.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.655e-06/1.736, allocations: 0.875 kB / 0.8559 GB, free: 136.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/1.736, allocations: 18.22 kB / 0.8559 GB, free: 136.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.3e-06/1.736, allocations: 1.125 kB / 0.8559 GB, free: 136.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/1.736, allocations: 5.094 kB / 0.856 GB, free: 136.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.215e-06/1.736, allocations: 2.5 kB / 0.856 GB, free: 136.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.378e-06/1.736, allocations: 3.359 kB / 0.856 GB, free: 136.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/1.736, allocations: 144.5 kB / 0.8561 GB, free: 136 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/1.736, allocations: 97.25 kB / 0.8562 GB, free: 135.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/1.736, allocations: 3.328 kB / 0.8562 GB, free: 135.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/1.737, allocations: 5.266 kB / 0.8562 GB, free: 135.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.136e-05/1.737, allocations: 13.33 kB / 0.8562 GB, free: 135.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/1.737, allocations: 4.016 kB / 0.8562 GB, free: 135.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001173/1.737, allocations: 110.3 kB / 0.8563 GB, free: 135.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.251e-06/1.737, allocations: 0 / 0.8563 GB, free: 135.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008687/1.738, allocations: 171.4 kB / 0.8565 GB, free: 135.8 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.001695/1.739, allocations: 0.7103 MB / 0.8572 GB, free: 135.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002439/1.74, allocations: 52.02 kB / 0.8572 GB, free: 135.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.904e-06/1.74, allocations: 1.562 kB / 0.8572 GB, free: 135.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.54e-05/1.74, allocations: 23.33 kB / 0.8573 GB, free: 135.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/1.74, allocations: 19.91 kB / 0.8573 GB, free: 135.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006141/1.741, allocations: 216.5 kB / 0.8575 GB, free: 135.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/1.741, allocations: 0.688 MB / 0.8581 GB, free: 134.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003284/1.741, allocations: 47.8 kB / 0.8582 GB, free: 134.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/1.741, allocations: 29.03 kB / 0.8582 GB, free: 134.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.773e-06/1.741, allocations: 0.75 kB / 0.8582 GB, free: 134.9 MB / 442.7 MB Notification: Performance of Templates: time 0.02681/1.768, allocations: 11.84 MB / 0.8698 GB, free: 134 MB / 442.7 MB