Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.942e-05/2.947e-05, allocations: 6.031 kB / 292.2 MB, free: 8.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1064, allocations: 50.41 MB / 342.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.18/10.29, allocations: 3.337 GB / 3.672 GB, free: 55.44 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/10.29, allocations: 64.84 kB / 3.672 GB, free: 55.41 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1773/10.47, allocations: 49.05 MB / 3.72 GB, free: 8.824 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.823e-06/10.47, allocations: 0 / 3.72 GB, free: 8.824 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/10.47, allocations: 8 kB / 3.72 GB, free: 8.816 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002339/10.47, allocations: 0.6268 MB / 3.72 GB, free: 8.141 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/10.47, allocations: 12.03 kB / 3.72 GB, free: 8.129 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.381e-05/10.47, allocations: 50.5 kB / 3.72 GB, free: 8.07 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/10.47, allocations: 15.91 kB / 3.72 GB, free: 8.055 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/10.47, allocations: 210.8 kB / 3.721 GB, free: 7.809 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/10.47, allocations: 12.33 kB / 3.721 GB, free: 7.797 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.311e-05/10.47, allocations: 19.94 kB / 3.721 GB, free: 7.777 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005869/10.47, allocations: 237.2 kB / 3.721 GB, free: 7.535 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/10.47, allocations: 4 kB / 3.721 GB, free: 7.531 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.501e-05/10.47, allocations: 11.98 kB / 3.721 GB, free: 7.52 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/10.47, allocations: 7.953 kB / 3.721 GB, free: 7.512 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005964/10.47, allocations: 231.9 kB / 3.721 GB, free: 7.285 MB / 458.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/10.47, allocations: 0.6834 MB / 3.722 GB, free: 6.531 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007522/10.48, allocations: 197.2 kB / 3.722 GB, free: 6.32 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002819/10.48, allocations: 118.1 kB / 3.722 GB, free: 6.199 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003884/10.48, allocations: 352.4 kB / 3.722 GB, free: 5.781 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/10.48, allocations: 46.55 kB / 3.722 GB, free: 5.727 MB / 458.7 MB Notification: Performance of pre-optimization done (n=29): time 3.697e-06/10.48, allocations: 0 / 3.722 GB, free: 5.727 MB / 458.7 MB Notification: Performance of matching and sorting (n=36): time 0.002515/10.48, allocations: 0.4953 MB / 3.723 GB, free: 5.223 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/10.48, allocations: 85.23 kB / 3.723 GB, free: 5.121 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/10.48, allocations: 117.3 kB / 3.723 GB, free: 5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/10.48, allocations: 37.7 kB / 3.723 GB, free: 4.957 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/10.48, allocations: 179 kB / 3.723 GB, free: 4.781 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/10.48, allocations: 122.3 kB / 3.723 GB, free: 4.66 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/10.48, allocations: 7.938 kB / 3.723 GB, free: 4.652 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.683e-05/10.48, allocations: 330.8 kB / 3.724 GB, free: 4.32 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/10.48, allocations: 111.9 kB / 3.724 GB, free: 4.211 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003361/10.48, allocations: 179.8 kB / 3.724 GB, free: 4.008 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/10.48, allocations: 131 kB / 3.724 GB, free: 3.883 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/10.48, allocations: 4 kB / 3.724 GB, free: 3.879 MB / 458.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008898/10.48, allocations: 349.4 kB / 3.724 GB, free: 3.531 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/10.48, allocations: 8 kB / 3.724 GB, free: 3.523 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/10.48, allocations: 0 / 3.724 GB, free: 3.523 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/10.48, allocations: 7.953 kB / 3.724 GB, free: 3.516 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008876/10.48, allocations: 87.88 kB / 3.725 GB, free: 3.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/10.48, allocations: 12.16 kB / 3.725 GB, free: 3.418 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005892/10.48, allocations: 27.83 kB / 3.725 GB, free: 3.391 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.697e-05/10.48, allocations: 19.98 kB / 3.725 GB, free: 3.371 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001371/10.48, allocations: 120.9 kB / 3.725 GB, free: 3.246 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.926e-05/10.48, allocations: 19.81 kB / 3.725 GB, free: 3.227 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005616/10.48, allocations: 171.7 kB / 3.725 GB, free: 3.055 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/10.48, allocations: 7.953 kB / 3.725 GB, free: 3.047 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/10.48, allocations: 4 kB / 3.725 GB, free: 3.043 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/10.48, allocations: 7.922 kB / 3.725 GB, free: 3.035 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/10.49, allocations: 0.7018 MB / 3.726 GB, free: 2.262 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/10.49, allocations: 4 kB / 3.726 GB, free: 2.258 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008235/10.49, allocations: 79.89 kB / 3.726 GB, free: 2.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/10.49, allocations: 0 / 3.726 GB, free: 2.18 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.335e-05/10.49, allocations: 15.98 kB / 3.726 GB, free: 2.164 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/10.49, allocations: 0 / 3.726 GB, free: 2.164 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/10.49, allocations: 7.938 kB / 3.726 GB, free: 2.156 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/10.49, allocations: 0.7133 MB / 3.726 GB, free: 1.371 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/10.49, allocations: 112.9 kB / 3.726 GB, free: 1.242 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/10.49, allocations: 12 kB / 3.726 GB, free: 1.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006086/10.49, allocations: 23.97 kB / 3.727 GB, free: 1.207 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/10.49, allocations: 31.98 kB / 3.727 GB, free: 1.176 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.784e-05/10.49, allocations: 11.98 kB / 3.727 GB, free: 1.164 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.789e-05/10.49, allocations: 99.2 kB / 3.727 GB, free: 1.066 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.91e-07/10.49, allocations: 0 / 3.727 GB, free: 1.066 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00103/10.49, allocations: 183.8 kB / 3.727 GB, free: 0.8867 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.3825/10.87, allocations: 2.193 MB / 3.729 GB, free: 140.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009862/10.87, allocations: 289.3 kB / 3.729 GB, free: 140.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/10.87, allocations: 0.9375 kB / 3.729 GB, free: 140.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004075/10.87, allocations: 149.7 kB / 3.729 GB, free: 140.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/10.87, allocations: 91.03 kB / 3.729 GB, free: 140.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/10.88, allocations: 0.5878 MB / 3.73 GB, free: 140.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/10.88, allocations: 0.7416 MB / 3.731 GB, free: 139.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003276/10.88, allocations: 68.62 kB / 3.731 GB, free: 139.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.763e-06/10.88, allocations: 0 / 3.731 GB, free: 139.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.847/13.73, allocations: 7.913 MB / 3.739 GB, free: 139 MB / 458.7 MB