Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.081/1.081, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.426e-05/3.433e-05, allocations: 7.984 kB / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1951, allocations: 25.15 MB / 176.6 MB, free: 28 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/0.3125, allocations: 71.46 MB / 248.1 MB, free: 9.938 MB / 218.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.3128, allocations: 63.97 kB / 248.2 MB, free: 9.875 MB / 218.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3167/0.6295, allocations: 37.07 MB / 285.2 MB, free: 53.83 MB / 218.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6296, allocations: 4 kB / 285.2 MB, free: 53.83 MB / 218.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.6296, allocations: 0 / 285.2 MB, free: 53.83 MB / 218.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.0008151/0.6304, allocations: 494 kB / 285.7 MB, free: 53.3 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.6305, allocations: 8.031 kB / 285.7 MB, free: 53.29 MB / 218.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.218e-05/0.6305, allocations: 34.56 kB / 285.8 MB, free: 53.25 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.6306, allocations: 4 kB / 285.8 MB, free: 53.25 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.6308, allocations: 191.9 kB / 286 MB, free: 53.02 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.6309, allocations: 7.953 kB / 286 MB, free: 53.01 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.6309, allocations: 4 kB / 286 MB, free: 53.01 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.631, allocations: 71.33 kB / 286 MB, free: 52.93 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.631, allocations: 0 / 286 MB, free: 52.93 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.6311, allocations: 0 / 286 MB, free: 52.93 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.6311, allocations: 0 / 286 MB, free: 52.93 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.629e-05/0.6312, allocations: 15.94 kB / 286 MB, free: 52.91 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.6313, allocations: 170.6 kB / 286.2 MB, free: 52.69 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.6316, allocations: 77.33 kB / 286.3 MB, free: 52.6 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.155e-05/0.6317, allocations: 29.72 kB / 286.3 MB, free: 52.56 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/0.6328, allocations: 1.82 MB / 288.1 MB, free: 50.34 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.6328, allocations: 38.56 kB / 288.2 MB, free: 50.29 MB / 218.7 MB Notification: Performance of pre-optimization done (n=6): time 1.903e-06/0.6329, allocations: 0 / 288.2 MB, free: 50.29 MB / 218.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002018/0.6331, allocations: 57.67 kB / 288.2 MB, free: 50.23 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.6331, allocations: 85.05 kB / 288.3 MB, free: 50.12 MB / 218.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.345e-05/0.6332, allocations: 108.9 kB / 288.4 MB, free: 50.01 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.6332, allocations: 29.7 kB / 288.5 MB, free: 49.98 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.199e-05/0.6333, allocations: 154.6 kB / 288.6 MB, free: 49.82 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.6333, allocations: 11.75 kB / 288.6 MB, free: 49.81 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.6333, allocations: 0 / 288.6 MB, free: 49.81 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 5.268e-05/0.6334, allocations: 326.8 kB / 288.9 MB, free: 49.48 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.729e-05/0.6334, allocations: 4 kB / 288.9 MB, free: 49.48 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.261e-05/0.6335, allocations: 21.72 kB / 289 MB, free: 49.45 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.288e-05/0.6335, allocations: 11.98 kB / 289 MB, free: 49.44 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6336, allocations: 0 / 289 MB, free: 49.44 MB / 218.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001408/0.6337, allocations: 61.62 kB / 289 MB, free: 49.38 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.6337, allocations: 7.953 kB / 289 MB, free: 49.37 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.6338, allocations: 0 / 289 MB, free: 49.37 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.6338, allocations: 8 kB / 289 MB, free: 49.36 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.6339, allocations: 11.98 kB / 289.1 MB, free: 49.35 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.6339, allocations: 0 / 289.1 MB, free: 49.35 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.942e-05/0.634, allocations: 11.89 kB / 289.1 MB, free: 49.34 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.6341, allocations: 4 kB / 289.1 MB, free: 49.33 MB / 218.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.217e-05/0.6341, allocations: 101 kB / 289.2 MB, free: 49.23 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.6342, allocations: 4 kB / 289.2 MB, free: 49.22 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003122/0.6345, allocations: 117.5 kB / 289.3 MB, free: 49.1 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.6345, allocations: 7.984 kB / 289.3 MB, free: 49.09 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6345, allocations: 0 / 289.3 MB, free: 49.09 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.6345, allocations: 0 / 289.3 MB, free: 49.09 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.6347, allocations: 177.6 kB / 289.5 MB, free: 48.87 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6347, allocations: 3.938 kB / 289.5 MB, free: 48.86 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.6348, allocations: 12 kB / 289.5 MB, free: 48.85 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.6348, allocations: 3.984 kB / 289.5 MB, free: 48.85 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.6349, allocations: 4 kB / 289.5 MB, free: 48.84 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.6349, allocations: 11.83 kB / 289.5 MB, free: 48.83 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6349, allocations: 4 kB / 289.5 MB, free: 48.83 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.6351, allocations: 111.7 kB / 289.6 MB, free: 48.69 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/0.6351, allocations: 97.03 kB / 289.7 MB, free: 48.58 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.6352, allocations: 11.95 kB / 289.7 MB, free: 48.57 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.561e-05/0.6353, allocations: 4 kB / 289.7 MB, free: 48.56 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.6353, allocations: 11.92 kB / 289.7 MB, free: 48.55 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.6353, allocations: 4.281 kB / 289.7 MB, free: 48.55 MB / 218.7 MB Notification: Performance of sorting global known variables: time 4.073e-05/0.6354, allocations: 91.27 kB / 289.8 MB, free: 48.46 MB / 218.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6354, allocations: 0 / 289.8 MB, free: 48.46 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.0007627/0.6362, allocations: 183.7 kB / 290 MB, free: 48.28 MB / 218.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.001236/0.6374, allocations: 0.9841 MB / 291 MB, free: 47.27 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.0001524/0.6376, allocations: 31.98 kB / 291 MB, free: 47.23 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6376, allocations: 0 / 291 MB, free: 47.23 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 7.732e-05/0.6377, allocations: 31.94 kB / 291.1 MB, free: 47.2 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.638, allocations: 16.72 kB / 291.1 MB, free: 47.19 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006115/0.6386, allocations: 268.6 kB / 291.3 MB, free: 46.88 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.6388, allocations: 0.6926 MB / 292 MB, free: 46.16 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.359e-05/0.6389, allocations: 31.42 kB / 292.1 MB, free: 46.13 MB / 218.7 MB Notification: Performance of SimCode: time 8.02e-07/0.6389, allocations: 0 / 292.1 MB, free: 46.13 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.61/3.249, allocations: 3.929 MB / 296 MB, free: 42.2 MB / 218.7 MB