Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.016/2.016, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.815e-05/3.819e-05, allocations: 3.984 kB / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09849/0.09857, allocations: 44.5 MB / 300 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.36/11.46, allocations: 3.699 GB / 3.992 GB, free: 108.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/11.46, allocations: 67.09 kB / 3.992 GB, free: 108.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1814/11.64, allocations: 48.62 MB / 4.04 GB, free: 98.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.053e-06/11.64, allocations: 0 / 4.04 GB, free: 98.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.518e-05/11.64, allocations: 0 / 4.04 GB, free: 98.79 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.00243/11.64, allocations: 0.6296 MB / 4.04 GB, free: 98.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/11.64, allocations: 7.094 kB / 4.04 GB, free: 98.26 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.98e-05/11.64, allocations: 51.3 kB / 4.04 GB, free: 98.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/11.64, allocations: 21.08 kB / 4.04 GB, free: 98.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/11.64, allocations: 211.7 kB / 4.04 GB, free: 97.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/11.64, allocations: 12.02 kB / 4.04 GB, free: 97.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.179e-05/11.64, allocations: 14.78 kB / 4.04 GB, free: 97.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006094/11.65, allocations: 244.9 kB / 4.041 GB, free: 97.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/11.65, allocations: 0 / 4.041 GB, free: 97.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/11.65, allocations: 9.656 kB / 4.041 GB, free: 97.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/11.65, allocations: 3.812 kB / 4.041 GB, free: 97.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005972/11.65, allocations: 226 kB / 4.041 GB, free: 97.86 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.001978/11.65, allocations: 0.692 MB / 4.042 GB, free: 97.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007606/11.65, allocations: 203.2 kB / 4.042 GB, free: 97.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/11.65, allocations: 123 kB / 4.042 GB, free: 97.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004225/11.65, allocations: 358.3 kB / 4.042 GB, free: 96.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/11.65, allocations: 34.5 kB / 4.042 GB, free: 96.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.838e-06/11.65, allocations: 0 / 4.042 GB, free: 96.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002476/11.65, allocations: 0.4944 MB / 4.043 GB, free: 96.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/11.65, allocations: 89.14 kB / 4.043 GB, free: 96.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/11.65, allocations: 112.1 kB / 4.043 GB, free: 96.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/11.65, allocations: 37.17 kB / 4.043 GB, free: 96.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/11.65, allocations: 96.58 kB / 4.043 GB, free: 96.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/11.65, allocations: 128.2 kB / 4.043 GB, free: 96.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/11.65, allocations: 7.531 kB / 4.043 GB, free: 96.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.251e-05/11.65, allocations: 330.1 kB / 4.044 GB, free: 95.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/11.65, allocations: 115.1 kB / 4.044 GB, free: 95.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/11.65, allocations: 174 kB / 4.044 GB, free: 95.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003415/11.65, allocations: 131.1 kB / 4.044 GB, free: 95.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/11.65, allocations: 3.875 kB / 4.044 GB, free: 95.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000871/11.65, allocations: 351.7 kB / 4.044 GB, free: 95.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/11.65, allocations: 3.938 kB / 4.044 GB, free: 95.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/11.65, allocations: 3.969 kB / 4.044 GB, free: 95.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/11.65, allocations: 7.922 kB / 4.044 GB, free: 95.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008837/11.66, allocations: 89.41 kB / 4.044 GB, free: 95.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/11.66, allocations: 7.906 kB / 4.044 GB, free: 95.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000571/11.66, allocations: 34.3 kB / 4.044 GB, free: 95.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.468e-05/11.66, allocations: 15.61 kB / 4.044 GB, free: 95.68 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.0001372/11.66, allocations: 124.3 kB / 4.045 GB, free: 95.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/11.66, allocations: 23.03 kB / 4.045 GB, free: 95.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005345/11.66, allocations: 170.9 kB / 4.045 GB, free: 95.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/11.66, allocations: 3.781 kB / 4.045 GB, free: 95.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/11.66, allocations: 3.938 kB / 4.045 GB, free: 95.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/11.66, allocations: 0 / 4.045 GB, free: 95.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/11.66, allocations: 0.7044 MB / 4.045 GB, free: 95.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/11.66, allocations: 7.781 kB / 4.045 GB, free: 95.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007997/11.66, allocations: 82.02 kB / 4.045 GB, free: 94.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-05/11.66, allocations: 7.75 kB / 4.045 GB, free: 94.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.387e-05/11.66, allocations: 8.375 kB / 4.046 GB, free: 94.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/11.66, allocations: 10.14 kB / 4.046 GB, free: 94.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/11.66, allocations: 160 / 4.046 GB, free: 94.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/11.66, allocations: 0.7084 MB / 4.046 GB, free: 94.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/11.66, allocations: 123.2 kB / 4.046 GB, free: 94.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.058e-05/11.66, allocations: 7.125 kB / 4.046 GB, free: 94.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000599/11.66, allocations: 23.36 kB / 4.046 GB, free: 94.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/11.66, allocations: 26.47 kB / 4.046 GB, free: 94.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.086e-05/11.66, allocations: 18.11 kB / 4.046 GB, free: 94.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.592e-05/11.66, allocations: 96.3 kB / 4.046 GB, free: 94.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.51e-07/11.66, allocations: 0 / 4.046 GB, free: 94.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001051/11.66, allocations: 182.9 kB / 4.047 GB, free: 94.33 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.002771/11.67, allocations: 2.209 MB / 4.049 GB, free: 92.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008125/11.67, allocations: 283.2 kB / 4.049 GB, free: 92.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/11.67, allocations: 4.344 kB / 4.049 GB, free: 92.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003555/11.67, allocations: 166.3 kB / 4.049 GB, free: 92.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/11.67, allocations: 87.69 kB / 4.049 GB, free: 92.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/11.67, allocations: 0.5593 MB / 4.05 GB, free: 92.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/11.67, allocations: 0.7388 MB / 4.051 GB, free: 91.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006867/11.67, allocations: 73.09 kB / 4.051 GB, free: 91.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002667/11.67, allocations: 67.06 kB / 4.051 GB, free: 91.44 MB / 410.7 MB Notification: Performance of SimCode: time 3.136e-06/11.67, allocations: 0 / 4.051 GB, free: 91.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06685/11.74, allocations: 17.6 MB / 4.068 GB, free: 74.84 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002857/11.74, allocations: 132.2 kB / 4.068 GB, free: 74.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.401/15.14, allocations: 0 / 4.068 GB, free: 74.62 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.MoistAir_res.mat does not exist to compare? outputFormat=mat