Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.973/1.973, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.209e-05, allocations: 4 kB / 292.2 MB, free: 8.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1195, allocations: 50.42 MB / 342.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7147/0.8342, allocations: 186.8 MB / 0.517 GB, free: 8.145 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/0.8346, allocations: 76.83 kB / 0.5171 GB, free: 8.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4066/1.241, allocations: 27.33 MB / 0.5438 GB, free: 155.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.703e-06/1.241, allocations: 0 / 0.5438 GB, free: 155.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.857e-06/1.241, allocations: 0.8438 kB / 0.5438 GB, free: 155.7 MB / 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.0009128/1.242, allocations: 464.2 kB / 0.5442 GB, free: 155.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/1.242, allocations: 12.77 kB / 0.5442 GB, free: 155.2 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.82e-05/1.242, allocations: 31.84 kB / 0.5443 GB, free: 155.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.704e-05/1.242, allocations: 6.969 kB / 0.5443 GB, free: 155.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/1.243, allocations: 198.5 kB / 0.5445 GB, free: 155 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/1.243, allocations: 1.469 kB / 0.5445 GB, free: 155 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/1.243, allocations: 10.14 kB / 0.5445 GB, free: 155 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/1.243, allocations: 57 kB / 0.5445 GB, free: 154.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/1.243, allocations: 0 / 0.5445 GB, free: 154.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/1.243, allocations: 1.062 kB / 0.5445 GB, free: 154.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/1.243, allocations: 1.5 kB / 0.5445 GB, free: 154.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.048e-05/1.243, allocations: 17.89 kB / 0.5446 GB, free: 154.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001886/1.243, allocations: 174 kB / 0.5447 GB, free: 154.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/1.244, allocations: 73.59 kB / 0.5448 GB, free: 154.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.921e-05/1.244, allocations: 25 kB / 0.5448 GB, free: 154.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001401/1.245, allocations: 2.192 MB / 0.547 GB, free: 152 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/1.245, allocations: 39.86 kB / 0.547 GB, free: 152 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 2.806e-06/1.245, allocations: 0 / 0.547 GB, free: 152 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002793/1.245, allocations: 58.22 kB / 0.5471 GB, free: 151.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/1.245, allocations: 81.11 kB / 0.5471 GB, free: 151.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/1.246, allocations: 104 kB / 0.5472 GB, free: 151.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/1.246, allocations: 31.08 kB / 0.5473 GB, free: 151.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/1.246, allocations: 150.6 kB / 0.5474 GB, free: 151.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/1.246, allocations: 26.34 kB / 0.5474 GB, free: 151.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/1.246, allocations: 0 / 0.5474 GB, free: 151.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.47e-05/1.246, allocations: 316.2 kB / 0.5477 GB, free: 151.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.095e-05/1.246, allocations: 14.5 kB / 0.5477 GB, free: 151.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.925e-05/1.246, allocations: 35.09 kB / 0.5478 GB, free: 151.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.014e-05/1.246, allocations: 15.75 kB / 0.5478 GB, free: 151.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.246, allocations: 0 / 0.5478 GB, free: 151.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001662/1.246, allocations: 76.86 kB / 0.5479 GB, free: 151.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/1.246, allocations: 3.969 kB / 0.5479 GB, free: 151.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/1.246, allocations: 8.031 kB / 0.5479 GB, free: 151.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/1.246, allocations: 0 / 0.5479 GB, free: 151.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/1.246, allocations: 15.77 kB / 0.5479 GB, free: 151.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/1.246, allocations: 8.453 kB / 0.5479 GB, free: 151.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.069e-05/1.246, allocations: 4 kB / 0.5479 GB, free: 151.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/1.247, allocations: 3.906 kB / 0.5479 GB, free: 151.1 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.081e-05/1.247, allocations: 108.8 kB / 0.548 GB, free: 151 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/1.247, allocations: 4.094 kB / 0.548 GB, free: 151 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/1.247, allocations: 123.6 kB / 0.5481 GB, free: 150.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/1.247, allocations: 3.844 kB / 0.5481 GB, free: 150.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/1.247, allocations: 0 / 0.5481 GB, free: 150.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/1.247, allocations: 0 / 0.5481 GB, free: 150.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/1.247, allocations: 180.8 kB / 0.5483 GB, free: 150.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.247, allocations: 3.953 kB / 0.5483 GB, free: 150.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/1.247, allocations: 15.05 kB / 0.5483 GB, free: 150.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/1.247, allocations: 3.938 kB / 0.5483 GB, free: 150.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/1.247, allocations: 15.75 kB / 0.5483 GB, free: 150.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/1.247, allocations: 0 / 0.5483 GB, free: 150.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.247, allocations: 0 / 0.5483 GB, free: 150.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/1.248, allocations: 134.4 kB / 0.5485 GB, free: 150.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/1.248, allocations: 96.92 kB / 0.5486 GB, free: 150.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/1.248, allocations: 3.844 kB / 0.5486 GB, free: 150.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.874e-05/1.248, allocations: 4.062 kB / 0.5486 GB, free: 150.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/1.248, allocations: 7.609 kB / 0.5486 GB, free: 150.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/1.248, allocations: 3.906 kB / 0.5486 GB, free: 150.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.936e-05/1.248, allocations: 91.06 kB / 0.5487 GB, free: 150.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.248, allocations: 0 / 0.5487 GB, free: 150.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007752/1.249, allocations: 145.1 kB / 0.5488 GB, free: 150.3 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 (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.001351/1.25, allocations: 0.9462 MB / 0.5497 GB, free: 149.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001847/1.25, allocations: 38.42 kB / 0.5498 GB, free: 149.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.25, allocations: 0 / 0.5498 GB, free: 149.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.511e-05/1.251, allocations: 23.62 kB / 0.5498 GB, free: 149.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/1.251, allocations: 21.8 kB / 0.5498 GB, free: 149.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/1.252, allocations: 354.7 kB / 0.5502 GB, free: 149.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/1.252, allocations: 0.696 MB / 0.5508 GB, free: 148.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.558e-05/1.252, allocations: 26.88 kB / 0.5509 GB, free: 148.4 MB / 442.7 MB Notification: Performance of SimCode: time 9.22e-07/1.252, allocations: 0 / 0.5509 GB, free: 148.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.71/3.962, allocations: 3.346 MB / 0.5541 GB, free: 146.6 MB / 442.7 MB