Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.668/1.668, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.866e-05/3.877e-05, allocations: 7.984 kB / 225.1 MB, free: 2.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2618, allocations: 38.76 MB / 263.8 MB, free: 9.777 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.718/1.98, allocations: 0.6307 GB / 0.8883 GB, free: 18.54 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/1.98, allocations: 75.08 kB / 0.8884 GB, free: 18.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7236/2.704, allocations: 149.5 MB / 1.034 GB, free: 25.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.893e-06/2.704, allocations: 0 / 1.034 GB, free: 25.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.023e-05/2.704, allocations: 16 kB / 1.034 GB, free: 25.44 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.001375/2.705, allocations: 0.6553 MB / 1.035 GB, free: 24.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/2.705, allocations: 12.03 kB / 1.035 GB, free: 24.73 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/2.705, allocations: 78.53 kB / 1.035 GB, free: 24.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000776/2.706, allocations: 75.41 kB / 1.035 GB, free: 24.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005773/2.707, allocations: 330.3 kB / 1.036 GB, free: 24.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/2.707, allocations: 28.78 kB / 1.036 GB, free: 24.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.696e-05/2.707, allocations: 40 kB / 1.036 GB, free: 24.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008897/2.708, allocations: 460.2 kB / 1.036 GB, free: 23.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/2.708, allocations: 3.906 kB / 1.036 GB, free: 23.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.475e-05/2.708, allocations: 20 kB / 1.036 GB, free: 23.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/2.708, allocations: 8 kB / 1.036 GB, free: 23.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006489/2.708, allocations: 298.9 kB / 1.036 GB, free: 23.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01737/2.726, allocations: 6.344 MB / 1.043 GB, free: 16.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006221/2.727, allocations: 266.9 kB / 1.043 GB, free: 16.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/2.727, allocations: 146.4 kB / 1.043 GB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01411/2.741, allocations: 3.503 MB / 1.046 GB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/2.741, allocations: 35.38 kB / 1.046 GB, free: 12.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 4.448e-06/2.741, allocations: 4 kB / 1.046 GB, free: 12.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.01594/2.757, allocations: 2.269 MB / 1.049 GB, free: 9.789 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/2.757, allocations: 55.41 kB / 1.049 GB, free: 9.723 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004166/2.758, allocations: 271.3 kB / 1.049 GB, free: 9.453 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001213/2.758, allocations: 33.7 kB / 1.049 GB, free: 9.414 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/2.758, allocations: 274.5 kB / 1.049 GB, free: 9.145 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/2.758, allocations: 157.7 kB / 1.049 GB, free: 8.988 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/2.758, allocations: 12 kB / 1.049 GB, free: 8.977 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.965e-05/2.758, allocations: 334.8 kB / 1.05 GB, free: 8.641 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/2.759, allocations: 141.1 kB / 1.05 GB, free: 8.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000439/2.759, allocations: 271.7 kB / 1.05 GB, free: 8.191 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/2.759, allocations: 193.6 kB / 1.05 GB, free: 8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/2.759, allocations: 0 / 1.05 GB, free: 8 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001591/2.761, allocations: 0.5607 MB / 1.051 GB, free: 7.422 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/2.761, allocations: 8 kB / 1.051 GB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/2.761, allocations: 3.953 kB / 1.051 GB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.015/2.776, allocations: 0.873 MB / 1.052 GB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000793/2.777, allocations: 107.9 kB / 1.052 GB, free: 6.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/2.779, allocations: 2.463 MB / 1.054 GB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006622/2.78, allocations: 39.95 kB / 1.054 GB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/2.78, allocations: 20 kB / 1.054 GB, free: 3.715 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.0001613/2.78, allocations: 132.9 kB / 1.054 GB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/2.78, allocations: 39.53 kB / 1.054 GB, free: 3.539 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/2.782, allocations: 0.855 MB / 1.055 GB, free: 2.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/2.782, allocations: 7.953 kB / 1.055 GB, free: 2.652 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/2.782, allocations: 0 / 1.055 GB, free: 2.652 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001202/2.783, allocations: 0.9572 MB / 1.056 GB, free: 1.621 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/2.786, allocations: 1.485 MB / 1.058 GB, free: 76 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/2.786, allocations: 0 / 1.058 GB, free: 76 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2408/3.027, allocations: 76.48 kB / 1.058 GB, free: 75.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005511/3.032, allocations: 0.5772 MB / 1.058 GB, free: 75.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/3.032, allocations: 11.41 kB / 1.058 GB, free: 75.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/3.034, allocations: 1.283 MB / 1.06 GB, free: 74.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/3.034, allocations: 3.375 kB / 1.06 GB, free: 74.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/3.036, allocations: 1.22 MB / 1.061 GB, free: 74.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/3.036, allocations: 124 kB / 1.061 GB, free: 74.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.665e-05/3.036, allocations: 7.594 kB / 1.061 GB, free: 74.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005174/3.037, allocations: 23.97 kB / 1.061 GB, free: 74.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/3.037, allocations: 27.19 kB / 1.061 GB, free: 74.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.078e-05/3.037, allocations: 22.48 kB / 1.061 GB, free: 74.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002968/3.037, allocations: 207.5 kB / 1.061 GB, free: 74.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.7e-07/3.037, allocations: 0 / 1.061 GB, free: 74.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001233/3.039, allocations: 243.2 kB / 1.061 GB, free: 74.52 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 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004049/3.043, allocations: 2.182 MB / 1.063 GB, free: 73.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001814/3.045, allocations: 0.6677 MB / 1.064 GB, free: 73.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/3.045, allocations: 1.688 kB / 1.064 GB, free: 73.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001637/3.046, allocations: 442 kB / 1.065 GB, free: 73.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/3.048, allocations: 226.6 kB / 1.065 GB, free: 73.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/3.052, allocations: 1.144 MB / 1.066 GB, free: 73.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/3.052, allocations: 0.8478 MB / 1.067 GB, free: 72.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003255/3.052, allocations: 160.7 kB / 1.067 GB, free: 72.61 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/3.052, allocations: 0 / 1.067 GB, free: 72.61 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.22/6.272, allocations: 15.26 MB / 1.082 GB, free: 71.91 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat does not exist to compare? outputFormat=mat