Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 1.895/1.895, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.808e-05/4.825e-05, allocations: 3.156 kB / 255.4 MB, free: 3.195 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09928/0.09936, allocations: 44.5 MB / 299.9 MB, free: 6.645 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.927/2.026, allocations: 0.7438 GB / 1.037 GB, free: 142.4 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/2.027, allocations: 71.09 kB / 1.037 GB, free: 142.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2441/2.271, allocations: 77.98 MB / 1.113 GB, free: 63.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.971e-06/2.271, allocations: 3.938 kB / 1.113 GB, free: 63.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.173e-06/2.271, allocations: 0 / 1.113 GB, free: 63.75 MB / 410.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.0006475/2.271, allocations: 466 kB / 1.113 GB, free: 63.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/2.271, allocations: 12.03 kB / 1.113 GB, free: 63.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003567/2.272, allocations: 35.91 kB / 1.113 GB, free: 63.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/2.272, allocations: 198.9 kB / 1.114 GB, free: 62.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/2.272, allocations: 4 kB / 1.114 GB, free: 62.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/2.272, allocations: 0 / 1.114 GB, free: 62.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/2.272, allocations: 79.31 kB / 1.114 GB, free: 62.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.271e-06/2.272, allocations: 0 / 1.114 GB, free: 62.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/2.272, allocations: 0 / 1.114 GB, free: 62.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.353e-06/2.272, allocations: 3.984 kB / 1.114 GB, free: 62.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.878e-05/2.272, allocations: 43.91 kB / 1.114 GB, free: 62.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002026/2.273, allocations: 194.5 kB / 1.114 GB, free: 62.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/2.273, allocations: 117.2 kB / 1.114 GB, free: 62.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.547e-05/2.273, allocations: 33.86 kB / 1.114 GB, free: 62.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004062/2.273, allocations: 141 kB / 1.114 GB, free: 62.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/2.273, allocations: 34.56 kB / 1.114 GB, free: 62.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.375e-06/2.273, allocations: 0 / 1.114 GB, free: 62.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002761/2.274, allocations: 93.48 kB / 1.114 GB, free: 62.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/2.274, allocations: 77.11 kB / 1.114 GB, free: 62.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/2.274, allocations: 125 kB / 1.114 GB, free: 61.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/2.274, allocations: 29.69 kB / 1.114 GB, free: 61.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/2.274, allocations: 158.6 kB / 1.115 GB, free: 61.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/2.274, allocations: 15.72 kB / 1.115 GB, free: 61.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.43e-05/2.274, allocations: 4 kB / 1.115 GB, free: 61.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.834e-05/2.274, allocations: 314.8 kB / 1.115 GB, free: 61.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.093e-05/2.274, allocations: 27.97 kB / 1.115 GB, free: 61.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.649e-05/2.274, allocations: 47.42 kB / 1.115 GB, free: 61.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.945e-05/2.274, allocations: 31.91 kB / 1.115 GB, free: 61.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-06/2.274, allocations: 0 / 1.115 GB, free: 61.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002204/2.275, allocations: 97.58 kB / 1.115 GB, free: 61.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/2.275, allocations: 4 kB / 1.115 GB, free: 61.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.206e-06/2.275, allocations: 4 kB / 1.115 GB, free: 61.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/2.275, allocations: 0 / 1.115 GB, free: 61.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/2.275, allocations: 19.92 kB / 1.115 GB, free: 61.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.454e-06/2.275, allocations: 8.062 kB / 1.115 GB, free: 61.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.166e-05/2.275, allocations: 7.938 kB / 1.115 GB, free: 61.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/2.275, allocations: 11.98 kB / 1.115 GB, free: 61.1 MB / 410.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.031e-05/2.275, allocations: 112 kB / 1.115 GB, free: 60.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.856e-05/2.275, allocations: 7.906 kB / 1.115 GB, free: 60.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/2.275, allocations: 126.2 kB / 1.115 GB, free: 60.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.759e-06/2.275, allocations: 7.969 kB / 1.115 GB, free: 60.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.493e-06/2.275, allocations: 7.938 kB / 1.115 GB, free: 60.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.415e-06/2.275, allocations: 4 kB / 1.115 GB, free: 60.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/2.276, allocations: 181.6 kB / 1.116 GB, free: 60.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.369e-06/2.276, allocations: 0 / 1.116 GB, free: 60.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/2.276, allocations: 15.98 kB / 1.116 GB, free: 60.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4e-06/2.276, allocations: 0 / 1.116 GB, free: 60.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/2.276, allocations: 4 kB / 1.116 GB, free: 60.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-06/2.276, allocations: 0 / 1.116 GB, free: 60.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.702e-06/2.276, allocations: 4 kB / 1.116 GB, free: 60.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/2.276, allocations: 175.5 kB / 1.116 GB, free: 60.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-05/2.276, allocations: 101.1 kB / 1.116 GB, free: 60.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/2.276, allocations: 0 / 1.116 GB, free: 60.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.975e-05/2.276, allocations: 4 kB / 1.116 GB, free: 60.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/2.276, allocations: 11.92 kB / 1.116 GB, free: 60.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/2.276, allocations: 4 kB / 1.116 GB, free: 60.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.229e-05/2.276, allocations: 107.3 kB / 1.116 GB, free: 60.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.52e-07/2.276, allocations: 4.062 kB / 1.116 GB, free: 60.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009532/2.277, allocations: 267.6 kB / 1.116 GB, free: 59.87 MB / 410.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.00188/2.279, allocations: 0.9628 MB / 1.117 GB, free: 58.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000156/2.279, allocations: 51.98 kB / 1.117 GB, free: 58.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/2.279, allocations: 0 / 1.117 GB, free: 58.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.755e-05/2.28, allocations: 35.92 kB / 1.117 GB, free: 58.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/2.28, allocations: 15.98 kB / 1.117 GB, free: 58.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004329/2.28, allocations: 275.7 kB / 1.118 GB, free: 58.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/2.28, allocations: 0.6887 MB / 1.118 GB, free: 57.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.303e-05/2.28, allocations: 19.38 kB / 1.118 GB, free: 57.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.455e-06/2.281, allocations: 0 / 1.118 GB, free: 57.77 MB / 410.7 MB Notification: Performance of Templates: time 0.01205/2.293, allocations: 8.077 MB / 1.126 GB, free: 49.68 MB / 410.7 MB