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.653/1.653, allocations: 171.2 MB / 183.8 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.799e-05/2.801e-05, allocations: 0 / 225.1 MB, free: 2.746 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2627, allocations: 38.77 MB / 263.8 MB, free: 9.887 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.746/2.009, allocations: 0.6308 GB / 0.8884 GB, free: 19.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/2.009, allocations: 72.81 kB / 0.8885 GB, free: 19.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.012/4.021, allocations: 473 MB / 1.35 GB, free: 83.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.953e-06/4.021, allocations: 0.5312 kB / 1.35 GB, free: 83.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.323e-05/4.021, allocations: 9.609 kB / 1.35 GB, free: 83.77 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.001942/4.023, allocations: 0.7101 MB / 1.351 GB, free: 83.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/4.023, allocations: 11.12 kB / 1.351 GB, free: 83.34 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.991e-05/4.023, allocations: 58.33 kB / 1.351 GB, free: 83.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000623/4.024, allocations: 61.12 kB / 1.351 GB, free: 83.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/4.024, allocations: 285.2 kB / 1.351 GB, free: 83.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/4.024, allocations: 18.81 kB / 1.351 GB, free: 83.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.137e-05/4.024, allocations: 26 kB / 1.352 GB, free: 83.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006808/4.025, allocations: 333.8 kB / 1.352 GB, free: 82.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/4.025, allocations: 0 / 1.352 GB, free: 82.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.386e-05/4.025, allocations: 13.09 kB / 1.352 GB, free: 82.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/4.025, allocations: 7.812 kB / 1.352 GB, free: 82.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00046/4.026, allocations: 211.2 kB / 1.352 GB, free: 82.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01672/4.042, allocations: 5.52 MB / 1.357 GB, free: 79.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000398/4.043, allocations: 177.7 kB / 1.358 GB, free: 79.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/4.043, allocations: 88.48 kB / 1.358 GB, free: 79.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01396/4.057, allocations: 3.484 MB / 1.361 GB, free: 78.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/4.057, allocations: 40.22 kB / 1.361 GB, free: 78.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.474e-06/4.057, allocations: 0 / 1.361 GB, free: 78.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.008184/4.065, allocations: 1.259 MB / 1.362 GB, free: 77.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/4.065, allocations: 58.84 kB / 1.362 GB, free: 77.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/4.066, allocations: 228.6 kB / 1.363 GB, free: 77.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/4.066, allocations: 33.23 kB / 1.363 GB, free: 77.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/4.066, allocations: 247 kB / 1.363 GB, free: 77.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.012e-05/4.066, allocations: 91.69 kB / 1.363 GB, free: 77.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/4.066, allocations: 7.688 kB / 1.363 GB, free: 77.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.59e-05/4.066, allocations: 325.1 kB / 1.363 GB, free: 77.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/4.066, allocations: 94.47 kB / 1.363 GB, free: 77.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/4.067, allocations: 184.4 kB / 1.364 GB, free: 76.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/4.067, allocations: 117 kB / 1.364 GB, free: 76.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/4.067, allocations: 3.906 kB / 1.364 GB, free: 76.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009656/4.068, allocations: 367.9 kB / 1.364 GB, free: 76.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/4.068, allocations: 3.906 kB / 1.364 GB, free: 76.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/4.068, allocations: 6.281 kB / 1.364 GB, free: 76.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007621/4.076, allocations: 460.4 kB / 1.364 GB, free: 76.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005123/4.076, allocations: 69.97 kB / 1.365 GB, free: 76.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/4.078, allocations: 1.884 MB / 1.366 GB, free: 75.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004746/4.078, allocations: 20.59 kB / 1.366 GB, free: 75.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/4.078, allocations: 15.66 kB / 1.366 GB, free: 75.13 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.000125/4.079, allocations: 124.5 kB / 1.367 GB, free: 75.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.781e-05/4.079, allocations: 38.77 kB / 1.367 GB, free: 75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/4.08, allocations: 486.6 kB / 1.367 GB, free: 74.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/4.08, allocations: 3.875 kB / 1.367 GB, free: 74.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/4.08, allocations: 2.812 kB / 1.367 GB, free: 74.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007339/4.08, allocations: 0.7137 MB / 1.368 GB, free: 74.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/4.082, allocations: 0.9416 MB / 1.369 GB, free: 74.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/4.082, allocations: 0 / 1.369 GB, free: 74.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/4.083, allocations: 48.55 kB / 1.369 GB, free: 74.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002549/4.085, allocations: 300.2 kB / 1.369 GB, free: 74.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/4.085, allocations: 7.844 kB / 1.369 GB, free: 74.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005494/4.086, allocations: 0.64 MB / 1.37 GB, free: 73.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/4.086, allocations: 4.438 kB / 1.37 GB, free: 73.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/4.087, allocations: 0.7217 MB / 1.37 GB, free: 73.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/4.087, allocations: 102.8 kB / 1.37 GB, free: 73.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.148e-05/4.087, allocations: 7.938 kB / 1.37 GB, free: 73.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/4.088, allocations: 18.5 kB / 1.37 GB, free: 73.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/4.088, allocations: 23.25 kB / 1.37 GB, free: 73.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/4.088, allocations: 11 kB / 1.371 GB, free: 73.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000242/4.088, allocations: 181 kB / 1.371 GB, free: 73.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/4.088, allocations: 0 / 1.371 GB, free: 73.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001204/4.089, allocations: 215.7 kB / 1.371 GB, free: 73.19 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0033/4.093, allocations: 1.716 MB / 1.373 GB, free: 72.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001152/4.094, allocations: 441.3 kB / 1.373 GB, free: 72.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/4.094, allocations: 6.281 kB / 1.373 GB, free: 72.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008824/4.095, allocations: 225 kB / 1.373 GB, free: 72.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/4.096, allocations: 163.5 kB / 1.373 GB, free: 72.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/4.098, allocations: 0.7292 MB / 1.374 GB, free: 71.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/4.099, allocations: 0.7918 MB / 1.375 GB, free: 71.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/4.099, allocations: 105.9 kB / 1.375 GB, free: 71.27 MB / 362.7 MB Notification: Performance of SimCode: time 1.743e-06/4.099, allocations: 0 / 1.375 GB, free: 71.27 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.96/7.06, allocations: 10.68 MB / 1.385 GB, free: 70.59 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