Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 3.192/3.192, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.175e-05/4.184e-05, allocations: 6.938 kB / 249.8 MB, free: 5.289 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1213, allocations: 44.51 MB / 294.3 MB, free: 10.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.02/3.142, allocations: 0.7244 GB / 1.012 GB, free: 116.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/3.142, allocations: 79.8 kB / 1.012 GB, free: 116 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.185/3.327, allocations: 39.31 MB / 1.05 GB, free: 95.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/3.327, allocations: 0 / 1.05 GB, free: 95.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.645e-05/3.327, allocations: 8 kB / 1.05 GB, free: 95.59 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001255/3.328, allocations: 0.5017 MB / 1.051 GB, free: 95.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/3.328, allocations: 8.031 kB / 1.051 GB, free: 95.05 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.893e-05/3.329, allocations: 45.86 kB / 1.051 GB, free: 95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006752/3.335, allocations: 371.8 kB / 1.051 GB, free: 94.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006496/3.336, allocations: 262 kB / 1.051 GB, free: 94.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/3.336, allocations: 8.375 kB / 1.051 GB, free: 94.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/3.336, allocations: 19.86 kB / 1.051 GB, free: 94.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001557/3.338, allocations: 477.2 kB / 1.052 GB, free: 94.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008688/3.339, allocations: 305.5 kB / 1.052 GB, free: 93.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/3.339, allocations: 4 kB / 1.052 GB, free: 93.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.976e-05/3.339, allocations: 7.922 kB / 1.052 GB, free: 93.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/3.339, allocations: 4 kB / 1.052 GB, free: 93.84 MB / 410.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.004127/3.343, allocations: 0.9341 MB / 1.053 GB, free: 93.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007636/3.344, allocations: 262.4 kB / 1.053 GB, free: 92.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004006/3.344, allocations: 132 kB / 1.053 GB, free: 92.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00217/3.346, allocations: 0.6574 MB / 1.054 GB, free: 92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/3.347, allocations: 34.5 kB / 1.054 GB, free: 91.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 5.4e-06/3.347, allocations: 3.984 kB / 1.054 GB, free: 91.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.001196/3.348, allocations: 264.5 kB / 1.054 GB, free: 91.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/3.348, allocations: 81.11 kB / 1.054 GB, free: 91.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/3.348, allocations: 104.6 kB / 1.055 GB, free: 91.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.514e-05/3.348, allocations: 25.7 kB / 1.055 GB, free: 91.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/3.348, allocations: 116.1 kB / 1.055 GB, free: 91.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/3.348, allocations: 105.9 kB / 1.055 GB, free: 91.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/3.348, allocations: 0 / 1.055 GB, free: 91.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.093e-05/3.348, allocations: 326.2 kB / 1.055 GB, free: 91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/3.349, allocations: 98.14 kB / 1.055 GB, free: 90.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/3.349, allocations: 185.9 kB / 1.055 GB, free: 90.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/3.35, allocations: 130.4 kB / 1.055 GB, free: 90.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/3.35, allocations: 0 / 1.055 GB, free: 90.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001139/3.351, allocations: 325.4 kB / 1.056 GB, free: 90.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/3.351, allocations: 8.312 kB / 1.056 GB, free: 90.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/3.351, allocations: 4 kB / 1.056 GB, free: 90.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.322e-05/3.351, allocations: 8 kB / 1.056 GB, free: 90.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000953/3.352, allocations: 79.39 kB / 1.056 GB, free: 90.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/3.352, allocations: 4 kB / 1.056 GB, free: 90.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006226/3.353, allocations: 27.67 kB / 1.056 GB, free: 90.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.703e-05/3.353, allocations: 19.56 kB / 1.056 GB, free: 90.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001954/3.353, allocations: 120.6 kB / 1.056 GB, free: 90.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/3.353, allocations: 19.81 kB / 1.056 GB, free: 90.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/3.354, allocations: 333 kB / 1.056 GB, free: 89.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/3.355, allocations: 0 / 1.056 GB, free: 89.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/3.355, allocations: 4 kB / 1.056 GB, free: 89.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/3.355, allocations: 0 / 1.056 GB, free: 89.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/3.356, allocations: 320.5 kB / 1.057 GB, free: 89.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/3.356, allocations: 4 kB / 1.057 GB, free: 89.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/3.357, allocations: 59.41 kB / 1.057 GB, free: 89.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.218e-06/3.357, allocations: 0 / 1.057 GB, free: 89.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.488e-05/3.357, allocations: 7.984 kB / 1.057 GB, free: 89.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/3.357, allocations: 8 kB / 1.057 GB, free: 89.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/3.357, allocations: 0 / 1.057 GB, free: 89.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/3.358, allocations: 0.5166 MB / 1.057 GB, free: 89.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/3.358, allocations: 100.9 kB / 1.057 GB, free: 88.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.905e-05/3.358, allocations: 3.984 kB / 1.057 GB, free: 88.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007836/3.359, allocations: 11.94 kB / 1.057 GB, free: 88.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/3.359, allocations: 18.28 kB / 1.057 GB, free: 88.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.499e-05/3.359, allocations: 18.36 kB / 1.057 GB, free: 88.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.923e-05/3.359, allocations: 92.27 kB / 1.058 GB, free: 88.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.01e-07/3.359, allocations: 0 / 1.058 GB, free: 88.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001738/3.361, allocations: 241.9 kB / 1.058 GB, free: 88.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00438/3.366, allocations: 1.891 MB / 1.06 GB, free: 86.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008693/3.367, allocations: 260 kB / 1.06 GB, free: 86.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/3.367, allocations: 0 / 1.06 GB, free: 86.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003598/3.367, allocations: 132.7 kB / 1.06 GB, free: 86.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/3.368, allocations: 79.92 kB / 1.06 GB, free: 86.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/3.371, allocations: 0.7142 MB / 1.061 GB, free: 85.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/3.371, allocations: 0.7429 MB / 1.061 GB, free: 84.97 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001237/3.372, allocations: 90.11 kB / 1.062 GB, free: 84.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/3.373, allocations: 58.66 kB / 1.062 GB, free: 84.86 MB / 410.7 MB Notification: Performance of SimCode: time 1.954e-06/3.373, allocations: 0 / 1.062 GB, free: 84.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1076/3.481, allocations: 13.16 MB / 1.074 GB, free: 71.73 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002512/3.481, allocations: 142.5 kB / 1.075 GB, free: 71.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.689/8.17, allocations: 0 / 1.075 GB, free: 71.54 MB / 410.7 MB