Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.077/2.077, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.292e-05/3.305e-05, allocations: 4 kB / 255.4 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1018, allocations: 44.51 MB / 299.9 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.38/11.49, allocations: 3.699 GB / 3.992 GB, free: 107.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/11.49, allocations: 68.14 kB / 3.992 GB, free: 107.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1731/11.66, allocations: 48.62 MB / 4.039 GB, free: 94.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.595e-06/11.66, allocations: 8 kB / 4.039 GB, free: 94.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/11.66, allocations: 0 / 4.039 GB, free: 94.54 MB / 410.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.002338/11.66, allocations: 0.6278 MB / 4.04 GB, free: 93.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/11.66, allocations: 16.02 kB / 4.04 GB, free: 93.86 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.772e-05/11.66, allocations: 48.11 kB / 4.04 GB, free: 93.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/11.66, allocations: 17.91 kB / 4.04 GB, free: 93.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/11.66, allocations: 211.9 kB / 4.04 GB, free: 93.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/11.66, allocations: 12.83 kB / 4.04 GB, free: 93.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.229e-05/11.66, allocations: 16.94 kB / 4.04 GB, free: 93.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005825/11.66, allocations: 242.7 kB / 4.041 GB, free: 93.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/11.66, allocations: 3.938 kB / 4.041 GB, free: 93.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/11.66, allocations: 7.688 kB / 4.041 GB, free: 93.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/11.66, allocations: 4 kB / 4.041 GB, free: 93.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005713/11.66, allocations: 228.1 kB / 4.041 GB, free: 93.18 MB / 410.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.001811/11.67, allocations: 0.6913 MB / 4.042 GB, free: 92.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007316/11.67, allocations: 205.6 kB / 4.042 GB, free: 92.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/11.67, allocations: 122.4 kB / 4.042 GB, free: 92.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003711/11.67, allocations: 359.9 kB / 4.042 GB, free: 91.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/11.67, allocations: 38.25 kB / 4.042 GB, free: 91.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.985e-06/11.67, allocations: 0 / 4.042 GB, free: 91.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002388/11.67, allocations: 0.4911 MB / 4.043 GB, free: 91.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/11.67, allocations: 85.3 kB / 4.043 GB, free: 91.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/11.67, allocations: 112.9 kB / 4.043 GB, free: 91.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/11.67, allocations: 31.58 kB / 4.043 GB, free: 91.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/11.67, allocations: 181.5 kB / 4.043 GB, free: 91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/11.67, allocations: 123.3 kB / 4.043 GB, free: 90.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/11.67, allocations: 4.812 kB / 4.043 GB, free: 90.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.049e-05/11.67, allocations: 331.6 kB / 4.044 GB, free: 90.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/11.67, allocations: 117 kB / 4.044 GB, free: 90.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/11.67, allocations: 174 kB / 4.044 GB, free: 90.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/11.67, allocations: 134.3 kB / 4.044 GB, free: 90.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/11.67, allocations: 4 kB / 4.044 GB, free: 90.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008771/11.67, allocations: 355.6 kB / 4.044 GB, free: 89.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/11.67, allocations: 5.562 kB / 4.044 GB, free: 89.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/11.67, allocations: 4 kB / 4.044 GB, free: 89.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/11.67, allocations: 11.97 kB / 4.044 GB, free: 89.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008508/11.67, allocations: 90.47 kB / 4.044 GB, free: 89.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/11.67, allocations: 4 kB / 4.044 GB, free: 89.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000558/11.67, allocations: 28.7 kB / 4.044 GB, free: 89.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.609e-05/11.67, allocations: 18.42 kB / 4.044 GB, free: 89.84 MB / 410.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.0001331/11.67, allocations: 130.3 kB / 4.045 GB, free: 89.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.72e-05/11.67, allocations: 15.81 kB / 4.045 GB, free: 89.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005288/11.67, allocations: 179.5 kB / 4.045 GB, free: 89.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/11.67, allocations: 4 kB / 4.045 GB, free: 89.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/11.67, allocations: 0 / 4.045 GB, free: 89.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/11.67, allocations: 0 / 4.045 GB, free: 89.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/11.68, allocations: 0.7143 MB / 4.045 GB, free: 88.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/11.68, allocations: 0 / 4.045 GB, free: 88.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007766/11.68, allocations: 86.39 kB / 4.046 GB, free: 88.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/11.68, allocations: 4 kB / 4.046 GB, free: 88.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.196e-05/11.68, allocations: 9.25 kB / 4.046 GB, free: 88.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/11.68, allocations: 7.984 kB / 4.046 GB, free: 88.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/11.68, allocations: 0 / 4.046 GB, free: 88.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/11.68, allocations: 0.7035 MB / 4.046 GB, free: 88.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/11.68, allocations: 119.6 kB / 4.046 GB, free: 88.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.113e-05/11.68, allocations: 10.44 kB / 4.046 GB, free: 88.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000575/11.68, allocations: 23.36 kB / 4.046 GB, free: 88.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/11.68, allocations: 31.28 kB / 4.046 GB, free: 87.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/11.68, allocations: 13.3 kB / 4.046 GB, free: 87.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.421e-05/11.68, allocations: 100.2 kB / 4.047 GB, free: 87.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.61e-07/11.68, allocations: 0 / 4.047 GB, free: 87.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000994/11.68, allocations: 183.3 kB / 4.047 GB, free: 87.73 MB / 410.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.002567/11.68, allocations: 2.206 MB / 4.049 GB, free: 85.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007808/11.68, allocations: 302.5 kB / 4.049 GB, free: 85.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/11.68, allocations: 0 / 4.049 GB, free: 85.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003457/11.68, allocations: 148.1 kB / 4.049 GB, free: 85.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009226/11.68, allocations: 88.97 kB / 4.049 GB, free: 85.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/11.69, allocations: 0.6006 MB / 4.05 GB, free: 84.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/11.69, allocations: 0.7428 MB / 4.051 GB, free: 83.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/11.69, allocations: 68.66 kB / 4.051 GB, free: 83.81 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/11.69, allocations: 0 / 4.051 GB, free: 83.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.865/14.55, allocations: 7.871 MB / 4.058 GB, free: 75.93 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.MoistAir_res.mat does not exist to compare? outputFormat=mat