Running command: "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.967/1.967, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.298e-05/4.301e-05, allocations: 4 kB / 292.2 MB, free: 8.742 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 50.41 MB / 342.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.51/10.62, allocations: 3.326 GB / 3.661 GB, free: 121.7 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/10.62, allocations: 66.36 kB / 3.661 GB, free: 121.7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4337/11.06, allocations: 102.9 MB / 3.761 GB, free: 61.61 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.056e-06/11.06, allocations: 3.984 kB / 3.761 GB, free: 61.6 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.642e-05/11.06, allocations: 47.98 kB / 3.761 GB, free: 61.55 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: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.01359/11.07, allocations: 2.683 MB / 3.764 GB, free: 58.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/11.07, allocations: 12.03 kB / 3.764 GB, free: 58.8 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001136/11.07, allocations: 357.8 kB / 3.764 GB, free: 58.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002907/11.07, allocations: 317.2 kB / 3.765 GB, free: 58.13 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004912/11.08, allocations: 1.326 MB / 3.766 GB, free: 56.76 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001968/11.08, allocations: 184.9 kB / 3.766 GB, free: 56.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000872/11.08, allocations: 244 kB / 3.766 GB, free: 56.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0102/11.09, allocations: 3.642 MB / 3.77 GB, free: 52.65 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.046e-05/11.09, allocations: 0 / 3.77 GB, free: 52.65 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007296/11.09, allocations: 116 kB / 3.77 GB, free: 52.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.755e-05/11.09, allocations: 60 kB / 3.77 GB, free: 52.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01402/11.1, allocations: 5.759 MB / 3.776 GB, free: 46.71 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03326/11.14, allocations: 10.63 MB / 3.786 GB, free: 35.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/11.15, allocations: 4.898 MB / 3.791 GB, free: 30.45 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005664/11.15, allocations: 2.337 MB / 3.793 GB, free: 28.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000869/11.16, allocations: 447.3 kB / 3.794 GB, free: 27.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.068e-05/11.16, allocations: 90.41 kB / 3.794 GB, free: 27.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=390): time 6.693e-06/11.16, allocations: 0 / 3.794 GB, free: 27.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=390): time 0.01045/11.17, allocations: 3.999 MB / 3.798 GB, free: 23.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/11.17, allocations: 94.41 kB / 3.798 GB, free: 23.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/11.17, allocations: 0.773 MB / 3.799 GB, free: 22.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008961/11.17, allocations: 105.7 kB / 3.799 GB, free: 22.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/11.17, allocations: 0.5369 MB / 3.799 GB, free: 21.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00155/11.17, allocations: 1.301 MB / 3.8 GB, free: 20.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003261/11.17, allocations: 68 kB / 3.8 GB, free: 20.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002318/11.17, allocations: 458.3 kB / 3.801 GB, free: 20.08 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004414/11.18, allocations: 1.689 MB / 3.803 GB, free: 18.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00483/11.18, allocations: 2.181 MB / 3.805 GB, free: 16.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005153/11.19, allocations: 2.062 MB / 3.807 GB, free: 13.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.306e-05/11.19, allocations: 4 kB / 3.807 GB, free: 13.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01118/11.2, allocations: 4.403 MB / 3.811 GB, free: 9.543 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.891e-05/11.2, allocations: 12 kB / 3.811 GB, free: 9.531 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/11.2, allocations: 12 kB / 3.811 GB, free: 9.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.119e-05/11.2, allocations: 28.81 kB / 3.811 GB, free: 9.492 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007646/11.2, allocations: 0.7956 MB / 3.812 GB, free: 8.695 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.674e-05/11.2, allocations: 43.86 kB / 3.812 GB, free: 8.652 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005333/11.21, allocations: 428.5 kB / 3.812 GB, free: 8.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009789/11.21, allocations: 143.9 kB / 3.812 GB, free: 8.09 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 450 * 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.001239/11.21, allocations: 316.1 kB / 3.813 GB, free: 7.773 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009236/11.21, allocations: 213.8 kB / 3.813 GB, free: 7.562 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01519/11.23, allocations: 5.088 MB / 3.818 GB, free: 2.438 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.016e-05/11.23, allocations: 40 kB / 3.818 GB, free: 2.398 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/11.23, allocations: 0 / 3.818 GB, free: 2.398 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001146/11.23, allocations: 27.86 kB / 3.818 GB, free: 2.371 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4652/11.69, allocations: 2.812 MB / 3.821 GB, free: 102.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.797e-05/11.69, allocations: 0 / 3.821 GB, free: 102.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009998/11.7, allocations: 0.7275 MB / 3.821 GB, free: 102.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001207/11.7, allocations: 14.66 kB / 3.821 GB, free: 102.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009622/11.71, allocations: 91.34 kB / 3.822 GB, free: 102.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-05/11.71, allocations: 14.03 kB / 3.822 GB, free: 102.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/11.71, allocations: 0.5156 kB / 3.822 GB, free: 102.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02806/11.73, allocations: 7.05 MB / 3.828 GB, free: 102 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/11.73, allocations: 356.3 kB / 3.829 GB, free: 101.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001232/11.74, allocations: 75.25 kB / 3.829 GB, free: 101.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007901/11.74, allocations: 287.3 kB / 3.829 GB, free: 101.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001757/11.75, allocations: 316 kB / 3.829 GB, free: 101.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001134/11.75, allocations: 179.3 kB / 3.83 GB, free: 101.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002199/11.75, allocations: 0.6695 MB / 3.83 GB, free: 101.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.01e-07/11.75, allocations: 0 / 3.83 GB, free: 101.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007615/11.76, allocations: 1.13 MB / 3.831 GB, free: 101.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (x,hx_h[1],hx_h[2],hx_h[3],hx_h[4],hx_h[5],hx_h[6],hx_h[7],hx_h[8],hx_h[9],hx_h[10],hx_h[11],hx_h[12],hx_h[13],hx_h[14],hx_h[15],hx_h[16]) * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (431): * Single equations (assignments): 431 * 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.02612/11.78, allocations: 8.373 MB / 3.84 GB, free: 100.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01071/11.79, allocations: 4.116 MB / 3.844 GB, free: 100.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.086e-05/11.79, allocations: 8.094 kB / 3.844 GB, free: 100.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005242/11.8, allocations: 2.187 MB / 3.846 GB, free: 100.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01079/11.81, allocations: 1.165 MB / 3.847 GB, free: 100.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02282/11.83, allocations: 6.936 MB / 3.854 GB, free: 99.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/11.83, allocations: 1.894 MB / 3.855 GB, free: 99.05 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00337/11.84, allocations: 0.9059 MB / 3.856 GB, free: 99.04 MB / 442.7 MB Notification: Performance of SimCode: time 1.713e-06/11.84, allocations: 7.125 kB / 3.856 GB, free: 99.04 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.034/15.87, allocations: 58.86 MB / 3.914 GB, free: 66.86 MB / 442.7 MB