Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.771/1.771, allocations: 171.2 MB / 183.3 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.727e-05/3.737e-05, allocations: 4 kB / 225.1 MB, free: 2.215 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2677, allocations: 38.77 MB / 263.9 MB, free: 9.793 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.81/20.07, allocations: 6.605 GB / 6.863 GB, free: 75.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/20.07, allocations: 70.66 kB / 6.863 GB, free: 75.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.091/21.17, allocations: 190.2 MB / 7.049 GB, free: 54.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.795e-06/21.17, allocations: 0 / 7.049 GB, free: 54.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.45e-05/21.17, allocations: 6.594 kB / 7.049 GB, free: 54.73 MB / 362.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.008652/21.17, allocations: 1.443 MB / 7.05 GB, free: 53.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/21.17, allocations: 7.75 kB / 7.05 GB, free: 53.85 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.309e-05/21.18, allocations: 51.97 kB / 7.05 GB, free: 53.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/21.18, allocations: 23.58 kB / 7.05 GB, free: 53.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/21.18, allocations: 215 kB / 7.05 GB, free: 53.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/21.18, allocations: 11.83 kB / 7.05 GB, free: 53.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.628e-05/21.18, allocations: 15.16 kB / 7.05 GB, free: 53.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007702/21.18, allocations: 246.2 kB / 7.051 GB, free: 53.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/21.18, allocations: 7.75 kB / 7.051 GB, free: 53.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.395e-05/21.18, allocations: 3.812 kB / 7.051 GB, free: 53.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.003e-05/21.18, allocations: 15.73 kB / 7.051 GB, free: 53.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007476/21.18, allocations: 244.6 kB / 7.051 GB, free: 53.54 MB / 362.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.001859/21.18, allocations: 0.6848 MB / 7.051 GB, free: 53.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008042/21.18, allocations: 303.9 kB / 7.052 GB, free: 53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/21.18, allocations: 119.6 kB / 7.052 GB, free: 52.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0154/21.2, allocations: 10.08 MB / 7.062 GB, free: 42.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/21.2, allocations: 41.75 kB / 7.062 GB, free: 42.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.296e-06/21.2, allocations: 0 / 7.062 GB, free: 42.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.003013/21.2, allocations: 0.5226 MB / 7.062 GB, free: 42.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/21.2, allocations: 81.2 kB / 7.062 GB, free: 42.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/21.2, allocations: 115.2 kB / 7.062 GB, free: 42.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/21.2, allocations: 33.08 kB / 7.062 GB, free: 42.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/21.2, allocations: 106.7 kB / 7.063 GB, free: 42.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/21.2, allocations: 129.3 kB / 7.063 GB, free: 42.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/21.2, allocations: 5.5 kB / 7.063 GB, free: 42.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.507e-05/21.2, allocations: 329.6 kB / 7.063 GB, free: 42.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003031/21.2, allocations: 107.6 kB / 7.063 GB, free: 42.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004196/21.2, allocations: 185.2 kB / 7.063 GB, free: 41.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004116/21.2, allocations: 132.6 kB / 7.063 GB, free: 41.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/21.2, allocations: 3.906 kB / 7.063 GB, free: 41.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001119/21.2, allocations: 357.4 kB / 7.064 GB, free: 41.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/21.2, allocations: 7.094 kB / 7.064 GB, free: 41.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/21.2, allocations: 0 / 7.064 GB, free: 41.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/21.2, allocations: 7.594 kB / 7.064 GB, free: 41.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008549/21.2, allocations: 100.9 kB / 7.064 GB, free: 41.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/21.2, allocations: 7.594 kB / 7.064 GB, free: 41.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005387/21.2, allocations: 34.08 kB / 7.064 GB, free: 41.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.752e-05/21.2, allocations: 18.34 kB / 7.064 GB, free: 41.85 MB / 362.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.000126/21.2, allocations: 121.5 kB / 7.064 GB, free: 41.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/21.2, allocations: 15.5 kB / 7.064 GB, free: 41.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006699/21.2, allocations: 191.4 kB / 7.064 GB, free: 41.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/21.2, allocations: 3.719 kB / 7.064 GB, free: 41.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/21.2, allocations: 3.953 kB / 7.064 GB, free: 41.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/21.2, allocations: 3.281 kB / 7.064 GB, free: 41.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/21.21, allocations: 0.9199 MB / 7.065 GB, free: 41.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/21.21, allocations: 0 / 7.065 GB, free: 41.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007838/21.21, allocations: 81.02 kB / 7.065 GB, free: 41.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/21.21, allocations: 7.75 kB / 7.065 GB, free: 41.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.277e-05/21.21, allocations: 13.75 kB / 7.065 GB, free: 41.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/21.21, allocations: 3.438 kB / 7.065 GB, free: 41.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/21.21, allocations: 0 / 7.065 GB, free: 41.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/21.21, allocations: 0.7268 MB / 7.066 GB, free: 40.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/21.21, allocations: 122.6 kB / 7.066 GB, free: 40.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.794e-05/21.21, allocations: 9.344 kB / 7.066 GB, free: 40.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005639/21.21, allocations: 22.06 kB / 7.066 GB, free: 40.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/21.21, allocations: 31.59 kB / 7.066 GB, free: 40.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.062e-05/21.21, allocations: 17.95 kB / 7.066 GB, free: 40.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.652e-05/21.21, allocations: 101.7 kB / 7.066 GB, free: 40.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/21.21, allocations: 3.188 kB / 7.066 GB, free: 40.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005415/21.22, allocations: 1.083 MB / 7.067 GB, free: 40.49 MB / 362.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.01152/21.23, allocations: 3.176 MB / 7.07 GB, free: 38.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001023/21.23, allocations: 305.9 kB / 7.071 GB, free: 38.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/21.23, allocations: 3 kB / 7.071 GB, free: 38.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004302/21.23, allocations: 154.1 kB / 7.071 GB, free: 38.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000982/21.23, allocations: 100.2 kB / 7.071 GB, free: 38.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00539/21.23, allocations: 0.9504 MB / 7.072 GB, free: 38.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/21.24, allocations: 0.7476 MB / 7.073 GB, free: 37.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007076/21.24, allocations: 83.42 kB / 7.073 GB, free: 37.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/21.24, allocations: 68.23 kB / 7.073 GB, free: 37.8 MB / 362.7 MB Notification: Performance of SimCode: time 9.21e-07/21.24, allocations: 0 / 7.073 GB, free: 37.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1329/21.37, allocations: 37.64 MB / 7.109 GB, free: 16.34 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/21.37, allocations: 186.6 kB / 7.11 GB, free: 16.12 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.625/25.99, allocations: 0 / 7.11 GB, free: 16.12 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat does not exist to compare? outputFormat=mat