Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.982/1.982, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.198e-05/3.207e-05, allocations: 0 / 255.4 MB, free: 3.113 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09751/0.09757, allocations: 44.5 MB / 300 MB, free: 6.543 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.944/2.042, allocations: 0.636 GB / 0.9289 GB, free: 51.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/2.042, allocations: 76.64 kB / 0.929 GB, free: 51.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8602/2.902, allocations: 149.5 MB / 1.075 GB, free: 79.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/2.903, allocations: 4 kB / 1.075 GB, free: 79.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.188e-05/2.903, allocations: 8 kB / 1.075 GB, free: 79.07 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.001468/2.904, allocations: 0.6665 MB / 1.076 GB, free: 78.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/2.904, allocations: 8.031 kB / 1.076 GB, free: 78.35 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/2.904, allocations: 78.52 kB / 1.076 GB, free: 78.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007801/2.905, allocations: 75.5 kB / 1.076 GB, free: 78.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005911/2.906, allocations: 333.8 kB / 1.076 GB, free: 77.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/2.906, allocations: 32.78 kB / 1.076 GB, free: 77.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.692e-05/2.906, allocations: 36 kB / 1.076 GB, free: 77.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008932/2.907, allocations: 450.7 kB / 1.077 GB, free: 77.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/2.907, allocations: 0 / 1.077 GB, free: 77.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.867e-05/2.907, allocations: 20 kB / 1.077 GB, free: 77.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/2.907, allocations: 12 kB / 1.077 GB, free: 77.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006472/2.907, allocations: 285.4 kB / 1.077 GB, free: 76.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01751/2.925, allocations: 6.339 MB / 1.083 GB, free: 70.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006006/2.926, allocations: 274.7 kB / 1.083 GB, free: 69.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/2.926, allocations: 144.9 kB / 1.083 GB, free: 69.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01446/2.94, allocations: 3.501 MB / 1.087 GB, free: 65.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.193e-05/2.941, allocations: 34.56 kB / 1.087 GB, free: 65.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.887e-06/2.941, allocations: 0 / 1.087 GB, free: 65.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.0165/2.957, allocations: 2.27 MB / 1.089 GB, free: 63.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/2.957, allocations: 55.41 kB / 1.089 GB, free: 63.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000392/2.958, allocations: 267.3 kB / 1.089 GB, free: 63.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.75e-05/2.958, allocations: 29.7 kB / 1.089 GB, free: 63.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/2.958, allocations: 282.5 kB / 1.09 GB, free: 62.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/2.958, allocations: 157.2 kB / 1.09 GB, free: 62.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/2.958, allocations: 12 kB / 1.09 GB, free: 62.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.239e-05/2.958, allocations: 330.8 kB / 1.09 GB, free: 62.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/2.958, allocations: 145.1 kB / 1.09 GB, free: 62.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000417/2.959, allocations: 271.1 kB / 1.091 GB, free: 61.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004419/2.959, allocations: 189.6 kB / 1.091 GB, free: 61.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/2.959, allocations: 0 / 1.091 GB, free: 61.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00152/2.961, allocations: 0.5489 MB / 1.091 GB, free: 61.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/2.961, allocations: 13.83 kB / 1.091 GB, free: 61.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/2.961, allocations: 4.469 kB / 1.091 GB, free: 61.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01512/2.976, allocations: 0.8727 MB / 1.092 GB, free: 60.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008248/2.977, allocations: 111.8 kB / 1.092 GB, free: 60.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/2.979, allocations: 2.459 MB / 1.095 GB, free: 57.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006868/2.98, allocations: 40.08 kB / 1.095 GB, free: 57.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/2.98, allocations: 24 kB / 1.095 GB, free: 57.43 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.0001733/2.98, allocations: 132.9 kB / 1.095 GB, free: 57.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/2.98, allocations: 39.62 kB / 1.095 GB, free: 57.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001682/2.982, allocations: 0.8433 MB / 1.096 GB, free: 56.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/2.982, allocations: 8 kB / 1.096 GB, free: 56.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/2.982, allocations: 11.94 kB / 1.096 GB, free: 56.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001224/2.983, allocations: 0.9494 MB / 1.097 GB, free: 55.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002729/2.986, allocations: 1.478 MB / 1.098 GB, free: 53.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/2.986, allocations: 4.031 kB / 1.098 GB, free: 53.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005971/2.987, allocations: 75.89 kB / 1.098 GB, free: 53.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005173/2.992, allocations: 0.5788 MB / 1.099 GB, free: 53.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.704e-05/2.992, allocations: 16 kB / 1.099 GB, free: 53.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/2.993, allocations: 1.277 MB / 1.1 GB, free: 51.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/2.993, allocations: 4.125 kB / 1.1 GB, free: 51.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/2.995, allocations: 1.221 MB / 1.101 GB, free: 50.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/2.995, allocations: 120.6 kB / 1.101 GB, free: 50.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.486e-05/2.995, allocations: 8 kB / 1.101 GB, free: 50.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000515/2.996, allocations: 27.89 kB / 1.101 GB, free: 50.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-05/2.996, allocations: 27.97 kB / 1.101 GB, free: 50.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.922e-05/2.996, allocations: 19.98 kB / 1.101 GB, free: 50.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002957/2.996, allocations: 203.1 kB / 1.102 GB, free: 50.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/2.996, allocations: 3.938 kB / 1.102 GB, free: 50.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001361/2.998, allocations: 251.8 kB / 1.102 GB, free: 49.89 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.003994/3.002, allocations: 2.173 MB / 1.104 GB, free: 47.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001709/3.004, allocations: 0.6571 MB / 1.105 GB, free: 47.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/3.004, allocations: 0.9375 kB / 1.105 GB, free: 47.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001618/3.005, allocations: 436.2 kB / 1.105 GB, free: 46.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/3.008, allocations: 237 kB / 1.105 GB, free: 46.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/3.011, allocations: 1.144 MB / 1.106 GB, free: 45.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/3.011, allocations: 0.8402 MB / 1.107 GB, free: 44.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/3.011, allocations: 163.4 kB / 1.107 GB, free: 44.17 MB / 410.7 MB Notification: Performance of SimCode: time 2.635e-06/3.011, allocations: 0 / 1.107 GB, free: 44.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.015/6.026, allocations: 15.25 MB / 1.122 GB, free: 28.91 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat does not exist to compare? outputFormat=mat