Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.788/2.788, allocations: 235.1 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.46e-05/2.464e-05, allocations: 0 / 299.6 MB, free: 192 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3947, allocations: 54.84 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.127/2.522, allocations: 0.636 GB / 0.9821 GB, free: 38.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004108/2.522, allocations: 96.38 kB / 0.9822 GB, free: 38.85 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.327/3.849, allocations: 227.4 MB / 1.204 GB, free: 18.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.134e-06/3.849, allocations: 0 / 1.204 GB, free: 18.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.452e-05/3.849, allocations: 20.38 kB / 1.204 GB, free: 18.11 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.004183/3.854, allocations: 1.151 MB / 1.205 GB, free: 16.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/3.854, allocations: 8.031 kB / 1.205 GB, free: 16.9 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001923/3.854, allocations: 74.52 kB / 1.206 GB, free: 16.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/3.855, allocations: 143 kB / 1.206 GB, free: 16.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/3.857, allocations: 0.5544 MB / 1.206 GB, free: 16.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/3.858, allocations: 88.66 kB / 1.206 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/3.858, allocations: 28 kB / 1.206 GB, free: 15.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001659/3.859, allocations: 0.5219 MB / 1.207 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/3.861, allocations: 0.7252 MB / 1.208 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.84e-05/3.861, allocations: 3.984 kB / 1.208 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/3.861, allocations: 4 kB / 1.208 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.832e-05/3.862, allocations: 37.3 kB / 1.208 GB, free: 14.59 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.007361/3.869, allocations: 3.874 MB / 1.211 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007712/3.87, allocations: 243.2 kB / 1.212 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/3.87, allocations: 125.3 kB / 1.212 GB, free: 10.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/3.87, allocations: 25 kB / 1.212 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/3.87, allocations: 34.8 kB / 1.212 GB, free: 10.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 4.589e-06/3.87, allocations: 3.938 kB / 1.212 GB, free: 10.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.01093/3.881, allocations: 1.423 MB / 1.213 GB, free: 8.523 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.143e-05/3.881, allocations: 132.5 kB / 1.213 GB, free: 8.363 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009384/3.882, allocations: 470.1 kB / 1.214 GB, free: 7.898 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.066e-05/3.882, allocations: 25.7 kB / 1.214 GB, free: 7.867 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/3.883, allocations: 402.7 kB / 1.214 GB, free: 7.465 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/3.883, allocations: 118.3 kB / 1.214 GB, free: 7.348 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.19e-05/3.883, allocations: 0 / 1.214 GB, free: 7.348 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/3.883, allocations: 378.7 kB / 1.215 GB, free: 6.969 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005217/3.884, allocations: 181.5 kB / 1.215 GB, free: 6.789 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007193/3.884, allocations: 0.5005 MB / 1.215 GB, free: 6.133 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/3.886, allocations: 339.4 kB / 1.216 GB, free: 5.801 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/3.886, allocations: 4 kB / 1.216 GB, free: 5.797 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002745/3.888, allocations: 0.8292 MB / 1.216 GB, free: 4.957 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/3.889, allocations: 8 kB / 1.216 GB, free: 4.949 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/3.889, allocations: 12 kB / 1.216 GB, free: 4.938 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002294/3.891, allocations: 259.3 kB / 1.217 GB, free: 4.684 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009686/3.892, allocations: 131.8 kB / 1.217 GB, free: 4.555 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/3.894, allocations: 0.923 MB / 1.218 GB, free: 3.605 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/3.895, allocations: 43.88 kB / 1.218 GB, free: 3.562 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/3.895, allocations: 68.03 kB / 1.218 GB, free: 3.496 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.0002534/3.895, allocations: 140.7 kB / 1.218 GB, free: 3.352 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/3.896, allocations: 55.34 kB / 1.218 GB, free: 3.297 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/3.898, allocations: 0.4996 MB / 1.218 GB, free: 2.793 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/3.898, allocations: 3.953 kB / 1.219 GB, free: 2.789 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/3.898, allocations: 4 kB / 1.219 GB, free: 2.785 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/3.898, allocations: 0 / 1.219 GB, free: 2.785 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002574/3.9, allocations: 0.961 MB / 1.219 GB, free: 1.773 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/3.9, allocations: 7.922 kB / 1.219 GB, free: 1.766 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002336/3.903, allocations: 187.8 kB / 1.22 GB, free: 1.582 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001553/3.903, allocations: 20.84 kB / 1.22 GB, free: 1.559 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.952e-05/3.903, allocations: 20.03 kB / 1.22 GB, free: 1.539 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3965/4.299, allocations: 2.58 MB / 1.222 GB, free: 93.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/4.3, allocations: 0.6875 kB / 1.222 GB, free: 93.85 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/4.302, allocations: 0.6733 MB / 1.223 GB, free: 93.69 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004893/4.302, allocations: 175.7 kB / 1.223 GB, free: 93.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/4.302, allocations: 2.578 kB / 1.223 GB, free: 93.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000882/4.303, allocations: 19.48 kB / 1.223 GB, free: 93.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/4.304, allocations: 28.81 kB / 1.223 GB, free: 93.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/4.304, allocations: 37.17 kB / 1.223 GB, free: 93.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008704/4.305, allocations: 343.1 kB / 1.223 GB, free: 93.51 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.62e-07/4.305, allocations: 0 / 1.223 GB, free: 93.51 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00241/4.307, allocations: 347.5 kB / 1.224 GB, free: 93.51 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.005475/4.313, allocations: 2.374 MB / 1.226 GB, free: 92.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002051/4.315, allocations: 493.8 kB / 1.227 GB, free: 92.67 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/4.315, allocations: 2.938 kB / 1.227 GB, free: 92.67 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001733/4.316, allocations: 356.9 kB / 1.227 GB, free: 92.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002576/4.319, allocations: 242.6 kB / 1.227 GB, free: 92.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/4.332, allocations: 2.506 MB / 1.23 GB, free: 92.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00054/4.333, allocations: 0.9422 MB / 1.23 GB, free: 91.57 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00201/4.335, allocations: 246.1 kB / 1.231 GB, free: 91.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008452/4.336, allocations: 251.7 kB / 1.231 GB, free: 91.56 MB / 490.7 MB Notification: Performance of SimCode: time 1.403e-06/4.336, allocations: 1.781 kB / 1.231 GB, free: 91.56 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1492/4.485, allocations: 25.95 MB / 1.256 GB, free: 90.98 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002119/4.485, allocations: 201.7 kB / 1.256 GB, free: 90.71 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.073/8.558, allocations: 4 kB / 1.257 GB, free: 90.71 MB / 490.7 MB