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 2.393/2.393, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.163e-05/3.164e-05, allocations: 6.281 kB / 249.8 MB, free: 5.23 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1088, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.801/2.91, allocations: 0.7244 GB / 1.012 GB, free: 116.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/2.91, allocations: 73.11 kB / 1.012 GB, free: 116.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1771/3.088, allocations: 39.18 MB / 1.05 GB, free: 95.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.997e-06/3.088, allocations: 0 / 1.05 GB, free: 95.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.496e-05/3.088, allocations: 7.609 kB / 1.05 GB, free: 95.97 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.0011/3.089, allocations: 0.5052 MB / 1.051 GB, free: 95.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/3.089, allocations: 8.031 kB / 1.051 GB, free: 95.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006267/3.095, allocations: 367.4 kB / 1.051 GB, free: 95.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000605/3.096, allocations: 258 kB / 1.051 GB, free: 94.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/3.096, allocations: 8 kB / 1.051 GB, free: 94.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/3.096, allocations: 19.89 kB / 1.051 GB, free: 94.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001435/3.097, allocations: 481.1 kB / 1.052 GB, free: 94.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000834/3.098, allocations: 315.9 kB / 1.052 GB, free: 94.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/3.098, allocations: 0 / 1.052 GB, free: 94.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.816e-05/3.098, allocations: 0 / 1.052 GB, free: 94.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/3.098, allocations: 8 kB / 1.052 GB, free: 94.26 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.003813/3.102, allocations: 0.9379 MB / 1.053 GB, free: 93.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007098/3.103, allocations: 254.2 kB / 1.053 GB, free: 93.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000317/3.103, allocations: 135.1 kB / 1.053 GB, free: 93.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002011/3.105, allocations: 0.6567 MB / 1.054 GB, free: 92.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/3.105, allocations: 37.69 kB / 1.054 GB, free: 92.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 4.718e-06/3.105, allocations: 0 / 1.054 GB, free: 92.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.001169/3.107, allocations: 270.1 kB / 1.054 GB, free: 92.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/3.107, allocations: 77.11 kB / 1.054 GB, free: 92.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/3.107, allocations: 108.7 kB / 1.054 GB, free: 91.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/3.107, allocations: 25.7 kB / 1.054 GB, free: 91.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/3.107, allocations: 115.8 kB / 1.055 GB, free: 91.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/3.107, allocations: 104.7 kB / 1.055 GB, free: 91.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/3.107, allocations: 0 / 1.055 GB, free: 91.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.766e-05/3.107, allocations: 326.3 kB / 1.055 GB, free: 91.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/3.107, allocations: 93.52 kB / 1.055 GB, free: 91.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000323/3.108, allocations: 190.3 kB / 1.055 GB, free: 91.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/3.108, allocations: 132.2 kB / 1.055 GB, free: 91.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/3.108, allocations: 4 kB / 1.055 GB, free: 91.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001068/3.109, allocations: 321.6 kB / 1.056 GB, free: 90.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/3.109, allocations: 4 kB / 1.056 GB, free: 90.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/3.109, allocations: 4 kB / 1.056 GB, free: 90.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/3.109, allocations: 4 kB / 1.056 GB, free: 90.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008987/3.11, allocations: 75.45 kB / 1.056 GB, free: 90.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/3.11, allocations: 11.94 kB / 1.056 GB, free: 90.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005589/3.111, allocations: 31.67 kB / 1.056 GB, free: 90.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.181e-05/3.111, allocations: 12 kB / 1.056 GB, free: 90.72 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.0001689/3.111, allocations: 120.2 kB / 1.056 GB, free: 90.6 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009532/3.112, allocations: 272.5 kB / 1.056 GB, free: 90.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/3.112, allocations: 11.91 kB / 1.056 GB, free: 90.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/3.114, allocations: 344.1 kB / 1.056 GB, free: 90.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/3.114, allocations: 4 kB / 1.057 GB, free: 90.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/3.114, allocations: 0 / 1.057 GB, free: 90.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/3.114, allocations: 4 kB / 1.057 GB, free: 90.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/3.115, allocations: 325.2 kB / 1.057 GB, free: 89.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/3.115, allocations: 0 / 1.057 GB, free: 89.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008566/3.116, allocations: 54.47 kB / 1.057 GB, free: 89.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/3.116, allocations: 11.88 kB / 1.057 GB, free: 89.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-05/3.116, allocations: 10.3 kB / 1.057 GB, free: 89.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/3.116, allocations: 0 / 1.057 GB, free: 89.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/3.116, allocations: 7.984 kB / 1.057 GB, free: 89.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/3.117, allocations: 0.5114 MB / 1.057 GB, free: 89.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.809e-05/3.117, allocations: 88.95 kB / 1.057 GB, free: 89.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.535e-05/3.117, allocations: 11.98 kB / 1.057 GB, free: 89.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000708/3.118, allocations: 8 kB / 1.058 GB, free: 89.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.989e-05/3.118, allocations: 18.59 kB / 1.058 GB, free: 89.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.179e-05/3.118, allocations: 18.23 kB / 1.058 GB, free: 89.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.451e-05/3.118, allocations: 87.64 kB / 1.058 GB, free: 89.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.51e-07/3.118, allocations: 0 / 1.058 GB, free: 89.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001547/3.12, allocations: 258.4 kB / 1.058 GB, free: 88.82 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.003837/3.124, allocations: 1.876 MB / 1.06 GB, free: 87.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008038/3.124, allocations: 266 kB / 1.06 GB, free: 86.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/3.124, allocations: 0 / 1.06 GB, free: 86.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003287/3.125, allocations: 128.7 kB / 1.06 GB, free: 86.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/3.126, allocations: 72.92 kB / 1.06 GB, free: 86.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/3.128, allocations: 0.7303 MB / 1.061 GB, free: 85.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/3.129, allocations: 0.7366 MB / 1.062 GB, free: 85.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001065/3.13, allocations: 85.84 kB / 1.062 GB, free: 85.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/3.13, allocations: 61.78 kB / 1.062 GB, free: 85.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.593e-06/3.13, allocations: 0 / 1.062 GB, free: 85.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08906/3.219, allocations: 13.09 MB / 1.074 GB, free: 72.03 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002725/3.22, allocations: 142.5 kB / 1.075 GB, free: 71.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.937/7.157, allocations: 0 / 1.075 GB, free: 71.84 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat