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.916/1.916, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.763e-05/3.77e-05, allocations: 7.984 kB / 273.2 MB, free: 0.625 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 48.69 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.53/1.631, allocations: 0.4968 GB / 0.8111 GB, free: 4.008 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/1.632, allocations: 87.95 kB / 0.8112 GB, free: 3.922 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.311/2.943, allocations: 218.4 MB / 1.024 GB, free: 78.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.743e-06/2.943, allocations: 0 / 1.024 GB, free: 78.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.358e-05/2.943, allocations: 18.81 kB / 1.025 GB, free: 78.83 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.003256/2.946, allocations: 1.109 MB / 1.026 GB, free: 78.26 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/2.946, allocations: 11.69 kB / 1.026 GB, free: 78.26 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/2.947, allocations: 92.89 kB / 1.026 GB, free: 78.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/2.948, allocations: 133.4 kB / 1.026 GB, free: 78.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/2.949, allocations: 0.5476 MB / 1.026 GB, free: 77.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/2.949, allocations: 103.5 kB / 1.026 GB, free: 77.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/2.949, allocations: 48.8 kB / 1.027 GB, free: 77.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/2.951, allocations: 0.7883 MB / 1.027 GB, free: 77.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/2.951, allocations: 6.438 kB / 1.027 GB, free: 77.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/2.951, allocations: 22.84 kB / 1.027 GB, free: 77.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.489e-05/2.951, allocations: 40.53 kB / 1.027 GB, free: 77.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/2.953, allocations: 0.5913 MB / 1.028 GB, free: 77.66 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.005701/2.958, allocations: 3.906 MB / 1.032 GB, free: 75.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007136/2.959, allocations: 317.3 kB / 1.032 GB, free: 75.06 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003675/2.96, allocations: 168.4 kB / 1.032 GB, free: 75.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/2.96, allocations: 28.77 kB / 1.032 GB, free: 75.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/2.96, allocations: 38.62 kB / 1.032 GB, free: 75.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 2.965e-06/2.96, allocations: 0 / 1.032 GB, free: 75.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.00806/2.968, allocations: 1.497 MB / 1.034 GB, free: 74.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/2.968, allocations: 135 kB / 1.034 GB, free: 74.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008293/2.969, allocations: 0.5152 MB / 1.034 GB, free: 74.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.218e-05/2.969, allocations: 35.98 kB / 1.034 GB, free: 74.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000235/2.969, allocations: 407.8 kB / 1.035 GB, free: 73.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/2.969, allocations: 148.7 kB / 1.035 GB, free: 73.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/2.969, allocations: 18.09 kB / 1.035 GB, free: 73.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.662e-05/2.969, allocations: 348.9 kB / 1.035 GB, free: 73.56 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004808/2.97, allocations: 187 kB / 1.035 GB, free: 73.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006901/2.971, allocations: 0.5204 MB / 1.036 GB, free: 73.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006626/2.971, allocations: 300.7 kB / 1.036 GB, free: 73.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/2.971, allocations: 3.969 kB / 1.036 GB, free: 73.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001942/2.973, allocations: 0.8078 MB / 1.037 GB, free: 73.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/2.973, allocations: 12.12 kB / 1.037 GB, free: 73.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/2.973, allocations: 10.84 kB / 1.037 GB, free: 73.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002106/2.975, allocations: 299.5 kB / 1.037 GB, free: 73.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007766/2.976, allocations: 130.7 kB / 1.037 GB, free: 73.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/2.978, allocations: 0.9035 MB / 1.038 GB, free: 72.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/2.979, allocations: 50.81 kB / 1.038 GB, free: 72.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/2.979, allocations: 66.5 kB / 1.038 GB, free: 72.53 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.0002339/2.979, allocations: 157.9 kB / 1.039 GB, free: 72.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/2.979, allocations: 68.53 kB / 1.039 GB, free: 72.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/2.981, allocations: 0.6496 MB / 1.039 GB, free: 72.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/2.981, allocations: 3.75 kB / 1.039 GB, free: 72.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/2.981, allocations: 9.953 kB / 1.039 GB, free: 72.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/2.981, allocations: 6.672 kB / 1.039 GB, free: 72.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/2.984, allocations: 1.245 MB / 1.041 GB, free: 71.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/2.984, allocations: 0 / 1.041 GB, free: 71.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001958/2.986, allocations: 206.4 kB / 1.041 GB, free: 71.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001312/2.986, allocations: 26.53 kB / 1.041 GB, free: 71.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.673e-05/2.986, allocations: 22.2 kB / 1.041 GB, free: 71.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/2.988, allocations: 2.674 MB / 1.043 GB, free: 69.28 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/2.988, allocations: 3.406 kB / 1.043 GB, free: 69.28 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/2.99, allocations: 0.8423 MB / 1.044 GB, free: 68.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003701/2.99, allocations: 176.8 kB / 1.044 GB, free: 68.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/2.991, allocations: 11.44 kB / 1.044 GB, free: 68.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007276/2.991, allocations: 36.3 kB / 1.044 GB, free: 68.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/2.991, allocations: 38.89 kB / 1.044 GB, free: 68.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.195e-05/2.992, allocations: 42.22 kB / 1.045 GB, free: 68.83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006954/2.992, allocations: 416.5 kB / 1.045 GB, free: 68.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/2.992, allocations: 0 / 1.045 GB, free: 68.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001905/2.994, allocations: 383 kB / 1.045 GB, free: 68.69 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.004133/2.998, allocations: 2.665 MB / 1.048 GB, free: 67.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001592/3, allocations: 0.5159 MB / 1.048 GB, free: 67.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/3, allocations: 3.688 kB / 1.048 GB, free: 67.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001338/3.001, allocations: 383.3 kB / 1.049 GB, free: 67.26 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002748/3.004, allocations: 322.1 kB / 1.049 GB, free: 67.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/3.018, allocations: 2.632 MB / 1.052 GB, free: 66.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000663/3.019, allocations: 0.9438 MB / 1.053 GB, free: 66.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/3.02, allocations: 282.9 kB / 1.053 GB, free: 66.12 MB / 426.7 MB Notification: Performance of SimCode: time 2.735e-06/3.02, allocations: 0 / 1.053 GB, free: 66.12 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.36/6.38, allocations: 23.52 MB / 1.076 GB, free: 60.07 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