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.723/1.723, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.958e-05/2.976e-05, allocations: 4 kB / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2681, allocations: 38.76 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.829/2.097, allocations: 0.63 GB / 0.8823 GB, free: 41.59 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/2.097, allocations: 71.47 kB / 0.8824 GB, free: 41.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6994/2.797, allocations: 148.9 MB / 1.028 GB, free: 50.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/2.797, allocations: 4 kB / 1.028 GB, free: 50.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.906e-05/2.797, allocations: 8 kB / 1.028 GB, free: 50.95 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.001381/2.798, allocations: 0.6592 MB / 1.028 GB, free: 50.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/2.798, allocations: 8.031 kB / 1.028 GB, free: 50.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007289/2.799, allocations: 75.41 kB / 1.029 GB, free: 50.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005492/2.8, allocations: 330.2 kB / 1.029 GB, free: 49.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/2.8, allocations: 12 kB / 1.029 GB, free: 49.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.887e-05/2.8, allocations: 24 kB / 1.029 GB, free: 49.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006148/2.8, allocations: 265.4 kB / 1.029 GB, free: 49.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007391/2.801, allocations: 398.8 kB / 1.03 GB, free: 49.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/2.801, allocations: 11.91 kB / 1.03 GB, free: 49.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.302e-05/2.801, allocations: 224 / 1.03 GB, free: 49.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/2.801, allocations: 12 kB / 1.03 GB, free: 49.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0167/2.818, allocations: 6.26 MB / 1.036 GB, free: 42.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005566/2.819, allocations: 250.9 kB / 1.036 GB, free: 41.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/2.819, allocations: 143.9 kB / 1.036 GB, free: 41.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01356/2.832, allocations: 3.491 MB / 1.039 GB, free: 38.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/2.833, allocations: 42.56 kB / 1.04 GB, free: 38.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 3.557e-06/2.833, allocations: 0 / 1.04 GB, free: 38.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.008415/2.841, allocations: 1.605 MB / 1.041 GB, free: 36.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/2.841, allocations: 59.41 kB / 1.041 GB, free: 36.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/2.841, allocations: 230.3 kB / 1.041 GB, free: 36.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.333e-05/2.841, allocations: 25.7 kB / 1.041 GB, free: 36.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/2.842, allocations: 227.8 kB / 1.042 GB, free: 35.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/2.842, allocations: 157.7 kB / 1.042 GB, free: 35.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/2.842, allocations: 0 / 1.042 GB, free: 35.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.304e-05/2.842, allocations: 346.8 kB / 1.042 GB, free: 35.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/2.842, allocations: 133.1 kB / 1.042 GB, free: 35.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/2.843, allocations: 262.8 kB / 1.042 GB, free: 34.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001874/2.844, allocations: 328.6 kB / 1.043 GB, free: 34.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/2.844, allocations: 0 / 1.043 GB, free: 34.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002828/2.847, allocations: 0.6621 MB / 1.043 GB, free: 33.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/2.847, allocations: 4 kB / 1.043 GB, free: 33.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/2.847, allocations: 7.938 kB / 1.043 GB, free: 33.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005453/2.848, allocations: 119 kB / 1.044 GB, free: 33.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007078/2.849, allocations: 111.8 kB / 1.044 GB, free: 33.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002916/2.852, allocations: 2.517 MB / 1.046 GB, free: 30.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005938/2.852, allocations: 36.05 kB / 1.046 GB, free: 30.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.942e-05/2.852, allocations: 24 kB / 1.046 GB, free: 30.88 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.0001594/2.852, allocations: 120.8 kB / 1.046 GB, free: 30.75 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002356/2.855, allocations: 0.5421 MB / 1.047 GB, free: 30.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.974e-05/2.855, allocations: 39.53 kB / 1.047 GB, free: 30.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002822/2.858, allocations: 0.8045 MB / 1.048 GB, free: 29.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.871e-05/2.858, allocations: 15.98 kB / 1.048 GB, free: 29.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/2.858, allocations: 0 / 1.048 GB, free: 29.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003051/2.861, allocations: 0.9183 MB / 1.049 GB, free: 28.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005267/2.866, allocations: 1.39 MB / 1.05 GB, free: 26.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/2.866, allocations: 0 / 1.05 GB, free: 26.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008555/2.867, allocations: 75.91 kB / 1.05 GB, free: 26.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009559/2.868, allocations: 189.5 kB / 1.05 GB, free: 26.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.503e-05/2.868, allocations: 8 kB / 1.05 GB, free: 26.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001335/2.87, allocations: 1.351 MB / 1.051 GB, free: 25.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/2.87, allocations: 0 / 1.051 GB, free: 25.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002383/2.872, allocations: 1.171 MB / 1.053 GB, free: 24.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/2.872, allocations: 120.6 kB / 1.053 GB, free: 23.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/2.872, allocations: 0 / 1.053 GB, free: 23.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004663/2.873, allocations: 19.89 kB / 1.053 GB, free: 23.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.334e-05/2.873, allocations: 31.89 kB / 1.053 GB, free: 23.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.977e-05/2.873, allocations: 20 kB / 1.053 GB, free: 23.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002226/2.873, allocations: 174 kB / 1.053 GB, free: 23.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/2.873, allocations: 0 / 1.053 GB, free: 23.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001321/2.875, allocations: 231.9 kB / 1.053 GB, free: 23.41 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 {2 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004289/2.879, allocations: 2.139 MB / 1.055 GB, free: 21.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001541/2.881, allocations: 0.6382 MB / 1.056 GB, free: 20.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/2.881, allocations: 0 / 1.056 GB, free: 20.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008582/2.881, allocations: 393.3 kB / 1.056 GB, free: 20.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/2.883, allocations: 178.8 kB / 1.056 GB, free: 20.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/2.886, allocations: 1.069 MB / 1.057 GB, free: 18.94 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/2.887, allocations: 0.8516 MB / 1.058 GB, free: 18.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004752/2.887, allocations: 67.36 kB / 1.058 GB, free: 17.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/2.887, allocations: 155.4 kB / 1.059 GB, free: 17.84 MB / 362.7 MB Notification: Performance of SimCode: time 2.525e-06/2.887, allocations: 0 / 1.059 GB, free: 17.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07361/2.961, allocations: 15.03 MB / 1.073 GB, free: 2.809 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/2.961, allocations: 134.1 kB / 1.073 GB, free: 2.613 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.337/6.299, allocations: 4.031 kB / 1.073 GB, free: 2.609 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