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 2.005/2.005, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.157e-05/2.143e-05, allocations: 0 / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3065, allocations: 44.49 MB / 294.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.858/2.165, allocations: 0.6353 GB / 0.9226 GB, free: 105 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/2.165, allocations: 79.33 kB / 0.9227 GB, free: 104.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.733/2.898, allocations: 148.9 MB / 1.068 GB, free: 99.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.824e-06/2.898, allocations: 0 / 1.068 GB, free: 99.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.234e-05/2.898, allocations: 12.89 kB / 1.068 GB, free: 99.78 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.001459/2.899, allocations: 0.6627 MB / 1.069 GB, free: 99.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/2.9, allocations: 7.688 kB / 1.069 GB, free: 99.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007878/2.9, allocations: 73.12 kB / 1.069 GB, free: 99.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006146/2.901, allocations: 337.4 kB / 1.069 GB, free: 99.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/2.901, allocations: 17.31 kB / 1.069 GB, free: 99.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-05/2.901, allocations: 22.31 kB / 1.069 GB, free: 99.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006721/2.902, allocations: 257.6 kB / 1.069 GB, free: 99.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007807/2.903, allocations: 394.7 kB / 1.07 GB, free: 99.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/2.903, allocations: 8.156 kB / 1.07 GB, free: 99.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.896e-05/2.903, allocations: 3.875 kB / 1.07 GB, free: 99.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/2.903, allocations: 7.875 kB / 1.07 GB, free: 99.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01735/2.92, allocations: 6.26 MB / 1.076 GB, free: 95.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006077/2.921, allocations: 248.3 kB / 1.076 GB, free: 95.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002769/2.921, allocations: 139.7 kB / 1.076 GB, free: 95.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01389/2.935, allocations: 3.501 MB / 1.08 GB, free: 93.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/2.935, allocations: 46.97 kB / 1.08 GB, free: 93.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.825e-06/2.935, allocations: 1.688 kB / 1.08 GB, free: 93.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.008663/2.944, allocations: 1.598 MB / 1.081 GB, free: 93.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/2.944, allocations: 59.03 kB / 1.081 GB, free: 93.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/2.944, allocations: 230 kB / 1.082 GB, free: 93.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.353e-05/2.944, allocations: 25.7 kB / 1.082 GB, free: 93.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/2.944, allocations: 282.2 kB / 1.082 GB, free: 92.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/2.944, allocations: 159.6 kB / 1.082 GB, free: 92.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/2.944, allocations: 0 / 1.082 GB, free: 92.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.606e-05/2.945, allocations: 330.6 kB / 1.082 GB, free: 92.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/2.945, allocations: 131.5 kB / 1.083 GB, free: 92.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/2.945, allocations: 258.4 kB / 1.083 GB, free: 92.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00198/2.947, allocations: 324.6 kB / 1.083 GB, free: 92.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/2.947, allocations: 3.969 kB / 1.083 GB, free: 92.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002998/2.95, allocations: 0.6526 MB / 1.084 GB, free: 92.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/2.95, allocations: 7.219 kB / 1.084 GB, free: 92.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/2.95, allocations: 5.812 kB / 1.084 GB, free: 92.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000567/2.951, allocations: 112.7 kB / 1.084 GB, free: 92.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007421/2.952, allocations: 109.4 kB / 1.084 GB, free: 92.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00315/2.955, allocations: 2.531 MB / 1.086 GB, free: 89.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006486/2.956, allocations: 27.08 kB / 1.086 GB, free: 89.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/2.956, allocations: 19.53 kB / 1.086 GB, free: 89.94 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.00018/2.956, allocations: 126.9 kB / 1.087 GB, free: 89.82 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002506/2.958, allocations: 0.5443 MB / 1.087 GB, free: 89.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.921e-05/2.959, allocations: 42.64 kB / 1.087 GB, free: 89.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002157/2.961, allocations: 0.8022 MB / 1.088 GB, free: 89.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/2.961, allocations: 14.48 kB / 1.088 GB, free: 89.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/2.961, allocations: 0 / 1.088 GB, free: 89.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001727/2.963, allocations: 0.9115 MB / 1.089 GB, free: 89.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003398/2.966, allocations: 1.386 MB / 1.09 GB, free: 88.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/2.966, allocations: 0 / 1.09 GB, free: 88.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006087/2.967, allocations: 78.72 kB / 1.09 GB, free: 88.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007966/2.967, allocations: 184.9 kB / 1.09 GB, free: 88.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.416e-05/2.968, allocations: 7.031 kB / 1.09 GB, free: 88.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/2.969, allocations: 1.356 MB / 1.092 GB, free: 87.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/2.969, allocations: 0 / 1.092 GB, free: 87.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002629/2.972, allocations: 1.184 MB / 1.093 GB, free: 87.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/2.972, allocations: 110.6 kB / 1.093 GB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/2.972, allocations: 10.67 kB / 1.093 GB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004682/2.973, allocations: 7.844 kB / 1.093 GB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.905e-05/2.973, allocations: 32.52 kB / 1.093 GB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.773e-05/2.973, allocations: 17.84 kB / 1.093 GB, free: 87.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002253/2.973, allocations: 182.9 kB / 1.093 GB, free: 87.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.3e-07/2.973, allocations: 0 / 1.093 GB, free: 87.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001266/2.974, allocations: 231.3 kB / 1.094 GB, free: 87.37 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 {2 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004282/2.979, allocations: 2.135 MB / 1.096 GB, free: 86.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001597/2.98, allocations: 0.6432 MB / 1.096 GB, free: 86.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/2.98, allocations: 0 / 1.096 GB, free: 86.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008704/2.981, allocations: 387.7 kB / 1.097 GB, free: 86.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/2.983, allocations: 190.2 kB / 1.097 GB, free: 86.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/2.986, allocations: 1.108 MB / 1.098 GB, free: 85.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/2.986, allocations: 0.8559 MB / 1.099 GB, free: 85.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003347/2.987, allocations: 160 kB / 1.099 GB, free: 85.17 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/2.987, allocations: 0 / 1.099 GB, free: 85.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.963/5.95, allocations: 14.98 MB / 1.113 GB, free: 84.36 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