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.298/2.298, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.896e-05/2.908e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3283, allocations: 44.49 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.06/2.388, allocations: 0.6353 GB / 0.9226 GB, free: 105 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/2.389, allocations: 73.91 kB / 0.9227 GB, free: 105 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7767/3.165, allocations: 148.9 MB / 1.068 GB, free: 99.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.387e-06/3.165, allocations: 0 / 1.068 GB, free: 99.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.998e-05/3.166, allocations: 11.44 kB / 1.068 GB, free: 99.85 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.001762/3.167, allocations: 0.662 MB / 1.069 GB, free: 99.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/3.167, allocations: 11.59 kB / 1.069 GB, free: 99.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009183/3.168, allocations: 73.69 kB / 1.069 GB, free: 99.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007739/3.169, allocations: 341.5 kB / 1.069 GB, free: 99.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/3.169, allocations: 14.66 kB / 1.069 GB, free: 99.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.807e-05/3.169, allocations: 22.16 kB / 1.069 GB, free: 99.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006639/3.17, allocations: 257.5 kB / 1.069 GB, free: 99.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000819/3.171, allocations: 391.5 kB / 1.07 GB, free: 99.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.374e-05/3.171, allocations: 9.25 kB / 1.07 GB, free: 99.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.587e-05/3.171, allocations: 3.844 kB / 1.07 GB, free: 99.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/3.171, allocations: 11.12 kB / 1.07 GB, free: 99.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01833/3.189, allocations: 6.253 MB / 1.076 GB, free: 95.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006018/3.19, allocations: 255.6 kB / 1.076 GB, free: 95.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/3.19, allocations: 139.8 kB / 1.076 GB, free: 95.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01463/3.205, allocations: 3.494 MB / 1.08 GB, free: 93.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.624e-05/3.205, allocations: 45.58 kB / 1.08 GB, free: 93.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 6.122e-06/3.205, allocations: 0 / 1.08 GB, free: 93.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.009059/3.214, allocations: 1.612 MB / 1.081 GB, free: 93.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/3.214, allocations: 54.69 kB / 1.081 GB, free: 93.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/3.215, allocations: 230.9 kB / 1.082 GB, free: 93.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.648e-05/3.215, allocations: 25.7 kB / 1.082 GB, free: 93.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/3.215, allocations: 229.8 kB / 1.082 GB, free: 92.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/3.215, allocations: 160.1 kB / 1.082 GB, free: 92.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/3.215, allocations: 0 / 1.082 GB, free: 92.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.531e-05/3.215, allocations: 343.9 kB / 1.082 GB, free: 92.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003232/3.215, allocations: 132.8 kB / 1.083 GB, free: 92.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003869/3.216, allocations: 255.3 kB / 1.083 GB, free: 92.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002012/3.218, allocations: 321.9 kB / 1.083 GB, free: 92.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/3.218, allocations: 0 / 1.083 GB, free: 92.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00313/3.221, allocations: 0.6757 MB / 1.084 GB, free: 92.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/3.221, allocations: 7.188 kB / 1.084 GB, free: 92.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/3.221, allocations: 3.938 kB / 1.084 GB, free: 92.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005737/3.222, allocations: 111 kB / 1.084 GB, free: 92.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007692/3.223, allocations: 112.8 kB / 1.084 GB, free: 92.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003294/3.226, allocations: 2.518 MB / 1.086 GB, free: 90.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006836/3.227, allocations: 29.5 kB / 1.086 GB, free: 90.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.416e-05/3.227, allocations: 22.56 kB / 1.086 GB, free: 90.06 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.0002043/3.227, allocations: 129.4 kB / 1.087 GB, free: 89.95 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0026/3.229, allocations: 0.5394 MB / 1.087 GB, free: 89.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/3.23, allocations: 39.67 kB / 1.087 GB, free: 89.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/3.232, allocations: 0.8039 MB / 1.088 GB, free: 89.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/3.232, allocations: 14.11 kB / 1.088 GB, free: 89.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/3.232, allocations: 0 / 1.088 GB, free: 89.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001827/3.234, allocations: 0.9146 MB / 1.089 GB, free: 89.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003325/3.237, allocations: 1.388 MB / 1.09 GB, free: 89.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/3.237, allocations: 0 / 1.09 GB, free: 89.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005909/3.238, allocations: 76.45 kB / 1.09 GB, free: 89.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000767/3.239, allocations: 181.9 kB / 1.09 GB, free: 89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/3.239, allocations: 14.89 kB / 1.09 GB, free: 89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/3.24, allocations: 1.344 MB / 1.092 GB, free: 87.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/3.24, allocations: 0 / 1.092 GB, free: 87.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002654/3.243, allocations: 1.183 MB / 1.093 GB, free: 87.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/3.243, allocations: 126.5 kB / 1.093 GB, free: 87.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/3.243, allocations: 3.719 kB / 1.093 GB, free: 87.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004915/3.244, allocations: 10.86 kB / 1.093 GB, free: 87.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.487e-05/3.244, allocations: 30.38 kB / 1.093 GB, free: 87.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.073e-05/3.244, allocations: 19.67 kB / 1.093 GB, free: 87.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002432/3.244, allocations: 176.8 kB / 1.093 GB, free: 87.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/3.244, allocations: 0.9375 kB / 1.093 GB, free: 87.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001458/3.246, allocations: 230.6 kB / 1.094 GB, free: 87.5 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 {2 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004666/3.251, allocations: 2.138 MB / 1.096 GB, free: 86.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001717/3.252, allocations: 0.6478 MB / 1.096 GB, free: 86.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/3.252, allocations: 0 / 1.096 GB, free: 86.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009351/3.253, allocations: 390.1 kB / 1.097 GB, free: 86.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00202/3.255, allocations: 193.8 kB / 1.097 GB, free: 86.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/3.259, allocations: 1.053 MB / 1.098 GB, free: 86.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/3.259, allocations: 0.8612 MB / 1.099 GB, free: 85.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000575/3.26, allocations: 66.56 kB / 1.099 GB, free: 85.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/3.26, allocations: 160 kB / 1.099 GB, free: 85.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/3.26, allocations: 0 / 1.099 GB, free: 85.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06869/3.329, allocations: 15.03 MB / 1.114 GB, free: 84.49 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/3.329, allocations: 126.5 kB / 1.114 GB, free: 84.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.328/6.657, allocations: 0 / 1.114 GB, free: 84.3 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