Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.949/1.949, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.668e-05/2.694e-05, allocations: 4 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 48.69 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.838/1.946, allocations: 0.4963 GB / 0.8052 GB, free: 122 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003662/1.946, allocations: 90.39 kB / 0.8053 GB, free: 122 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.055/3.002, allocations: 215.9 MB / 1.016 GB, free: 79.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.175e-06/3.002, allocations: 2.594 kB / 1.016 GB, free: 79.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.944e-05/3.002, allocations: 14.84 kB / 1.016 GB, free: 79.18 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003485/3.006, allocations: 1.099 MB / 1.017 GB, free: 78.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/3.006, allocations: 11.78 kB / 1.017 GB, free: 78.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/3.007, allocations: 134.7 kB / 1.017 GB, free: 78.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/3.008, allocations: 0.5592 MB / 1.018 GB, free: 78.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/3.009, allocations: 82.06 kB / 1.018 GB, free: 78.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/3.009, allocations: 31.22 kB / 1.018 GB, free: 78.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001336/3.01, allocations: 0.5206 MB / 1.019 GB, free: 78.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/3.012, allocations: 0.7273 MB / 1.019 GB, free: 78.03 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/3.012, allocations: 2.719 kB / 1.019 GB, free: 78.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.854e-05/3.012, allocations: 6.125 kB / 1.019 GB, free: 78.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.243e-05/3.012, allocations: 38.72 kB / 1.019 GB, free: 78.03 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005997/3.018, allocations: 3.863 MB / 1.023 GB, free: 75.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000616/3.018, allocations: 245.8 kB / 1.023 GB, free: 75.44 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/3.019, allocations: 128.9 kB / 1.023 GB, free: 75.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.274e-05/3.019, allocations: 19.73 kB / 1.023 GB, free: 75.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/3.019, allocations: 42.02 kB / 1.023 GB, free: 75.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.797e-06/3.019, allocations: 3.656 kB / 1.023 GB, free: 75.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.008373/3.027, allocations: 1.426 MB / 1.025 GB, free: 74.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/3.027, allocations: 132.5 kB / 1.025 GB, free: 74.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000746/3.028, allocations: 471.8 kB / 1.025 GB, free: 74.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.6e-05/3.028, allocations: 25.7 kB / 1.025 GB, free: 74.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/3.028, allocations: 444 kB / 1.026 GB, free: 74.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/3.029, allocations: 118.6 kB / 1.026 GB, free: 74.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/3.029, allocations: 0 / 1.026 GB, free: 74.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.818e-05/3.029, allocations: 342.1 kB / 1.026 GB, free: 73.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000403/3.029, allocations: 180.8 kB / 1.026 GB, free: 73.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006104/3.03, allocations: 0.5015 MB / 1.027 GB, free: 73.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000951/3.031, allocations: 337.2 kB / 1.027 GB, free: 73.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/3.031, allocations: 3.781 kB / 1.027 GB, free: 73.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00201/3.033, allocations: 0.7915 MB / 1.028 GB, free: 73.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/3.033, allocations: 10.97 kB / 1.028 GB, free: 73.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/3.033, allocations: 10.12 kB / 1.028 GB, free: 73.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00178/3.035, allocations: 263.8 kB / 1.028 GB, free: 73.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007404/3.035, allocations: 134.9 kB / 1.028 GB, free: 73.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/3.037, allocations: 0.9288 MB / 1.029 GB, free: 72.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009712/3.038, allocations: 34.7 kB / 1.029 GB, free: 72.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/3.038, allocations: 64.23 kB / 1.029 GB, free: 72.87 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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: 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002069/3.038, allocations: 132.4 kB / 1.03 GB, free: 72.75 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001114/3.039, allocations: 431.1 kB / 1.03 GB, free: 72.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/3.039, allocations: 61.19 kB / 1.03 GB, free: 72.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/3.041, allocations: 0.4965 MB / 1.031 GB, free: 72.58 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/3.041, allocations: 10.61 kB / 1.031 GB, free: 72.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/3.041, allocations: 2.812 kB / 1.031 GB, free: 72.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/3.041, allocations: 0 / 1.031 GB, free: 72.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/3.043, allocations: 0.9636 MB / 1.032 GB, free: 72.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/3.043, allocations: 3.594 kB / 1.032 GB, free: 72.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/3.045, allocations: 190 kB / 1.032 GB, free: 72.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001122/3.045, allocations: 24.45 kB / 1.032 GB, free: 72.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/3.045, allocations: 7.812 kB / 1.032 GB, free: 72.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/3.047, allocations: 2.592 MB / 1.034 GB, free: 69.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/3.047, allocations: 3.312 kB / 1.034 GB, free: 69.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/3.048, allocations: 0.6668 MB / 1.035 GB, free: 69.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/3.048, allocations: 180.9 kB / 1.035 GB, free: 69.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/3.049, allocations: 0 / 1.035 GB, free: 69.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006777/3.049, allocations: 14.53 kB / 1.035 GB, free: 69.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/3.049, allocations: 38.59 kB / 1.035 GB, free: 69.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-05/3.05, allocations: 34.3 kB / 1.035 GB, free: 69.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005507/3.05, allocations: 347.7 kB / 1.036 GB, free: 69.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/3.05, allocations: 0 / 1.036 GB, free: 69.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001664/3.052, allocations: 343.2 kB / 1.036 GB, free: 69.36 MB / 426.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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003765/3.056, allocations: 2.35 MB / 1.038 GB, free: 68.44 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00142/3.057, allocations: 495.3 kB / 1.039 GB, free: 68.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/3.057, allocations: 3.938 kB / 1.039 GB, free: 68.42 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/3.058, allocations: 348.8 kB / 1.039 GB, free: 68.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/3.06, allocations: 227.3 kB / 1.039 GB, free: 68.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/3.071, allocations: 2.543 MB / 1.042 GB, free: 67.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/3.071, allocations: 0.9354 MB / 1.043 GB, free: 67.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000773/3.072, allocations: 270.3 kB / 1.043 GB, free: 67.21 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/3.072, allocations: 0 / 1.043 GB, free: 67.21 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.388/6.46, allocations: 22.77 MB / 1.065 GB, free: 59.06 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat