Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.752/2.752, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.885e-05/2.889e-05, allocations: 4 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3967, allocations: 54.85 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.969/2.366, allocations: 0.5028 GB / 0.8489 GB, free: 133.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003794/2.366, allocations: 91.75 kB / 0.849 GB, free: 133.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.268/3.634, allocations: 215 MB / 1.059 GB, free: 105.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.685e-06/3.634, allocations: 0 / 1.059 GB, free: 105.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001145/3.634, allocations: 22.52 kB / 1.059 GB, free: 105.5 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.005307/3.64, allocations: 1.095 MB / 1.06 GB, free: 105 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.283e-05/3.64, allocations: 13.47 kB / 1.06 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002781/3.64, allocations: 75.94 kB / 1.06 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002223/3.642, allocations: 130.4 kB / 1.06 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002559/3.645, allocations: 0.5567 MB / 1.061 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/3.645, allocations: 87.66 kB / 1.061 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/3.645, allocations: 34.66 kB / 1.061 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00233/3.648, allocations: 0.5214 MB / 1.061 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002562/3.65, allocations: 0.7218 MB / 1.062 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.637e-05/3.65, allocations: 3.188 kB / 1.062 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/3.65, allocations: 3.875 kB / 1.062 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001291/3.651, allocations: 41.38 kB / 1.062 GB, free: 104.4 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.01001/3.661, allocations: 3.877 MB / 1.066 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/3.662, allocations: 241.9 kB / 1.066 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/3.662, allocations: 126.3 kB / 1.066 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/3.662, allocations: 23.41 kB / 1.066 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/3.662, allocations: 34.48 kB / 1.066 GB, free: 101.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 3.847e-06/3.662, allocations: 0 / 1.066 GB, free: 101.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.01132/3.674, allocations: 1.423 MB / 1.068 GB, free: 101.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/3.674, allocations: 131.8 kB / 1.068 GB, free: 101.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009734/3.675, allocations: 475.6 kB / 1.068 GB, free: 101 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.689e-05/3.675, allocations: 25.7 kB / 1.068 GB, free: 100.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/3.675, allocations: 404.8 kB / 1.069 GB, free: 100.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/3.675, allocations: 114.5 kB / 1.069 GB, free: 100.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.24e-05/3.675, allocations: 0 / 1.069 GB, free: 100.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002018/3.676, allocations: 371.5 kB / 1.069 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005642/3.676, allocations: 178.6 kB / 1.069 GB, free: 100.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007538/3.677, allocations: 0.5047 MB / 1.07 GB, free: 99.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/3.678, allocations: 330.3 kB / 1.07 GB, free: 99.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/3.678, allocations: 3.656 kB / 1.07 GB, free: 99.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002947/3.681, allocations: 0.8346 MB / 1.071 GB, free: 99.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/3.681, allocations: 7.812 kB / 1.071 GB, free: 99.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/3.681, allocations: 14.94 kB / 1.071 GB, free: 99.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002405/3.684, allocations: 264.4 kB / 1.071 GB, free: 99.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/3.685, allocations: 132.7 kB / 1.071 GB, free: 99.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/3.687, allocations: 0.9214 MB / 1.072 GB, free: 99.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/3.688, allocations: 33.23 kB / 1.072 GB, free: 99.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/3.688, allocations: 67.28 kB / 1.072 GB, free: 99.34 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.000287/3.689, allocations: 139.3 kB / 1.073 GB, free: 99.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/3.689, allocations: 59.56 kB / 1.073 GB, free: 99.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/3.691, allocations: 0.5143 MB / 1.073 GB, free: 99.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/3.691, allocations: 9.531 kB / 1.073 GB, free: 99.13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/3.691, allocations: 0 / 1.073 GB, free: 99.13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/3.691, allocations: 3.844 kB / 1.073 GB, free: 99.13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/3.694, allocations: 0.9606 MB / 1.074 GB, free: 98.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/3.694, allocations: 0 / 1.074 GB, free: 98.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002454/3.696, allocations: 195.2 kB / 1.074 GB, free: 98.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001608/3.697, allocations: 20.36 kB / 1.074 GB, free: 98.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.206e-05/3.697, allocations: 13.97 kB / 1.074 GB, free: 98.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002473/3.699, allocations: 2.584 MB / 1.077 GB, free: 96.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/3.699, allocations: 3.844 kB / 1.077 GB, free: 96.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/3.701, allocations: 0.6671 MB / 1.077 GB, free: 96.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004587/3.702, allocations: 173 kB / 1.078 GB, free: 96.06 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/3.702, allocations: 0 / 1.078 GB, free: 96.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008932/3.703, allocations: 23.52 kB / 1.078 GB, free: 96.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/3.703, allocations: 36.89 kB / 1.078 GB, free: 96.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/3.703, allocations: 34.11 kB / 1.078 GB, free: 96.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007154/3.704, allocations: 346.3 kB / 1.078 GB, free: 95.97 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.41e-07/3.704, allocations: 0 / 1.078 GB, free: 95.97 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002137/3.706, allocations: 347 kB / 1.078 GB, free: 95.94 MB / 490.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.004937/3.711, allocations: 2.337 MB / 1.081 GB, free: 95.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001853/3.713, allocations: 493.6 kB / 1.081 GB, free: 95.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/3.713, allocations: 0 / 1.081 GB, free: 95.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001675/3.715, allocations: 351.5 kB / 1.081 GB, free: 94.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/3.717, allocations: 252.5 kB / 1.082 GB, free: 94.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/3.732, allocations: 2.511 MB / 1.084 GB, free: 94.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005785/3.732, allocations: 0.9371 MB / 1.085 GB, free: 93.87 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002136/3.734, allocations: 238.2 kB / 1.085 GB, free: 93.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009448/3.735, allocations: 263 kB / 1.086 GB, free: 93.86 MB / 490.7 MB Notification: Performance of SimCode: time 2.925e-06/3.735, allocations: 0 / 1.086 GB, free: 93.86 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1118/3.847, allocations: 25.82 MB / 1.111 GB, free: 92.71 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003192/3.848, allocations: 206.8 kB / 1.111 GB, free: 92.42 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.08/7.927, allocations: 0 / 1.111 GB, free: 92.42 MB / 490.7 MB