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 1.901/1.901, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.146e-05/3.147e-05, allocations: 4 kB / 249.7 MB, free: 15.21 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4124, allocations: 44.5 MB / 294.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.06/11.47, allocations: 3.698 GB / 3.986 GB, free: 50.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/11.47, allocations: 66.91 kB / 3.986 GB, free: 50.49 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2092/11.68, allocations: 47.9 MB / 4.033 GB, free: 7.574 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.954e-06/11.68, allocations: 0 / 4.033 GB, free: 7.574 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.823e-05/11.68, allocations: 4 kB / 4.033 GB, free: 7.57 MB / 394.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.003163/11.68, allocations: 0.6307 MB / 4.033 GB, free: 6.891 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/11.68, allocations: 8.031 kB / 4.033 GB, free: 6.883 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002549/11.68, allocations: 19.91 kB / 4.033 GB, free: 6.863 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/11.68, allocations: 210.8 kB / 4.033 GB, free: 6.617 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/11.68, allocations: 11.98 kB / 4.033 GB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.379e-05/11.68, allocations: 8 kB / 4.033 GB, free: 6.598 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007579/11.68, allocations: 204.6 kB / 4.034 GB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00068/11.69, allocations: 213.2 kB / 4.034 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/11.69, allocations: 4 kB / 4.034 GB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.763e-05/11.69, allocations: 4 kB / 4.034 GB, free: 6.172 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/11.69, allocations: 8 kB / 4.034 GB, free: 6.164 MB / 394.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.002478/11.69, allocations: 0.6446 MB / 4.034 GB, free: 5.461 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008446/11.69, allocations: 189.2 kB / 4.035 GB, free: 5.258 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/11.69, allocations: 113.9 kB / 4.035 GB, free: 5.141 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004312/11.69, allocations: 356.4 kB / 4.035 GB, free: 4.719 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/11.69, allocations: 46.52 kB / 4.035 GB, free: 4.664 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 2.995e-06/11.69, allocations: 0 / 4.035 GB, free: 4.664 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002496/11.69, allocations: 489.2 kB / 4.036 GB, free: 4.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/11.69, allocations: 85.23 kB / 4.036 GB, free: 4.078 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/11.69, allocations: 113.2 kB / 4.036 GB, free: 3.961 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/11.69, allocations: 25.7 kB / 4.036 GB, free: 3.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/11.69, allocations: 179 kB / 4.036 GB, free: 3.754 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.706e-05/11.69, allocations: 114.2 kB / 4.036 GB, free: 3.641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/11.69, allocations: 4 kB / 4.036 GB, free: 3.637 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.592e-05/11.69, allocations: 330.8 kB / 4.036 GB, free: 3.305 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/11.69, allocations: 103.9 kB / 4.036 GB, free: 3.203 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003172/11.69, allocations: 171.8 kB / 4.037 GB, free: 3.008 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/11.69, allocations: 140.8 kB / 4.037 GB, free: 2.871 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/11.69, allocations: 3.953 kB / 4.037 GB, free: 2.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009298/11.69, allocations: 354.1 kB / 4.037 GB, free: 2.516 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/11.69, allocations: 12.22 kB / 4.037 GB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/11.69, allocations: 0 / 4.037 GB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/11.69, allocations: 4 kB / 4.037 GB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008731/11.7, allocations: 83.88 kB / 4.037 GB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/11.7, allocations: 7.938 kB / 4.037 GB, free: 2.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005534/11.7, allocations: 23.88 kB / 4.037 GB, free: 2.387 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.265e-05/11.7, allocations: 20 kB / 4.037 GB, free: 2.367 MB / 394.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.0001284/11.7, allocations: 112.6 kB / 4.037 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009489/11.7, allocations: 324.6 kB / 4.038 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.289e-05/11.7, allocations: 19.84 kB / 4.038 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006328/11.7, allocations: 178.2 kB / 4.038 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/11.7, allocations: 4 kB / 4.038 GB, free: 1.723 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/11.7, allocations: 3.984 kB / 4.038 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/11.7, allocations: 4.375 kB / 4.038 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/11.7, allocations: 0.6433 MB / 4.039 GB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/11.7, allocations: 0 / 4.039 GB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00078/11.7, allocations: 80.05 kB / 4.039 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/11.7, allocations: 11.89 kB / 4.039 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/11.7, allocations: 11.98 kB / 4.039 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/11.7, allocations: 3.938 kB / 4.039 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/11.7, allocations: 4 kB / 4.039 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/11.7, allocations: 0.6898 MB / 4.039 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2554/11.96, allocations: 128.7 kB / 4.039 GB, free: 111.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/11.96, allocations: 2.516 kB / 4.039 GB, free: 111.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009761/11.96, allocations: 15.59 kB / 4.039 GB, free: 111.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/11.96, allocations: 23.12 kB / 4.039 GB, free: 111.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.348e-05/11.96, allocations: 15.53 kB / 4.039 GB, free: 111.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001226/11.96, allocations: 91.36 kB / 4.04 GB, free: 111.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.112e-06/11.96, allocations: 0 / 4.04 GB, free: 111.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001347/11.96, allocations: 167.7 kB / 4.04 GB, free: 111.5 MB / 394.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.003524/11.96, allocations: 2.279 MB / 4.042 GB, free: 110.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000816/11.96, allocations: 269 kB / 4.042 GB, free: 110.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/11.96, allocations: 1.219 kB / 4.042 GB, free: 110.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003595/11.97, allocations: 146.8 kB / 4.042 GB, free: 110.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/11.97, allocations: 81.94 kB / 4.042 GB, free: 110.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/11.97, allocations: 0.5685 MB / 4.043 GB, free: 109.9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/11.97, allocations: 0.7418 MB / 4.044 GB, free: 109.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003293/11.97, allocations: 67.22 kB / 4.044 GB, free: 109.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/11.97, allocations: 0 / 4.044 GB, free: 109.2 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.756/14.72, allocations: 7.822 MB / 4.051 GB, free: 108.9 MB / 394.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