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.907/1.907, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.277e-05, allocations: 2.531 kB / 255.3 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07801/0.07806, allocations: 44.5 MB / 299.8 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.925/2.003, allocations: 0.7438 GB / 1.037 GB, free: 140.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001797/2.003, allocations: 76.58 kB / 1.037 GB, free: 140.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2351/2.239, allocations: 77.98 MB / 1.113 GB, free: 62.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.842e-06/2.239, allocations: 0 / 1.113 GB, free: 62.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.82e-06/2.239, allocations: 3.938 kB / 1.113 GB, free: 62.27 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.0006682/2.239, allocations: 471.9 kB / 1.113 GB, free: 61.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/2.239, allocations: 8.031 kB / 1.113 GB, free: 61.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003456/2.24, allocations: 35.91 kB / 1.113 GB, free: 61.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/2.24, allocations: 194.9 kB / 1.113 GB, free: 61.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/2.24, allocations: 8 kB / 1.113 GB, free: 61.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/2.24, allocations: 4 kB / 1.113 GB, free: 61.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/2.24, allocations: 71.31 kB / 1.114 GB, free: 61.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/2.24, allocations: 0 / 1.114 GB, free: 61.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/2.24, allocations: 8 kB / 1.114 GB, free: 61.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.401e-06/2.24, allocations: 0 / 1.114 GB, free: 61.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/2.24, allocations: 43.91 kB / 1.114 GB, free: 61.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/2.241, allocations: 194.5 kB / 1.114 GB, free: 61.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/2.241, allocations: 117.2 kB / 1.114 GB, free: 60.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.374e-05/2.241, allocations: 33.8 kB / 1.114 GB, free: 60.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004028/2.241, allocations: 137 kB / 1.114 GB, free: 60.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/2.241, allocations: 46.5 kB / 1.114 GB, free: 60.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.22e-06/2.241, allocations: 0 / 1.114 GB, free: 60.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002712/2.242, allocations: 89.55 kB / 1.114 GB, free: 60.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/2.242, allocations: 81.05 kB / 1.114 GB, free: 60.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/2.242, allocations: 125 kB / 1.114 GB, free: 60.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/2.242, allocations: 25.7 kB / 1.114 GB, free: 60.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.095e-05/2.242, allocations: 154.6 kB / 1.115 GB, free: 60.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/2.242, allocations: 23.7 kB / 1.115 GB, free: 60.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.727e-06/2.242, allocations: 0 / 1.115 GB, free: 60.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.978e-05/2.242, allocations: 322.8 kB / 1.115 GB, free: 59.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.722e-05/2.242, allocations: 15.98 kB / 1.115 GB, free: 59.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.328e-05/2.242, allocations: 51.41 kB / 1.115 GB, free: 59.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.735e-05/2.242, allocations: 36.05 kB / 1.115 GB, free: 59.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/2.242, allocations: 0 / 1.115 GB, free: 59.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002213/2.243, allocations: 105.5 kB / 1.115 GB, free: 59.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/2.243, allocations: 4 kB / 1.115 GB, free: 59.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.944e-06/2.243, allocations: 4 kB / 1.115 GB, free: 59.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/2.243, allocations: 0 / 1.115 GB, free: 59.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.948e-05/2.243, allocations: 15.98 kB / 1.115 GB, free: 59.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/2.243, allocations: 8.062 kB / 1.115 GB, free: 59.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.04e-05/2.243, allocations: 7.875 kB / 1.115 GB, free: 59.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/2.243, allocations: 8 kB / 1.115 GB, free: 59.61 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.045e-05/2.243, allocations: 112.9 kB / 1.115 GB, free: 59.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.93e-05/2.243, allocations: 7.906 kB / 1.115 GB, free: 59.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/2.243, allocations: 125.9 kB / 1.115 GB, free: 59.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.736e-06/2.243, allocations: 3.984 kB / 1.115 GB, free: 59.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.44e-06/2.243, allocations: 7.938 kB / 1.115 GB, free: 59.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.375e-06/2.243, allocations: 4 kB / 1.115 GB, free: 59.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/2.243, allocations: 181.5 kB / 1.116 GB, free: 59.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.077e-06/2.243, allocations: 0 / 1.116 GB, free: 59.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/2.244, allocations: 12 kB / 1.116 GB, free: 59.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.592e-06/2.244, allocations: 0 / 1.116 GB, free: 59.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/2.244, allocations: 11.98 kB / 1.116 GB, free: 59.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/2.244, allocations: 0 / 1.116 GB, free: 59.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/2.244, allocations: 0 / 1.116 GB, free: 59.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/2.244, allocations: 171.5 kB / 1.116 GB, free: 58.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.945e-05/2.244, allocations: 97.11 kB / 1.116 GB, free: 58.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/2.244, allocations: 3.984 kB / 1.116 GB, free: 58.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.784e-05/2.244, allocations: 7.938 kB / 1.116 GB, free: 58.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/2.244, allocations: 8 kB / 1.116 GB, free: 58.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/2.244, allocations: 7.984 kB / 1.116 GB, free: 58.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.444e-05/2.244, allocations: 107.3 kB / 1.116 GB, free: 58.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.58e-07/2.244, allocations: 0 / 1.116 GB, free: 58.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009725/2.245, allocations: 263.7 kB / 1.116 GB, free: 58.38 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.001814/2.247, allocations: 0.9633 MB / 1.117 GB, free: 57.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001624/2.247, allocations: 63.91 kB / 1.117 GB, free: 57.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.772e-06/2.247, allocations: 0 / 1.117 GB, free: 57.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.367e-05/2.247, allocations: 23.98 kB / 1.117 GB, free: 57.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/2.248, allocations: 19.98 kB / 1.117 GB, free: 57.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004347/2.248, allocations: 279.7 kB / 1.118 GB, free: 57.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/2.248, allocations: 0.6887 MB / 1.118 GB, free: 56.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.931e-05/2.248, allocations: 19.44 kB / 1.118 GB, free: 56.28 MB / 410.7 MB Notification: Performance of SimCode: time 1.413e-06/2.248, allocations: 0 / 1.118 GB, free: 56.28 MB / 410.7 MB Notification: Performance of Templates: time 0.01226/2.261, allocations: 8.042 MB / 1.126 GB, free: 48.22 MB / 410.7 MB