Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.25/2.25, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.737e-05/3.745e-05, allocations: 8 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1149, allocations: 47.57 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 21.11/21.23, allocations: 6.679 GB / 6.989 GB, free: 79.79 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/21.23, allocations: 74.39 kB / 6.989 GB, free: 79.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.23/22.46, allocations: 192.5 MB / 7.177 GB, free: 62.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.683e-06/22.46, allocations: 0 / 7.177 GB, free: 62.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.571e-05/22.46, allocations: 4 kB / 7.177 GB, free: 62.57 MB / 426.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.008257/22.47, allocations: 1.449 MB / 7.178 GB, free: 61.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/22.47, allocations: 12.03 kB / 7.178 GB, free: 61.06 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.62e-05/22.47, allocations: 50.5 kB / 7.178 GB, free: 61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/22.47, allocations: 23.8 kB / 7.178 GB, free: 60.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/22.47, allocations: 218.8 kB / 7.179 GB, free: 60.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/22.47, allocations: 8.328 kB / 7.179 GB, free: 60.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.108e-05/22.47, allocations: 19.98 kB / 7.179 GB, free: 60.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007931/22.47, allocations: 265.2 kB / 7.179 GB, free: 60.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/22.47, allocations: 0 / 7.179 GB, free: 60.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.325e-05/22.47, allocations: 4 kB / 7.179 GB, free: 60.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/22.47, allocations: 11.95 kB / 7.179 GB, free: 60.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000773/22.47, allocations: 271.8 kB / 7.179 GB, free: 60.15 MB / 426.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.001923/22.47, allocations: 0.722 MB / 7.18 GB, free: 59.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008555/22.47, allocations: 229.2 kB / 7.18 GB, free: 59.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/22.47, allocations: 109.7 kB / 7.18 GB, free: 59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01913/22.49, allocations: 12.46 MB / 7.192 GB, free: 44.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/22.49, allocations: 50.44 kB / 7.192 GB, free: 43.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.377e-06/22.49, allocations: 0 / 7.192 GB, free: 43.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.003103/22.5, allocations: 0.509 MB / 7.193 GB, free: 43.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/22.5, allocations: 85.3 kB / 7.193 GB, free: 43.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/22.5, allocations: 117 kB / 7.193 GB, free: 43.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/22.5, allocations: 29.7 kB / 7.193 GB, free: 43.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/22.5, allocations: 108.6 kB / 7.193 GB, free: 43.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/22.5, allocations: 130.1 kB / 7.193 GB, free: 42.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/22.5, allocations: 8 kB / 7.193 GB, free: 42.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.441e-05/22.5, allocations: 326.8 kB / 7.194 GB, free: 42.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/22.5, allocations: 108 kB / 7.194 GB, free: 42.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/22.5, allocations: 187.8 kB / 7.194 GB, free: 42.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004142/22.5, allocations: 129 kB / 7.194 GB, free: 42.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/22.5, allocations: 4 kB / 7.194 GB, free: 42.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001128/22.5, allocations: 355 kB / 7.195 GB, free: 41.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/22.5, allocations: 8 kB / 7.195 GB, free: 41.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/22.5, allocations: 3.938 kB / 7.195 GB, free: 41.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/22.5, allocations: 7.953 kB / 7.195 GB, free: 41.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000932/22.5, allocations: 91.88 kB / 7.195 GB, free: 41.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/22.5, allocations: 7.984 kB / 7.195 GB, free: 41.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005432/22.5, allocations: 32.05 kB / 7.195 GB, free: 41.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.03e-05/22.5, allocations: 23.92 kB / 7.195 GB, free: 41.65 MB / 426.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.0001323/22.5, allocations: 116.9 kB / 7.195 GB, free: 41.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/22.5, allocations: 19.81 kB / 7.195 GB, free: 41.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007452/22.5, allocations: 207.5 kB / 7.195 GB, free: 41.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/22.5, allocations: 7.953 kB / 7.195 GB, free: 41.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/22.5, allocations: 4 kB / 7.195 GB, free: 41.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/22.5, allocations: 7.984 kB / 7.195 GB, free: 41.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/22.5, allocations: 0.7157 MB / 7.196 GB, free: 40.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/22.5, allocations: 0 / 7.196 GB, free: 40.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000775/22.5, allocations: 84.03 kB / 7.196 GB, free: 40.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-06/22.5, allocations: 4 kB / 7.196 GB, free: 40.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/22.5, allocations: 12 kB / 7.196 GB, free: 40.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.954e-06/22.5, allocations: 7.984 kB / 7.196 GB, free: 40.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/22.5, allocations: 4 kB / 7.196 GB, free: 40.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/22.51, allocations: 0.7239 MB / 7.197 GB, free: 39.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/22.51, allocations: 124.8 kB / 7.197 GB, free: 39.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.93e-05/22.51, allocations: 12 kB / 7.197 GB, free: 39.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005865/22.51, allocations: 19.97 kB / 7.197 GB, free: 39.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/22.51, allocations: 31.86 kB / 7.197 GB, free: 39.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.557e-05/22.51, allocations: 15.98 kB / 7.197 GB, free: 39.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.136e-05/22.51, allocations: 95.28 kB / 7.197 GB, free: 39.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/22.51, allocations: 8.062 kB / 7.197 GB, free: 39.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005884/22.51, allocations: 1.108 MB / 7.198 GB, free: 38.17 MB / 426.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.01235/22.53, allocations: 3.191 MB / 7.201 GB, free: 34.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001003/22.53, allocations: 287 kB / 7.201 GB, free: 34.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/22.53, allocations: 448 / 7.201 GB, free: 34.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004245/22.53, allocations: 166.1 kB / 7.201 GB, free: 34.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/22.53, allocations: 92.03 kB / 7.202 GB, free: 34.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04095/22.57, allocations: 12.46 MB / 7.214 GB, free: 21.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/22.57, allocations: 0.7452 MB / 7.214 GB, free: 20.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007271/22.57, allocations: 89.94 kB / 7.215 GB, free: 20.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/22.57, allocations: 67.41 kB / 7.215 GB, free: 20.66 MB / 426.7 MB Notification: Performance of SimCode: time 1.793e-06/22.57, allocations: 4 kB / 7.215 GB, free: 20.66 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4409/23.01, allocations: 38.1 MB / 7.252 GB, free: 47.18 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000275/23.01, allocations: 186.1 kB / 7.252 GB, free: 46.96 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.652/27.66, allocations: 5.531 kB / 7.252 GB, free: 46.95 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat does not exist to compare? outputFormat=mat