Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.43/2.43, allocations: 270 MB / 282.6 MB, free: 1.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.064e-05/4.094e-05, allocations: 4 kB / 347 MB, free: 3.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.4386, allocations: 61.88 MB / 408.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.447/1.885, allocations: 471.9 MB / 0.8602 GB, free: 54.73 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/1.886, allocations: 70.09 kB / 0.8603 GB, free: 54.69 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1377/2.023, allocations: 41.16 MB / 0.9005 GB, free: 19.72 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.674e-06/2.023, allocations: 0 / 0.9005 GB, free: 19.72 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.676e-06/2.023, allocations: 8 kB / 0.9005 GB, free: 19.71 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005841/2.024, allocations: 402.2 kB / 0.9009 GB, free: 19.28 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/2.024, allocations: 11.97 kB / 0.9009 GB, free: 19.27 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/2.024, allocations: 38.56 kB / 0.9009 GB, free: 19.22 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/2.024, allocations: 7.906 kB / 0.9009 GB, free: 19.21 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.33e-05/2.024, allocations: 170.9 kB / 0.9011 GB, free: 19 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/2.024, allocations: 11.94 kB / 0.9011 GB, free: 18.99 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/2.024, allocations: 8 kB / 0.9011 GB, free: 18.98 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/2.025, allocations: 69.67 kB / 0.9012 GB, free: 18.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/2.025, allocations: 4 kB / 0.9012 GB, free: 18.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/2.025, allocations: 0 / 0.9012 GB, free: 18.91 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/2.025, allocations: 4 kB / 0.9012 GB, free: 18.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/2.025, allocations: 47.98 kB / 0.9012 GB, free: 18.86 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/2.025, allocations: 381.8 kB / 0.9016 GB, free: 18.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/2.025, allocations: 58.56 kB / 0.9016 GB, free: 18.35 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.82e-05/2.025, allocations: 24.86 kB / 0.9017 GB, free: 18.32 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001539/2.027, allocations: 0.9976 MB / 0.9026 GB, free: 17.12 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/2.027, allocations: 34.56 kB / 0.9027 GB, free: 17.08 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 2.224e-06/2.027, allocations: 4 kB / 0.9027 GB, free: 17.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.009228/2.036, allocations: 0.6141 MB / 0.9033 GB, free: 16.45 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/2.036, allocations: 55.41 kB / 0.9033 GB, free: 16.39 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.311e-05/2.036, allocations: 89 kB / 0.9034 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/2.036, allocations: 33.7 kB / 0.9034 GB, free: 16.25 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/2.037, allocations: 162.7 kB / 0.9036 GB, free: 16.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.652e-05/2.037, allocations: 51.27 kB / 0.9036 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/2.037, allocations: 4 kB / 0.9037 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.165e-05/2.037, allocations: 315.1 kB / 0.904 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/2.037, allocations: 71.98 kB / 0.904 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/2.037, allocations: 94.55 kB / 0.9041 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/2.038, allocations: 83.89 kB / 0.9042 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/2.038, allocations: 4 kB / 0.9042 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007257/2.038, allocations: 225.6 kB / 0.9044 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/2.038, allocations: 7.938 kB / 0.9044 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/2.038, allocations: 3.953 kB / 0.9044 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/2.038, allocations: 4 kB / 0.9044 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000972/2.039, allocations: 55.88 kB / 0.9045 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/2.039, allocations: 0 / 0.9045 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000757/2.04, allocations: 23.92 kB / 0.9045 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.888e-05/2.04, allocations: 11.98 kB / 0.9045 GB, free: 15.13 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 0.0001136/2.04, allocations: 113 kB / 0.9046 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/2.04, allocations: 7.906 kB / 0.9046 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/2.041, allocations: 337.4 kB / 0.9049 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/2.042, allocations: 0 / 0.9049 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/2.042, allocations: 0 / 0.9049 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/2.042, allocations: 3.953 kB / 0.905 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/2.043, allocations: 0.7337 MB / 0.9057 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/2.043, allocations: 0 / 0.9057 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008379/2.044, allocations: 35.97 kB / 0.9057 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-06/2.044, allocations: 7.984 kB / 0.9057 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/2.044, allocations: 3.953 kB / 0.9057 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/2.044, allocations: 0 / 0.9057 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/2.044, allocations: 4 kB / 0.9057 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006827/2.045, allocations: 339.3 kB / 0.906 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/2.045, allocations: 104.9 kB / 0.9061 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.223e-05/2.045, allocations: 8 kB / 0.9061 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006757/2.045, allocations: 8.234 kB / 0.9062 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.994e-05/2.045, allocations: 19.94 kB / 0.9062 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.622e-05/2.046, allocations: 11.98 kB / 0.9062 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.456e-05/2.046, allocations: 79.28 kB / 0.9063 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.1e-07/2.046, allocations: 0 / 0.9063 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008043/2.046, allocations: 143.9 kB / 0.9064 GB, free: 13.05 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.001943/2.048, allocations: 1.398 MB / 0.9078 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005893/2.049, allocations: 199.8 kB / 0.908 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/2.049, allocations: 0 / 0.908 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002835/2.049, allocations: 103.9 kB / 0.9081 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/2.05, allocations: 31.91 kB / 0.9081 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009842/2.051, allocations: 276.3 kB / 0.9083 GB, free: 11 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/2.051, allocations: 0.7047 MB / 0.909 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000397/2.051, allocations: 43.39 kB / 0.9091 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of SimCode: time 8.71e-07/2.051, allocations: 0 / 0.9091 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.602/4.654, allocations: 7.213 MB / 0.9161 GB, free: 3.012 MB / 0.5261 GB