Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.13/2.13, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.849e-05/3.87e-05, allocations: 4 kB / 255.5 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1026, allocations: 44.5 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.246/2.349, allocations: 0.636 GB / 0.9289 GB, free: 52.51 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004468/2.349, allocations: 75.58 kB / 0.929 GB, free: 52.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8015/3.151, allocations: 149.5 MB / 1.075 GB, free: 79.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/3.151, allocations: 0 / 1.075 GB, free: 79.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.062e-05/3.151, allocations: 10.66 kB / 1.075 GB, free: 79.96 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001508/3.152, allocations: 0.6704 MB / 1.076 GB, free: 79.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/3.152, allocations: 8.031 kB / 1.076 GB, free: 79.24 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/3.152, allocations: 82.52 kB / 1.076 GB, free: 79.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007988/3.153, allocations: 71.5 kB / 1.076 GB, free: 79.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006018/3.154, allocations: 333.3 kB / 1.076 GB, free: 78.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/3.154, allocations: 28.78 kB / 1.076 GB, free: 78.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.713e-05/3.154, allocations: 40 kB / 1.076 GB, free: 78.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009132/3.155, allocations: 456.3 kB / 1.077 GB, free: 78.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/3.155, allocations: 0 / 1.077 GB, free: 78.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-05/3.155, allocations: 20 kB / 1.077 GB, free: 78.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/3.155, allocations: 12 kB / 1.077 GB, free: 78.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006549/3.156, allocations: 291.1 kB / 1.077 GB, free: 77.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01746/3.173, allocations: 6.352 MB / 1.083 GB, free: 70.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006531/3.174, allocations: 278.8 kB / 1.083 GB, free: 70.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/3.174, allocations: 140.8 kB / 1.084 GB, free: 70.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01442/3.189, allocations: 3.492 MB / 1.087 GB, free: 66.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/3.189, allocations: 46.41 kB / 1.087 GB, free: 66.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 4.288e-06/3.189, allocations: 0 / 1.087 GB, free: 66.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.01622/3.205, allocations: 2.266 MB / 1.089 GB, free: 64.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/3.205, allocations: 55.41 kB / 1.089 GB, free: 64.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004155/3.205, allocations: 267.3 kB / 1.089 GB, free: 64.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.633e-05/3.206, allocations: 33.7 kB / 1.09 GB, free: 64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/3.206, allocations: 224 kB / 1.09 GB, free: 63.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/3.206, allocations: 160.2 kB / 1.09 GB, free: 63.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/3.206, allocations: 12 kB / 1.09 GB, free: 63.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.277e-05/3.206, allocations: 346.8 kB / 1.09 GB, free: 63.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003654/3.206, allocations: 145.1 kB / 1.09 GB, free: 63.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004304/3.207, allocations: 272.2 kB / 1.091 GB, free: 62.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004656/3.207, allocations: 185.6 kB / 1.091 GB, free: 62.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/3.207, allocations: 4 kB / 1.091 GB, free: 62.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001626/3.209, allocations: 0.5837 MB / 1.091 GB, free: 62.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/3.209, allocations: 4.469 kB / 1.091 GB, free: 62.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/3.209, allocations: 7.938 kB / 1.091 GB, free: 62.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01518/3.224, allocations: 0.8805 MB / 1.092 GB, free: 61.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000831/3.225, allocations: 107.8 kB / 1.092 GB, free: 61.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/3.227, allocations: 2.455 MB / 1.095 GB, free: 58.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006892/3.228, allocations: 39.95 kB / 1.095 GB, free: 58.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-05/3.228, allocations: 20 kB / 1.095 GB, free: 58.32 MB / 410.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.0001737/3.228, allocations: 140.8 kB / 1.095 GB, free: 58.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/3.228, allocations: 39.58 kB / 1.095 GB, free: 58.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/3.23, allocations: 0.8511 MB / 1.096 GB, free: 57.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/3.23, allocations: 11.98 kB / 1.096 GB, free: 57.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/3.23, allocations: 0 / 1.096 GB, free: 57.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001247/3.231, allocations: 0.9534 MB / 1.097 GB, free: 56.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002757/3.234, allocations: 1.489 MB / 1.098 GB, free: 54.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/3.234, allocations: 0 / 1.098 GB, free: 54.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005854/3.235, allocations: 79.89 kB / 1.098 GB, free: 54.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005062/3.24, allocations: 0.5751 MB / 1.099 GB, free: 54.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/3.24, allocations: 23.98 kB / 1.099 GB, free: 54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/3.241, allocations: 1.274 MB / 1.1 GB, free: 52.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/3.241, allocations: 4.062 kB / 1.1 GB, free: 52.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002113/3.243, allocations: 1.213 MB / 1.101 GB, free: 51.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/3.244, allocations: 120.6 kB / 1.101 GB, free: 51.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.486e-05/3.244, allocations: 8 kB / 1.101 GB, free: 51.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005086/3.244, allocations: 31.89 kB / 1.101 GB, free: 51.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/3.244, allocations: 23.97 kB / 1.101 GB, free: 51.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.155e-05/3.244, allocations: 19.98 kB / 1.101 GB, free: 51.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003151/3.245, allocations: 211.1 kB / 1.102 GB, free: 50.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/3.245, allocations: 0 / 1.102 GB, free: 50.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001319/3.246, allocations: 251.8 kB / 1.102 GB, free: 50.75 MB / 410.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.004165/3.25, allocations: 2.162 MB / 1.104 GB, free: 48.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00177/3.252, allocations: 0.676 MB / 1.105 GB, free: 47.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/3.252, allocations: 8.188 kB / 1.105 GB, free: 47.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001677/3.254, allocations: 436.2 kB / 1.105 GB, free: 47.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/3.256, allocations: 233 kB / 1.105 GB, free: 47.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003168/3.259, allocations: 1.111 MB / 1.106 GB, free: 46.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/3.26, allocations: 0.8402 MB / 1.107 GB, free: 45.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005354/3.26, allocations: 76.27 kB / 1.107 GB, free: 45.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/3.261, allocations: 159.4 kB / 1.107 GB, free: 44.98 MB / 410.7 MB Notification: Performance of SimCode: time 2.224e-06/3.261, allocations: 4 kB / 1.107 GB, free: 44.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06402/3.325, allocations: 17.78 MB / 1.125 GB, free: 27.26 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002694/3.325, allocations: 177 kB / 1.125 GB, free: 27.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.519/6.844, allocations: 7.938 kB / 1.125 GB, free: 27.02 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat does not exist to compare? outputFormat=mat