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.741/1.741, allocations: 171.2 MB / 183.8 MB, free: 11.94 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.622e-05/3.593e-05, allocations: 8 kB / 225.1 MB, free: 2.609 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2666, allocations: 38.77 MB / 263.9 MB, free: 9.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.787/2.054, allocations: 0.6307 GB / 0.8883 GB, free: 19.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/2.054, allocations: 74.58 kB / 0.8884 GB, free: 19.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.69/2.744, allocations: 149.5 MB / 1.034 GB, free: 26.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.794e-06/2.744, allocations: 0 / 1.034 GB, free: 26.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.963e-05/2.744, allocations: 12 kB / 1.034 GB, free: 26.07 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.001517/2.746, allocations: 0.6554 MB / 1.035 GB, free: 25.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/2.746, allocations: 11.97 kB / 1.035 GB, free: 25.36 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.869e-05/2.746, allocations: 78.53 kB / 1.035 GB, free: 25.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007979/2.747, allocations: 79.41 kB / 1.035 GB, free: 25.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006289/2.747, allocations: 330.3 kB / 1.036 GB, free: 24.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/2.747, allocations: 32.77 kB / 1.036 GB, free: 24.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.508e-05/2.748, allocations: 36 kB / 1.036 GB, free: 24.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009195/2.748, allocations: 450.8 kB / 1.036 GB, free: 24.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/2.748, allocations: 7.844 kB / 1.036 GB, free: 24.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.72e-05/2.749, allocations: 16 kB / 1.036 GB, free: 24.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/2.749, allocations: 12 kB / 1.036 GB, free: 24.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000655/2.749, allocations: 281.4 kB / 1.036 GB, free: 23.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01768/2.767, allocations: 6.359 MB / 1.043 GB, free: 17.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006121/2.768, allocations: 258.9 kB / 1.043 GB, free: 16.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/2.768, allocations: 152.8 kB / 1.043 GB, free: 16.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01401/2.782, allocations: 3.491 MB / 1.046 GB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/2.782, allocations: 34.5 kB / 1.046 GB, free: 12.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 3.506e-06/2.782, allocations: 224 / 1.046 GB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.01596/2.798, allocations: 2.269 MB / 1.049 GB, free: 10.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/2.798, allocations: 59.41 kB / 1.049 GB, free: 10.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003955/2.799, allocations: 263.5 kB / 1.049 GB, free: 10.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.9e-05/2.799, allocations: 37.64 kB / 1.049 GB, free: 10.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/2.799, allocations: 282.4 kB / 1.049 GB, free: 9.797 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/2.799, allocations: 161.7 kB / 1.049 GB, free: 9.637 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/2.799, allocations: 12 kB / 1.049 GB, free: 9.625 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.313e-05/2.799, allocations: 334.8 kB / 1.05 GB, free: 9.289 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003606/2.799, allocations: 145.1 kB / 1.05 GB, free: 9.145 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/2.8, allocations: 262.7 kB / 1.05 GB, free: 8.844 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004492/2.8, allocations: 193.6 kB / 1.05 GB, free: 8.652 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/2.8, allocations: 0 / 1.05 GB, free: 8.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001503/2.802, allocations: 0.5531 MB / 1.051 GB, free: 8.082 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/2.802, allocations: 8.938 kB / 1.051 GB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/2.802, allocations: 4 kB / 1.051 GB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01498/2.817, allocations: 0.8612 MB / 1.052 GB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007985/2.818, allocations: 111.8 kB / 1.052 GB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/2.82, allocations: 2.447 MB / 1.054 GB, free: 4.461 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006502/2.82, allocations: 43.89 kB / 1.054 GB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/2.821, allocations: 23.98 kB / 1.054 GB, free: 4.395 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.0001669/2.821, allocations: 136.8 kB / 1.054 GB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.988e-05/2.821, allocations: 39.53 kB / 1.054 GB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/2.823, allocations: 0.8472 MB / 1.055 GB, free: 3.348 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/2.823, allocations: 7.984 kB / 1.055 GB, free: 3.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/2.823, allocations: 4 kB / 1.055 GB, free: 3.336 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001191/2.824, allocations: 0.9418 MB / 1.056 GB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/2.826, allocations: 1.492 MB / 1.058 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/2.826, allocations: 0 / 1.058 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005838/2.827, allocations: 79.89 kB / 1.058 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005035/2.832, allocations: 0.575 MB / 1.058 GB, free: 104 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.42e-05/2.832, allocations: 19.94 kB / 1.058 GB, free: 84 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2424/3.075, allocations: 1.272 MB / 1.06 GB, free: 74.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-06/3.075, allocations: 3.906 kB / 1.06 GB, free: 74.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002781/3.077, allocations: 1.217 MB / 1.061 GB, free: 74.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002289/3.078, allocations: 126.4 kB / 1.061 GB, free: 74.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/3.078, allocations: 10.59 kB / 1.061 GB, free: 74.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005309/3.078, allocations: 26.45 kB / 1.061 GB, free: 74.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.944e-05/3.079, allocations: 23.7 kB / 1.061 GB, free: 74.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.085e-05/3.079, allocations: 23.92 kB / 1.061 GB, free: 74.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002939/3.079, allocations: 209.1 kB / 1.061 GB, free: 74.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/3.079, allocations: 0 / 1.061 GB, free: 74.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001342/3.08, allocations: 245.5 kB / 1.061 GB, free: 74.62 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.004043/3.084, allocations: 2.168 MB / 1.063 GB, free: 73.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0018/3.086, allocations: 0.6594 MB / 1.064 GB, free: 73.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/3.086, allocations: 3.875 kB / 1.064 GB, free: 73.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001644/3.088, allocations: 434.4 kB / 1.065 GB, free: 73.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/3.09, allocations: 230.2 kB / 1.065 GB, free: 73.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/3.093, allocations: 1.148 MB / 1.066 GB, free: 73.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/3.094, allocations: 0.8474 MB / 1.067 GB, free: 72.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/3.094, allocations: 162.9 kB / 1.067 GB, free: 72.73 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/3.094, allocations: 0 / 1.067 GB, free: 72.73 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.127/6.221, allocations: 15.23 MB / 1.082 GB, free: 72.03 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