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.929/1.929, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.662e-05/4.672e-05, allocations: 3.984 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1406, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.56/1.701, allocations: 0.4968 GB / 0.8111 GB, free: 4.07 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003938/1.701, allocations: 91.94 kB / 0.8111 GB, free: 3.98 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.339/3.04, allocations: 218.4 MB / 1.024 GB, free: 79.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.563e-06/3.04, allocations: 0 / 1.024 GB, free: 79.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.251e-05/3.04, allocations: 18.66 kB / 1.024 GB, free: 79.01 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.003185/3.043, allocations: 1.108 MB / 1.026 GB, free: 78.44 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/3.043, allocations: 14.02 kB / 1.026 GB, free: 78.44 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001555/3.044, allocations: 92.8 kB / 1.026 GB, free: 78.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/3.045, allocations: 131.2 kB / 1.026 GB, free: 78.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/3.046, allocations: 0.5521 MB / 1.026 GB, free: 78.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/3.046, allocations: 100.4 kB / 1.026 GB, free: 78.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/3.046, allocations: 47.64 kB / 1.026 GB, free: 78.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/3.048, allocations: 0.7948 MB / 1.027 GB, free: 77.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/3.048, allocations: 5.875 kB / 1.027 GB, free: 77.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/3.048, allocations: 32.58 kB / 1.027 GB, free: 77.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.069e-05/3.048, allocations: 33.83 kB / 1.027 GB, free: 77.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/3.05, allocations: 0.6003 MB / 1.028 GB, free: 77.84 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.005579/3.055, allocations: 3.914 MB / 1.032 GB, free: 75.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007221/3.056, allocations: 321.6 kB / 1.032 GB, free: 75.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/3.056, allocations: 161.1 kB / 1.032 GB, free: 75.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/3.057, allocations: 30.23 kB / 1.032 GB, free: 75.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/3.057, allocations: 40.94 kB / 1.032 GB, free: 75.19 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.586e-06/3.057, allocations: 0 / 1.032 GB, free: 75.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.008641/3.065, allocations: 1.493 MB / 1.034 GB, free: 74.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/3.065, allocations: 136 kB / 1.034 GB, free: 74.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008985/3.066, allocations: 0.5213 MB / 1.034 GB, free: 74.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.531e-05/3.066, allocations: 32.23 kB / 1.034 GB, free: 74.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/3.067, allocations: 408.5 kB / 1.035 GB, free: 74.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/3.067, allocations: 147.4 kB / 1.035 GB, free: 74.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-05/3.067, allocations: 14.16 kB / 1.035 GB, free: 74.06 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.93e-05/3.067, allocations: 338.6 kB / 1.035 GB, free: 73.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004951/3.067, allocations: 200.9 kB / 1.035 GB, free: 73.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006729/3.068, allocations: 0.5242 MB / 1.036 GB, free: 73.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006575/3.069, allocations: 299.9 kB / 1.036 GB, free: 73.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/3.069, allocations: 7.734 kB / 1.036 GB, free: 73.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001961/3.071, allocations: 0.8338 MB / 1.037 GB, free: 73.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/3.071, allocations: 11 kB / 1.037 GB, free: 73.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/3.071, allocations: 11.19 kB / 1.037 GB, free: 73.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002104/3.073, allocations: 305.5 kB / 1.037 GB, free: 73.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000766/3.074, allocations: 129.4 kB / 1.037 GB, free: 73.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/3.075, allocations: 0.8977 MB / 1.038 GB, free: 72.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/3.076, allocations: 48.08 kB / 1.038 GB, free: 72.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/3.076, allocations: 72.25 kB / 1.038 GB, free: 72.71 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.0002385/3.077, allocations: 159.1 kB / 1.039 GB, free: 72.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/3.077, allocations: 68.88 kB / 1.039 GB, free: 72.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/3.079, allocations: 0.654 MB / 1.039 GB, free: 72.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/3.079, allocations: 7.25 kB / 1.039 GB, free: 72.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/3.079, allocations: 10.64 kB / 1.039 GB, free: 72.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/3.079, allocations: 3.609 kB / 1.039 GB, free: 72.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002592/3.082, allocations: 1.243 MB / 1.041 GB, free: 72.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/3.082, allocations: 0 / 1.041 GB, free: 72.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00194/3.084, allocations: 210.1 kB / 1.041 GB, free: 72.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001279/3.084, allocations: 27.38 kB / 1.041 GB, free: 72.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-05/3.084, allocations: 18.88 kB / 1.041 GB, free: 72.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/3.086, allocations: 2.676 MB / 1.043 GB, free: 69.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/3.086, allocations: 0 / 1.043 GB, free: 69.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/3.088, allocations: 0.8435 MB / 1.044 GB, free: 69.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000388/3.088, allocations: 188.8 kB / 1.044 GB, free: 69.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/3.088, allocations: 12.66 kB / 1.044 GB, free: 69.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007135/3.089, allocations: 22.3 kB / 1.044 GB, free: 69.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/3.089, allocations: 45.19 kB / 1.045 GB, free: 69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.505e-05/3.089, allocations: 47.94 kB / 1.045 GB, free: 69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006952/3.09, allocations: 409.6 kB / 1.045 GB, free: 68.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.41e-07/3.09, allocations: 3.938 kB / 1.045 GB, free: 68.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001952/3.092, allocations: 384 kB / 1.045 GB, free: 68.87 MB / 426.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.004331/3.096, allocations: 2.642 MB / 1.048 GB, free: 67.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001722/3.098, allocations: 0.5401 MB / 1.048 GB, free: 67.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/3.098, allocations: 6.375 kB / 1.048 GB, free: 67.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001405/3.099, allocations: 385.6 kB / 1.049 GB, free: 67.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002578/3.102, allocations: 312.3 kB / 1.049 GB, free: 67.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/3.113, allocations: 2.656 MB / 1.052 GB, free: 67.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/3.114, allocations: 0.9374 MB / 1.053 GB, free: 66.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008556/3.114, allocations: 276.4 kB / 1.053 GB, free: 66.31 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/3.114, allocations: 2.656 kB / 1.053 GB, free: 66.31 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.447/6.561, allocations: 23.5 MB / 1.076 GB, free: 60.09 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