Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.475/2.475, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.665e-05/3.675e-05, allocations: 0 / 305 MB, free: 5.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4285, allocations: 54.85 MB / 359.9 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.4/1.829, allocations: 0.5034 GB / 0.8549 GB, free: 39.43 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/1.829, allocations: 92.12 kB / 0.8549 GB, free: 39.38 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.078/2.907, allocations: 217.1 MB / 1.067 GB, free: 28.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.485e-06/2.907, allocations: 0 / 1.067 GB, free: 28.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.81e-05/2.907, allocations: 16 kB / 1.067 GB, free: 28.71 MB / 490.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.003721/2.911, allocations: 1.1 MB / 1.068 GB, free: 27.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/2.911, allocations: 11.97 kB / 1.068 GB, free: 27.56 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000236/2.911, allocations: 98.5 kB / 1.068 GB, free: 27.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/2.913, allocations: 139 kB / 1.068 GB, free: 27.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/2.914, allocations: 0.5404 MB / 1.069 GB, free: 26.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/2.915, allocations: 100.4 kB / 1.069 GB, free: 26.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/2.915, allocations: 55.89 kB / 1.069 GB, free: 26.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/2.916, allocations: 0.7891 MB / 1.07 GB, free: 25.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/2.916, allocations: 3.938 kB / 1.07 GB, free: 25.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/2.917, allocations: 20 kB / 1.07 GB, free: 25.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.358e-05/2.917, allocations: 44.97 kB / 1.07 GB, free: 25.63 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/2.918, allocations: 0.5836 MB / 1.07 GB, free: 25.05 MB / 490.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.006528/2.925, allocations: 3.916 MB / 1.074 GB, free: 20.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007635/2.926, allocations: 315.1 kB / 1.075 GB, free: 20.56 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003672/2.926, allocations: 165.4 kB / 1.075 GB, free: 20.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/2.926, allocations: 25.28 kB / 1.075 GB, free: 20.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/2.926, allocations: 50.77 kB / 1.075 GB, free: 20.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.026e-06/2.926, allocations: 0 / 1.075 GB, free: 20.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.008592/2.935, allocations: 1.485 MB / 1.076 GB, free: 18.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/2.935, allocations: 132.5 kB / 1.076 GB, free: 18.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008851/2.936, allocations: 0.5227 MB / 1.077 GB, free: 18.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.63e-05/2.936, allocations: 37.7 kB / 1.077 GB, free: 18.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/2.936, allocations: 405.2 kB / 1.077 GB, free: 17.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/2.936, allocations: 145.9 kB / 1.077 GB, free: 17.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/2.936, allocations: 12 kB / 1.077 GB, free: 17.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.681e-05/2.936, allocations: 338.8 kB / 1.078 GB, free: 17.13 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004946/2.937, allocations: 193.5 kB / 1.078 GB, free: 16.94 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006551/2.938, allocations: 0.5161 MB / 1.078 GB, free: 16.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006579/2.938, allocations: 303.3 kB / 1.079 GB, free: 15.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/2.938, allocations: 4 kB / 1.079 GB, free: 15.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001957/2.94, allocations: 0.7982 MB / 1.08 GB, free: 15.15 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/2.94, allocations: 10.38 kB / 1.08 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/2.94, allocations: 19.88 kB / 1.08 GB, free: 15.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002166/2.943, allocations: 312.6 kB / 1.08 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008282/2.943, allocations: 131.8 kB / 1.08 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/2.945, allocations: 0.8943 MB / 1.081 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/2.946, allocations: 51.94 kB / 1.081 GB, free: 13.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/2.946, allocations: 64 kB / 1.081 GB, free: 13.66 MB / 490.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.000236/2.946, allocations: 164.6 kB / 1.081 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/2.947, allocations: 63.25 kB / 1.081 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002203/2.949, allocations: 0.6548 MB / 1.082 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/2.949, allocations: 4 kB / 1.082 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/2.949, allocations: 7.938 kB / 1.082 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/2.949, allocations: 3.984 kB / 1.082 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002649/2.951, allocations: 1.239 MB / 1.083 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/2.952, allocations: 0 / 1.083 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00199/2.954, allocations: 215.7 kB / 1.083 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001451/2.954, allocations: 25 kB / 1.083 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.768e-05/2.954, allocations: 19.98 kB / 1.083 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/2.956, allocations: 2.669 MB / 1.086 GB, free: 8.207 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/2.956, allocations: 4.281 kB / 1.086 GB, free: 8.203 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/2.958, allocations: 0.8363 MB / 1.087 GB, free: 7.301 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004061/2.958, allocations: 188.2 kB / 1.087 GB, free: 7.098 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/2.958, allocations: 8 kB / 1.087 GB, free: 7.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007521/2.959, allocations: 40.02 kB / 1.087 GB, free: 7.051 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/2.959, allocations: 35.91 kB / 1.087 GB, free: 7.016 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.855e-05/2.959, allocations: 43.97 kB / 1.087 GB, free: 6.973 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000715/2.96, allocations: 411.2 kB / 1.087 GB, free: 6.578 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.71e-07/2.96, allocations: 0 / 1.087 GB, free: 6.578 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002048/2.962, allocations: 375.8 kB / 1.088 GB, free: 6.211 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (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): 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.004464/2.967, allocations: 2.68 MB / 1.09 GB, free: 3.473 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001757/2.968, allocations: 0.5158 MB / 1.091 GB, free: 2.957 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/2.968, allocations: 4 kB / 1.091 GB, free: 2.953 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/2.97, allocations: 374.4 kB / 1.091 GB, free: 2.578 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002708/2.972, allocations: 311.1 kB / 1.092 GB, free: 2.277 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3531/3.326, allocations: 2.642 MB / 1.094 GB, free: 92.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005972/3.326, allocations: 0.946 MB / 1.095 GB, free: 91.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008985/3.327, allocations: 278.8 kB / 1.095 GB, free: 91.59 MB / 490.7 MB Notification: Performance of SimCode: time 1.082e-06/3.327, allocations: 0 / 1.095 GB, free: 91.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.39/6.718, allocations: 23.49 MB / 1.118 GB, free: 91.13 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat