Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.037/2.037, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.718e-05/3.725e-05, allocations: 4 kB / 292.2 MB, free: 8.766 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1229, allocations: 50.42 MB / 342.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.244/2.367, allocations: 0.7152 GB / 1.05 GB, free: 4.551 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/2.367, allocations: 71.91 kB / 1.05 GB, free: 4.516 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5308/2.898, allocations: 68.3 MB / 1.117 GB, free: 131.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.934e-06/2.898, allocations: 0 / 1.117 GB, free: 131.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.836e-06/2.898, allocations: 3.938 kB / 1.117 GB, free: 131.8 MB / 458.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.0008669/2.899, allocations: 446.1 kB / 1.117 GB, free: 131.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/2.899, allocations: 8.031 kB / 1.117 GB, free: 131.3 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.786e-05/2.899, allocations: 30.56 kB / 1.117 GB, free: 131.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004804/2.9, allocations: 63.77 kB / 1.117 GB, free: 131.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/2.9, allocations: 191 kB / 1.117 GB, free: 131 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/2.9, allocations: 4 kB / 1.117 GB, free: 131 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/2.9, allocations: 4 kB / 1.117 GB, free: 131 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/2.9, allocations: 75.31 kB / 1.117 GB, free: 130.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/2.9, allocations: 0 / 1.117 GB, free: 130.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/2.9, allocations: 4 kB / 1.117 GB, free: 130.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/2.9, allocations: 0 / 1.117 GB, free: 130.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/2.9, allocations: 39.95 kB / 1.117 GB, free: 130.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002615/2.901, allocations: 194.5 kB / 1.118 GB, free: 130.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004304/2.901, allocations: 113.2 kB / 1.118 GB, free: 130.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.826e-05/2.901, allocations: 33.84 kB / 1.118 GB, free: 130.4 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006638/2.902, allocations: 226.1 kB / 1.118 GB, free: 130.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/2.902, allocations: 34.56 kB / 1.118 GB, free: 130.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 2.835e-06/2.902, allocations: 3.938 kB / 1.118 GB, free: 130.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005518/2.903, allocations: 113.5 kB / 1.118 GB, free: 130 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/2.903, allocations: 77.11 kB / 1.118 GB, free: 129.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/2.903, allocations: 132.9 kB / 1.118 GB, free: 129.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/2.903, allocations: 29.7 kB / 1.118 GB, free: 129.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/2.903, allocations: 150.6 kB / 1.118 GB, free: 129.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/2.903, allocations: 23.66 kB / 1.118 GB, free: 129.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/2.903, allocations: 0 / 1.118 GB, free: 129.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.143e-05/2.903, allocations: 322.8 kB / 1.119 GB, free: 129.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.819e-05/2.903, allocations: 19.97 kB / 1.119 GB, free: 129.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.424e-05/2.903, allocations: 47.42 kB / 1.119 GB, free: 129.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.522e-05/2.903, allocations: 35.91 kB / 1.119 GB, free: 129.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/2.903, allocations: 0 / 1.119 GB, free: 129.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002534/2.904, allocations: 101.6 kB / 1.119 GB, free: 129 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/2.904, allocations: 4 kB / 1.119 GB, free: 129 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/2.904, allocations: 0 / 1.119 GB, free: 129 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/2.904, allocations: 4 kB / 1.119 GB, free: 129 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/2.904, allocations: 15.98 kB / 1.119 GB, free: 129 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/2.904, allocations: 0 / 1.119 GB, free: 129 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.935e-05/2.904, allocations: 11.97 kB / 1.119 GB, free: 129 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/2.904, allocations: 7.984 kB / 1.119 GB, free: 129 MB / 458.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.409e-05/2.904, allocations: 116.9 kB / 1.119 GB, free: 128.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.436e-05/2.904, allocations: 4 kB / 1.119 GB, free: 128.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003295/2.904, allocations: 117.9 kB / 1.119 GB, free: 128.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/2.904, allocations: 7.938 kB / 1.119 GB, free: 128.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/2.904, allocations: 3.984 kB / 1.119 GB, free: 128.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/2.904, allocations: 0 / 1.119 GB, free: 128.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/2.905, allocations: 197.5 kB / 1.119 GB, free: 128.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/2.905, allocations: 3.938 kB / 1.119 GB, free: 128.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/2.905, allocations: 12 kB / 1.119 GB, free: 128.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/2.905, allocations: 0 / 1.119 GB, free: 128.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/2.905, allocations: 7.984 kB / 1.119 GB, free: 128.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/2.905, allocations: 0 / 1.119 GB, free: 128.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/2.905, allocations: 3.938 kB / 1.119 GB, free: 128.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/2.905, allocations: 171.7 kB / 1.12 GB, free: 128.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.754e-05/2.905, allocations: 101 kB / 1.12 GB, free: 128.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/2.905, allocations: 4 kB / 1.12 GB, free: 128.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.561e-05/2.906, allocations: 0 / 1.12 GB, free: 128.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/2.906, allocations: 11.92 kB / 1.12 GB, free: 128.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/2.906, allocations: 8 kB / 1.12 GB, free: 128.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.949e-05/2.906, allocations: 107.3 kB / 1.12 GB, free: 128 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-07/2.906, allocations: 0 / 1.12 GB, free: 128 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001055/2.907, allocations: 215.8 kB / 1.12 GB, free: 127.8 MB / 458.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.00261/2.909, allocations: 1.482 MB / 1.121 GB, free: 126.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002339/2.91, allocations: 55.91 kB / 1.122 GB, free: 126.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/2.91, allocations: 0 / 1.122 GB, free: 126.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.234e-05/2.91, allocations: 27.98 kB / 1.122 GB, free: 126.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/2.91, allocations: 24.11 kB / 1.122 GB, free: 126.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/2.911, allocations: 385.9 kB / 1.122 GB, free: 125.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/2.911, allocations: 0.6926 MB / 1.123 GB, free: 125 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.311e-05/2.912, allocations: 23.44 kB / 1.123 GB, free: 125 MB / 458.7 MB Notification: Performance of SimCode: time 1.342e-06/2.912, allocations: 0 / 1.123 GB, free: 125 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.917/5.828, allocations: 7.485 MB / 1.13 GB, free: 117.5 MB / 458.7 MB