Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.918/1.918, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.436e-05/2.447e-05, allocations: 8 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2934, allocations: 44.49 MB / 294.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.885/2.178, allocations: 0.6354 GB / 0.9227 GB, free: 105.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/2.179, allocations: 74.75 kB / 0.9228 GB, free: 105.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.614/3.792, allocations: 461.2 MB / 1.373 GB, free: 14.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.835e-06/3.792, allocations: 3.984 kB / 1.373 GB, free: 14.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.391e-05/3.792, allocations: 8 kB / 1.373 GB, free: 14.88 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001538/3.794, allocations: 0.713 MB / 1.374 GB, free: 14.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/3.794, allocations: 16.03 kB / 1.374 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000576/3.795, allocations: 51.61 kB / 1.374 GB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/3.795, allocations: 278.4 kB / 1.374 GB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/3.795, allocations: 8 kB / 1.374 GB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/3.795, allocations: 19.91 kB / 1.374 GB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004316/3.796, allocations: 181.1 kB / 1.374 GB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005268/3.796, allocations: 288.7 kB / 1.375 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/3.796, allocations: 4 kB / 1.375 GB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.164e-05/3.796, allocations: 0 / 1.375 GB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/3.796, allocations: 8 kB / 1.375 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01555/3.812, allocations: 5.466 MB / 1.38 GB, free: 7.285 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/3.812, allocations: 159.1 kB / 1.38 GB, free: 7.121 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/3.812, allocations: 81.02 kB / 1.38 GB, free: 7.043 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01315/3.826, allocations: 3.502 MB / 1.384 GB, free: 3.258 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/3.826, allocations: 34.75 kB / 1.384 GB, free: 3.215 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.006e-06/3.826, allocations: 0 / 1.384 GB, free: 3.215 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.004713/3.83, allocations: 0.9744 MB / 1.385 GB, free: 2.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/3.83, allocations: 59.36 kB / 1.385 GB, free: 2.109 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/3.831, allocations: 195.1 kB / 1.385 GB, free: 1.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/3.831, allocations: 25.7 kB / 1.385 GB, free: 1.879 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.913e-05/3.831, allocations: 254.6 kB / 1.385 GB, free: 1.629 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.749e-05/3.831, allocations: 86.66 kB / 1.385 GB, free: 1.543 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.963e-05/3.831, allocations: 8 kB / 1.385 GB, free: 1.535 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.544e-05/3.831, allocations: 318.8 kB / 1.386 GB, free: 1.215 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/3.831, allocations: 87.78 kB / 1.386 GB, free: 1.129 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/3.831, allocations: 178.9 kB / 1.386 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/3.833, allocations: 187.9 kB / 1.386 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/3.833, allocations: 0 / 1.386 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001688/3.834, allocations: 422.8 kB / 1.386 GB, free: 312 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/3.834, allocations: 8.375 kB / 1.386 GB, free: 304 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/3.834, allocations: 4 kB / 1.386 GB, free: 300 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003479/3.835, allocations: 73.58 kB / 1.386 GB, free: 220 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004431/3.835, allocations: 67.91 kB / 1.387 GB, free: 152 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2697/4.105, allocations: 1.87 MB / 1.388 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004277/4.105, allocations: 14.67 kB / 1.388 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.982e-05/4.105, allocations: 18.62 kB / 1.388 GB, free: 104.7 MB / 410.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.00013/4.106, allocations: 119 kB / 1.388 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001622/4.107, allocations: 340.3 kB / 1.389 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.445e-05/4.107, allocations: 22.38 kB / 1.389 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/4.109, allocations: 477 kB / 1.389 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/4.109, allocations: 4.469 kB / 1.389 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/4.109, allocations: 0 / 1.389 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001122/4.11, allocations: 0.6906 MB / 1.39 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/4.112, allocations: 0.8878 MB / 1.391 GB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/4.112, allocations: 0 / 1.391 GB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003526/4.112, allocations: 45.58 kB / 1.391 GB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004135/4.113, allocations: 94.95 kB / 1.391 GB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/4.113, allocations: 3.875 kB / 1.391 GB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007061/4.114, allocations: 0.6797 MB / 1.392 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/4.114, allocations: 2.359 kB / 1.392 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/4.115, allocations: 0.7027 MB / 1.392 GB, free: 103 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/4.115, allocations: 108.1 kB / 1.392 GB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.336e-05/4.115, allocations: 4.938 kB / 1.392 GB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/4.116, allocations: 9.625 kB / 1.392 GB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/4.116, allocations: 12.7 kB / 1.392 GB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/4.116, allocations: 16.02 kB / 1.392 GB, free: 102.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001828/4.116, allocations: 153.8 kB / 1.393 GB, free: 102.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/4.116, allocations: 0 / 1.393 GB, free: 102.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001257/4.117, allocations: 195.8 kB / 1.393 GB, free: 102.8 MB / 410.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.003511/4.121, allocations: 1.702 MB / 1.394 GB, free: 102 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001064/4.122, allocations: 417.4 kB / 1.395 GB, free: 101.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/4.122, allocations: 1.125 kB / 1.395 GB, free: 101.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005124/4.122, allocations: 208.9 kB / 1.395 GB, free: 101.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/4.124, allocations: 129.5 kB / 1.395 GB, free: 101.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/4.126, allocations: 0.6955 MB / 1.396 GB, free: 101.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/4.126, allocations: 0.7806 MB / 1.397 GB, free: 101 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/4.126, allocations: 106.4 kB / 1.397 GB, free: 100.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/4.126, allocations: 5.266 kB / 1.397 GB, free: 100.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.729/6.855, allocations: 10.36 MB / 1.407 GB, free: 100.6 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat