Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.634/1.634, allocations: 171.2 MB / 178.8 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.609e-05/2.67e-05, allocations: 4 kB / 219.5 MB, free: 7.344 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2544, allocations: 38.77 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.714/1.968, allocations: 0.6301 GB / 0.8824 GB, free: 41.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/1.968, allocations: 75.83 kB / 0.8824 GB, free: 41.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.802/3.771, allocations: 461.2 MB / 1.333 GB, free: 43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.804e-06/3.771, allocations: 0 / 1.333 GB, free: 43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.513e-05/3.771, allocations: 8 kB / 1.333 GB, free: 43 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001596/3.772, allocations: 0.7024 MB / 1.334 GB, free: 42.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/3.772, allocations: 12.03 kB / 1.334 GB, free: 42.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005945/3.773, allocations: 51.61 kB / 1.334 GB, free: 42.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004305/3.773, allocations: 282.4 kB / 1.334 GB, free: 41.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/3.773, allocations: 8 kB / 1.334 GB, free: 41.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.466e-05/3.774, allocations: 20.55 kB / 1.334 GB, free: 41.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004236/3.774, allocations: 185 kB / 1.334 GB, free: 41.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/3.774, allocations: 285.4 kB / 1.334 GB, free: 41.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/3.775, allocations: 4 kB / 1.334 GB, free: 41.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.264e-05/3.775, allocations: 0 / 1.334 GB, free: 41.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/3.775, allocations: 13.36 kB / 1.334 GB, free: 41.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01541/3.79, allocations: 5.455 MB / 1.34 GB, free: 35.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/3.79, allocations: 159.1 kB / 1.34 GB, free: 35.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/3.791, allocations: 81.22 kB / 1.34 GB, free: 35.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01353/3.804, allocations: 3.49 MB / 1.343 GB, free: 31.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/3.804, allocations: 46.64 kB / 1.343 GB, free: 31.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.745e-06/3.804, allocations: 0 / 1.343 GB, free: 31.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.004831/3.809, allocations: 0.9851 MB / 1.344 GB, free: 30.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/3.809, allocations: 55.41 kB / 1.344 GB, free: 30.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/3.809, allocations: 191.1 kB / 1.345 GB, free: 30.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/3.809, allocations: 25.7 kB / 1.345 GB, free: 30.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.989e-05/3.81, allocations: 258.6 kB / 1.345 GB, free: 29.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.944e-05/3.81, allocations: 86.66 kB / 1.345 GB, free: 29.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/3.81, allocations: 4 kB / 1.345 GB, free: 29.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.687e-05/3.81, allocations: 318.8 kB / 1.345 GB, free: 29.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/3.81, allocations: 84 kB / 1.345 GB, free: 29.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/3.81, allocations: 171.1 kB / 1.345 GB, free: 29.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/3.811, allocations: 195.8 kB / 1.346 GB, free: 28.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/3.811, allocations: 3.938 kB / 1.346 GB, free: 28.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001797/3.813, allocations: 422.8 kB / 1.346 GB, free: 28.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/3.813, allocations: 8 kB / 1.346 GB, free: 28.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/3.813, allocations: 0 / 1.346 GB, free: 28.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003615/3.814, allocations: 66.06 kB / 1.346 GB, free: 28.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/3.814, allocations: 75.83 kB / 1.346 GB, free: 28.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/3.816, allocations: 1.881 MB / 1.348 GB, free: 26.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000434/3.817, allocations: 11.94 kB / 1.348 GB, free: 26.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/3.817, allocations: 19.98 kB / 1.348 GB, free: 26.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 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,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001291/3.817, allocations: 113 kB / 1.348 GB, free: 26.12 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001466/3.818, allocations: 334.8 kB / 1.348 GB, free: 25.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/3.818, allocations: 23.72 kB / 1.348 GB, free: 25.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/3.82, allocations: 469.1 kB / 1.349 GB, free: 25.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/3.82, allocations: 4 kB / 1.349 GB, free: 25.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/3.82, allocations: 0 / 1.349 GB, free: 25.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00113/3.821, allocations: 0.7014 MB / 1.35 GB, free: 24.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/3.823, allocations: 0.8755 MB / 1.35 GB, free: 23.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/3.823, allocations: 0 / 1.35 GB, free: 23.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003403/3.823, allocations: 51.94 kB / 1.351 GB, free: 23.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003956/3.824, allocations: 95.25 kB / 1.351 GB, free: 23.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/3.824, allocations: 4 kB / 1.351 GB, free: 23.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006855/3.824, allocations: 0.6803 MB / 1.351 GB, free: 22.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/3.824, allocations: 0 / 1.351 GB, free: 22.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/3.826, allocations: 0.7135 MB / 1.352 GB, free: 21.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/3.826, allocations: 108.9 kB / 1.352 GB, free: 21.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.299e-05/3.826, allocations: 0 / 1.352 GB, free: 21.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/3.827, allocations: 11.91 kB / 1.352 GB, free: 21.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/3.827, allocations: 19.97 kB / 1.352 GB, free: 21.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/3.827, allocations: 8 kB / 1.352 GB, free: 21.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001845/3.827, allocations: 149.9 kB / 1.352 GB, free: 21.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/3.827, allocations: 0 / 1.352 GB, free: 21.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001195/3.828, allocations: 199.8 kB / 1.352 GB, free: 21.47 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003576/3.832, allocations: 1.697 MB / 1.354 GB, free: 19.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001072/3.833, allocations: 421.9 kB / 1.355 GB, free: 19.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/3.833, allocations: 0 / 1.355 GB, free: 19.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004794/3.833, allocations: 207.8 kB / 1.355 GB, free: 19.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/3.835, allocations: 122.9 kB / 1.355 GB, free: 19.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/3.837, allocations: 0.6904 MB / 1.356 GB, free: 18.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/3.837, allocations: 0.7877 MB / 1.356 GB, free: 17.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/3.837, allocations: 103.4 kB / 1.356 GB, free: 17.39 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/3.837, allocations: 3.938 kB / 1.356 GB, free: 17.39 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.868/6.706, allocations: 10.36 MB / 1.367 GB, free: 7.043 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat