Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.408/2.408, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.961e-05/2.977e-05, allocations: 4 kB / 249.8 MB, free: 14.78 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3622, allocations: 44.5 MB / 294.3 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 23.67/24.03, allocations: 6.611 GB / 6.898 GB, free: 57.46 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/24.03, allocations: 75.08 kB / 6.898 GB, free: 57.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.355/25.39, allocations: 188.5 MB / 7.082 GB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.635e-06/25.39, allocations: 0 / 7.082 GB, free: 43.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.829e-05/25.39, allocations: 4 kB / 7.082 GB, free: 43.12 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.008956/25.39, allocations: 1.449 MB / 7.084 GB, free: 41.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/25.39, allocations: 11.97 kB / 7.084 GB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002539/25.4, allocations: 19.81 kB / 7.084 GB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/25.4, allocations: 218.8 kB / 7.084 GB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/25.4, allocations: 4 kB / 7.084 GB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.602e-05/25.4, allocations: 11.91 kB / 7.084 GB, free: 41.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006494/25.4, allocations: 216.5 kB / 7.084 GB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005725/25.4, allocations: 213.2 kB / 7.084 GB, free: 40.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/25.4, allocations: 3.984 kB / 7.084 GB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.977e-05/25.4, allocations: 4 kB / 7.084 GB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.633e-05/25.4, allocations: 4 kB / 7.084 GB, free: 40.89 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.002182/25.4, allocations: 0.6326 MB / 7.085 GB, free: 40.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007196/25.4, allocations: 286.2 kB / 7.085 GB, free: 39.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/25.4, allocations: 106.1 kB / 7.085 GB, free: 39.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0192/25.42, allocations: 10.08 MB / 7.095 GB, free: 27.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.524e-05/25.42, allocations: 38.56 kB / 7.095 GB, free: 27.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 4.538e-06/25.42, allocations: 4 kB / 7.095 GB, free: 27.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.003462/25.42, allocations: 499.7 kB / 7.096 GB, free: 27.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/25.42, allocations: 85.23 kB / 7.096 GB, free: 27.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/25.42, allocations: 124.8 kB / 7.096 GB, free: 26.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/25.42, allocations: 25.7 kB / 7.096 GB, free: 26.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/25.42, allocations: 108.6 kB / 7.096 GB, free: 26.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/25.42, allocations: 126.2 kB / 7.096 GB, free: 26.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/25.42, allocations: 0 / 7.096 GB, free: 26.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.034e-05/25.42, allocations: 326.8 kB / 7.096 GB, free: 26.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/25.42, allocations: 104 kB / 7.096 GB, free: 26.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000355/25.42, allocations: 163.8 kB / 7.097 GB, free: 26.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005931/25.43, allocations: 151.7 kB / 7.097 GB, free: 25.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/25.43, allocations: 0 / 7.097 GB, free: 25.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001311/25.43, allocations: 357.8 kB / 7.097 GB, free: 25.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/25.43, allocations: 8 kB / 7.097 GB, free: 25.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/25.43, allocations: 11.89 kB / 7.097 GB, free: 25.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.364e-05/25.43, allocations: 4 kB / 7.097 GB, free: 25.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/25.43, allocations: 83.88 kB / 7.097 GB, free: 25.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/25.43, allocations: 7.938 kB / 7.097 GB, free: 25.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006841/25.43, allocations: 31.81 kB / 7.097 GB, free: 25.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.84e-05/25.43, allocations: 16 kB / 7.097 GB, free: 25.4 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.0001626/25.43, allocations: 108.7 kB / 7.097 GB, free: 25.29 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001257/25.43, allocations: 320.6 kB / 7.098 GB, free: 24.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/25.43, allocations: 23.77 kB / 7.098 GB, free: 24.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008732/25.43, allocations: 192.6 kB / 7.098 GB, free: 24.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/25.43, allocations: 7.984 kB / 7.098 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/25.43, allocations: 0 / 7.098 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.956e-05/25.43, allocations: 0 / 7.098 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/25.43, allocations: 0.8644 MB / 7.099 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/25.43, allocations: 4 kB / 7.099 GB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/25.44, allocations: 87.81 kB / 7.099 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-05/25.44, allocations: 8.156 kB / 7.099 GB, free: 23.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-05/25.44, allocations: 7.984 kB / 7.099 GB, free: 23.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.812e-06/25.44, allocations: 3.938 kB / 7.099 GB, free: 23.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/25.44, allocations: 7.953 kB / 7.099 GB, free: 23.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/25.44, allocations: 0.7078 MB / 7.1 GB, free: 22.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/25.44, allocations: 120.8 kB / 7.1 GB, free: 22.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.888e-05/25.44, allocations: 12.05 kB / 7.1 GB, free: 22.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007572/25.44, allocations: 11.98 kB / 7.1 GB, free: 22.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.101e-05/25.44, allocations: 27.92 kB / 7.1 GB, free: 22.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.829e-05/25.44, allocations: 19.98 kB / 7.1 GB, free: 22.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.684e-05/25.44, allocations: 91.28 kB / 7.1 GB, free: 22.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.11e-07/25.44, allocations: 0 / 7.1 GB, free: 22.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006131/25.44, allocations: 1.073 MB / 7.101 GB, free: 21.57 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 (39): * Single equations (assignments): 39 * 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.01408/25.46, allocations: 3.211 MB / 7.104 GB, free: 18.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009526/25.46, allocations: 267.8 kB / 7.104 GB, free: 18.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/25.46, allocations: 0 / 7.104 GB, free: 18.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003939/25.46, allocations: 151.8 kB / 7.104 GB, free: 17.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/25.46, allocations: 93.34 kB / 7.104 GB, free: 17.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005519/25.47, allocations: 0.8928 MB / 7.105 GB, free: 16.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/25.47, allocations: 0.7378 MB / 7.106 GB, free: 16.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009075/25.47, allocations: 77.97 kB / 7.106 GB, free: 16.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003757/25.47, allocations: 79.39 kB / 7.106 GB, free: 16.03 MB / 410.7 MB Notification: Performance of SimCode: time 1.322e-06/25.47, allocations: 0 / 7.106 GB, free: 16.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4843/25.95, allocations: 33.75 MB / 7.139 GB, free: 50.84 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002763/25.95, allocations: 173.4 kB / 7.139 GB, free: 50.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.205/31.16, allocations: 0.6562 kB / 7.139 GB, free: 50.65 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat does not exist to compare? outputFormat=mat