Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.755/1.755, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.407e-05/4.448e-05, allocations: 8 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2835, allocations: 38.76 MB / 263.9 MB, free: 9.809 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.913/2.197, allocations: 0.6307 GB / 0.8884 GB, free: 19.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/2.197, allocations: 81.81 kB / 0.8884 GB, free: 19.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8868/3.084, allocations: 149.5 MB / 1.034 GB, free: 26.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.375e-06/3.084, allocations: 7.938 kB / 1.034 GB, free: 26.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.537e-05/3.084, allocations: 12 kB / 1.034 GB, free: 26.25 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001648/3.086, allocations: 0.6593 MB / 1.035 GB, free: 25.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/3.086, allocations: 8.031 kB / 1.035 GB, free: 25.54 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/3.086, allocations: 78.53 kB / 1.035 GB, free: 25.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008613/3.087, allocations: 79.41 kB / 1.035 GB, free: 25.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007775/3.088, allocations: 334.3 kB / 1.036 GB, free: 25.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/3.088, allocations: 28.78 kB / 1.036 GB, free: 24.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.204e-05/3.088, allocations: 36 kB / 1.036 GB, free: 24.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/3.089, allocations: 458.8 kB / 1.036 GB, free: 24.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.99e-05/3.089, allocations: 3.906 kB / 1.036 GB, free: 24.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.449e-05/3.089, allocations: 16 kB / 1.036 GB, free: 24.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/3.089, allocations: 12 kB / 1.036 GB, free: 24.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007137/3.09, allocations: 285.4 kB / 1.036 GB, free: 24.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01844/3.109, allocations: 6.359 MB / 1.043 GB, free: 17.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006373/3.109, allocations: 254.9 kB / 1.043 GB, free: 16.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/3.11, allocations: 144.9 kB / 1.043 GB, free: 16.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01479/3.124, allocations: 3.495 MB / 1.046 GB, free: 13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/3.124, allocations: 38.5 kB / 1.046 GB, free: 12.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 4.619e-06/3.124, allocations: 3.984 kB / 1.046 GB, free: 12.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.01608/3.141, allocations: 2.265 MB / 1.049 GB, free: 10.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/3.141, allocations: 59.34 kB / 1.049 GB, free: 10.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/3.141, allocations: 267.4 kB / 1.049 GB, free: 10.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.224e-05/3.141, allocations: 29.7 kB / 1.049 GB, free: 10.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/3.141, allocations: 228 kB / 1.049 GB, free: 10.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/3.141, allocations: 161.7 kB / 1.049 GB, free: 9.871 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/3.142, allocations: 12 kB / 1.049 GB, free: 9.859 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.84e-05/3.142, allocations: 350.8 kB / 1.05 GB, free: 9.508 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003678/3.142, allocations: 145.1 kB / 1.05 GB, free: 9.363 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000418/3.142, allocations: 262.7 kB / 1.05 GB, free: 9.062 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004564/3.143, allocations: 189.6 kB / 1.05 GB, free: 8.875 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/3.143, allocations: 0 / 1.05 GB, free: 8.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001531/3.144, allocations: 0.5683 MB / 1.051 GB, free: 8.289 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/3.145, allocations: 8.469 kB / 1.051 GB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/3.145, allocations: 8 kB / 1.051 GB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01506/3.16, allocations: 0.861 MB / 1.052 GB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008129/3.16, allocations: 111.8 kB / 1.052 GB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/3.163, allocations: 2.463 MB / 1.054 GB, free: 4.648 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006778/3.163, allocations: 31.92 kB / 1.054 GB, free: 4.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.256e-05/3.163, allocations: 23.98 kB / 1.054 GB, free: 4.594 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001741/3.164, allocations: 141.4 kB / 1.054 GB, free: 4.449 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/3.164, allocations: 39.53 kB / 1.054 GB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/3.166, allocations: 0.8472 MB / 1.055 GB, free: 3.543 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/3.166, allocations: 11.98 kB / 1.055 GB, free: 3.531 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/3.166, allocations: 0 / 1.055 GB, free: 3.531 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001329/3.167, allocations: 0.9495 MB / 1.056 GB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002977/3.17, allocations: 1.477 MB / 1.058 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/3.17, allocations: 7.984 kB / 1.058 GB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006049/3.171, allocations: 75.91 kB / 1.058 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005104/3.176, allocations: 0.579 MB / 1.058 GB, free: 304 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/3.176, allocations: 15.95 kB / 1.058 GB, free: 288 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2526/3.429, allocations: 1.275 MB / 1.06 GB, free: 75.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/3.429, allocations: 1.156 kB / 1.06 GB, free: 75.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003023/3.432, allocations: 1.213 MB / 1.061 GB, free: 74.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/3.432, allocations: 122.7 kB / 1.061 GB, free: 74.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/3.432, allocations: 11.17 kB / 1.061 GB, free: 74.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005482/3.433, allocations: 27.77 kB / 1.061 GB, free: 74.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.685e-05/3.433, allocations: 28.27 kB / 1.061 GB, free: 74.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.011e-05/3.433, allocations: 18.56 kB / 1.061 GB, free: 74.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003306/3.433, allocations: 206.4 kB / 1.061 GB, free: 74.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.91e-07/3.433, allocations: 0 / 1.061 GB, free: 74.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001442/3.435, allocations: 248.2 kB / 1.061 GB, free: 74.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004313/3.439, allocations: 2.186 MB / 1.063 GB, free: 73.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001793/3.441, allocations: 0.6584 MB / 1.064 GB, free: 73.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/3.441, allocations: 0 / 1.064 GB, free: 73.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001731/3.443, allocations: 437.2 kB / 1.065 GB, free: 73.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/3.445, allocations: 227.2 kB / 1.065 GB, free: 73.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/3.448, allocations: 1.112 MB / 1.066 GB, free: 73.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/3.449, allocations: 0.8479 MB / 1.067 GB, free: 72.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006479/3.45, allocations: 69.11 kB / 1.067 GB, free: 72.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/3.45, allocations: 158.7 kB / 1.067 GB, free: 72.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.472e-06/3.45, allocations: 1.875 kB / 1.067 GB, free: 72.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0735/3.523, allocations: 17.75 MB / 1.084 GB, free: 71.84 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002603/3.524, allocations: 169 kB / 1.084 GB, free: 71.62 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.698/7.222, allocations: 0 / 1.084 GB, free: 71.62 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat does not exist to compare? outputFormat=mat