Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.058/1.058, allocations: 111.2 MB / 123.8 MB, free: 11.15 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.292e-05/3.298e-05, allocations: 3.984 kB / 151.5 MB, free: 15.49 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1705, allocations: 25.14 MB / 176.6 MB, free: 15.99 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.135/1.306, allocations: 362.3 MB / 0.5263 GB, free: 64.97 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/1.306, allocations: 59.78 kB / 0.5263 GB, free: 64.97 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1764/1.482, allocations: 48.51 MB / 0.5737 GB, free: 33.14 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.773e-06/1.482, allocations: 0 / 0.5737 GB, free: 33.14 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.124e-06/1.482, allocations: 0 / 0.5737 GB, free: 33.14 MB / 234.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.000777/1.483, allocations: 445 kB / 0.5741 GB, free: 32.66 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/1.483, allocations: 8.031 kB / 0.5741 GB, free: 32.66 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.617e-05/1.483, allocations: 42.48 kB / 0.5742 GB, free: 32.61 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/1.483, allocations: 7.906 kB / 0.5742 GB, free: 32.6 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/1.483, allocations: 175.1 kB / 0.5744 GB, free: 32.39 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/1.483, allocations: 0 / 0.5744 GB, free: 32.39 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/1.483, allocations: 4 kB / 0.5744 GB, free: 32.38 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/1.484, allocations: 55.36 kB / 0.5744 GB, free: 32.32 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/1.484, allocations: 4 kB / 0.5744 GB, free: 32.31 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/1.484, allocations: 4 kB / 0.5744 GB, free: 32.31 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/1.484, allocations: 4 kB / 0.5744 GB, free: 32.3 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.81e-05/1.484, allocations: 23.91 kB / 0.5744 GB, free: 32.28 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/1.484, allocations: 174.5 kB / 0.5746 GB, free: 32.06 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/1.484, allocations: 77.2 kB / 0.5747 GB, free: 31.96 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.506e-05/1.484, allocations: 25.89 kB / 0.5747 GB, free: 31.93 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/1.485, allocations: 1.63 MB / 0.5763 GB, free: 29.95 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/1.485, allocations: 30.56 kB / 0.5763 GB, free: 29.91 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 2.705e-06/1.485, allocations: 0 / 0.5763 GB, free: 29.91 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002593/1.486, allocations: 61.59 kB / 0.5764 GB, free: 29.85 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/1.486, allocations: 92.98 kB / 0.5765 GB, free: 29.74 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/1.486, allocations: 105 kB / 0.5766 GB, free: 29.63 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/1.486, allocations: 29.64 kB / 0.5766 GB, free: 29.59 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.276e-05/1.486, allocations: 150.6 kB / 0.5768 GB, free: 29.45 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.737e-05/1.486, allocations: 23.7 kB / 0.5768 GB, free: 29.42 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-06/1.486, allocations: 0 / 0.5768 GB, free: 29.42 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.168e-05/1.486, allocations: 314.8 kB / 0.5771 GB, free: 29.11 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.106e-05/1.486, allocations: 8 kB / 0.5771 GB, free: 29.1 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.632e-05/1.486, allocations: 25.72 kB / 0.5771 GB, free: 29.07 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.631e-05/1.486, allocations: 11.98 kB / 0.5771 GB, free: 29.05 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.486, allocations: 3.953 kB / 0.5771 GB, free: 29.05 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000149/1.486, allocations: 57.62 kB / 0.5772 GB, free: 28.99 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/1.487, allocations: 4 kB / 0.5772 GB, free: 28.98 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.487, allocations: 7.984 kB / 0.5772 GB, free: 28.98 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/1.487, allocations: 0 / 0.5772 GB, free: 28.98 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/1.487, allocations: 8 kB / 0.5772 GB, free: 28.97 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/1.487, allocations: 0 / 0.5772 GB, free: 28.97 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/1.487, allocations: 19.92 kB / 0.5772 GB, free: 28.95 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/1.487, allocations: 4 kB / 0.5772 GB, free: 28.95 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 5.806e-05/1.487, allocations: 105 kB / 0.5773 GB, free: 28.84 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/1.487, allocations: 11.86 kB / 0.5773 GB, free: 28.82 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003301/1.487, allocations: 113.5 kB / 0.5774 GB, free: 28.71 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/1.487, allocations: 0 / 0.5774 GB, free: 28.71 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/1.487, allocations: 4 kB / 0.5774 GB, free: 28.7 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.487, allocations: 4.219 kB / 0.5774 GB, free: 28.7 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/1.488, allocations: 173.8 kB / 0.5776 GB, free: 28.48 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/1.488, allocations: 0 / 0.5776 GB, free: 28.48 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/1.488, allocations: 19.94 kB / 0.5776 GB, free: 28.46 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/1.488, allocations: 3.984 kB / 0.5776 GB, free: 28.46 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/1.488, allocations: 4 kB / 0.5776 GB, free: 28.45 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/1.488, allocations: 4 kB / 0.5776 GB, free: 28.45 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.488, allocations: 0 / 0.5776 GB, free: 28.45 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/1.488, allocations: 131.8 kB / 0.5778 GB, free: 28.29 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.401e-05/1.488, allocations: 96.98 kB / 0.5779 GB, free: 28.18 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/1.488, allocations: 4 kB / 0.5779 GB, free: 28.18 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-05/1.488, allocations: 4 kB / 0.5779 GB, free: 28.17 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/1.488, allocations: 7.922 kB / 0.5779 GB, free: 28.16 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/1.488, allocations: 4 kB / 0.5779 GB, free: 28.16 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.689e-05/1.488, allocations: 103.2 kB / 0.578 GB, free: 28.06 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.488, allocations: 0 / 0.578 GB, free: 28.06 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0009313/1.489, allocations: 211.7 kB / 0.5782 GB, free: 27.85 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002214/1.491, allocations: 1.424 MB / 0.5796 GB, free: 26.4 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002051/1.492, allocations: 36 kB / 0.5796 GB, free: 26.37 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.492, allocations: 0 / 0.5796 GB, free: 26.37 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 8.178e-05/1.492, allocations: 27.92 kB / 0.5796 GB, free: 26.34 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/1.492, allocations: 15.98 kB / 0.5796 GB, free: 26.32 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009032/1.493, allocations: 264.7 kB / 0.5799 GB, free: 26.02 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/1.493, allocations: 0.6926 MB / 0.5806 GB, free: 25.3 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/1.493, allocations: 27.42 kB / 0.5806 GB, free: 25.27 MB / 234.7 MB Notification: Performance of SimCode: time 1.001e-06/1.493, allocations: 0 / 0.5806 GB, free: 25.27 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.665/4.158, allocations: 6.906 MB / 0.5873 GB, free: 18.37 MB / 234.7 MB