Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.165/2.165, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.507e-05/2.5e-05, allocations: 0 / 249.7 MB, free: 14.84 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3239, allocations: 44.51 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.116/2.44, allocations: 0.7332 GB / 1.02 GB, free: 23.17 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/2.441, allocations: 72.14 kB / 1.021 GB, free: 23.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6403/3.081, allocations: 105.4 MB / 1.123 GB, free: 94.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/3.081, allocations: 0 / 1.123 GB, free: 94.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.5e-05/3.081, allocations: 4 kB / 1.123 GB, free: 94.44 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003594/3.085, allocations: 0.7673 MB / 1.124 GB, free: 93.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/3.085, allocations: 8.031 kB / 1.124 GB, free: 93.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003081/3.088, allocations: 251.4 kB / 1.124 GB, free: 93.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006454/3.089, allocations: 286.6 kB / 1.125 GB, free: 93.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/3.089, allocations: 8 kB / 1.125 GB, free: 93.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/3.089, allocations: 16 kB / 1.125 GB, free: 93.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001365/3.09, allocations: 0.6026 MB / 1.125 GB, free: 92.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/3.091, allocations: 0.5779 MB / 1.126 GB, free: 91.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/3.091, allocations: 7.938 kB / 1.126 GB, free: 91.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/3.092, allocations: 0 / 1.126 GB, free: 91.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.721e-05/3.092, allocations: 16.42 kB / 1.126 GB, free: 91.8 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.005554/3.097, allocations: 1.734 MB / 1.128 GB, free: 89.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008085/3.098, allocations: 381.2 kB / 1.128 GB, free: 89.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003791/3.098, allocations: 182 kB / 1.128 GB, free: 89.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002167/3.101, allocations: 0.9129 MB / 1.129 GB, free: 88.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/3.101, allocations: 42.52 kB / 1.129 GB, free: 88.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.096e-06/3.101, allocations: 0 / 1.129 GB, free: 88.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.01188/3.113, allocations: 2.208 MB / 1.131 GB, free: 85.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/3.113, allocations: 89.06 kB / 1.131 GB, free: 85.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/3.113, allocations: 154.3 kB / 1.131 GB, free: 85.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.599e-05/3.113, allocations: 33.62 kB / 1.132 GB, free: 85.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.068e-05/3.113, allocations: 172.1 kB / 1.132 GB, free: 85.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/3.113, allocations: 173.5 kB / 1.132 GB, free: 85.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.289e-05/3.113, allocations: 0 / 1.132 GB, free: 85.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.848e-05/3.113, allocations: 338.8 kB / 1.132 GB, free: 84.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004546/3.114, allocations: 197.5 kB / 1.132 GB, free: 84.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005255/3.114, allocations: 357.9 kB / 1.133 GB, free: 84.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006239/3.115, allocations: 233.2 kB / 1.133 GB, free: 84.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/3.115, allocations: 3.938 kB / 1.133 GB, free: 84.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001658/3.117, allocations: 0.6222 MB / 1.134 GB, free: 83.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/3.117, allocations: 12.12 kB / 1.134 GB, free: 83.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/3.117, allocations: 4 kB / 1.134 GB, free: 83.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002472/3.117, allocations: 49.7 kB / 1.134 GB, free: 83.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/3.119, allocations: 175.7 kB / 1.134 GB, free: 83.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007427/3.12, allocations: 1.089 MB / 1.135 GB, free: 82.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/3.121, allocations: 36.14 kB / 1.135 GB, free: 82.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/3.121, allocations: 35.98 kB / 1.135 GB, free: 82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002631/3.122, allocations: 124.5 kB / 1.135 GB, free: 81.88 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001496/3.123, allocations: 0.4957 MB / 1.136 GB, free: 81.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/3.123, allocations: 27.72 kB / 1.136 GB, free: 81.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/3.125, allocations: 0.6461 MB / 1.136 GB, free: 80.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/3.126, allocations: 11.95 kB / 1.136 GB, free: 80.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/3.126, allocations: 0 / 1.136 GB, free: 80.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/3.126, allocations: 3.984 kB / 1.136 GB, free: 80.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003509/3.129, allocations: 1.37 MB / 1.138 GB, free: 79.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/3.129, allocations: 4 kB / 1.138 GB, free: 79.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/3.131, allocations: 144 kB / 1.138 GB, free: 79.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000215/3.131, allocations: 41.69 kB / 1.138 GB, free: 79.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000156/3.131, allocations: 19.92 kB / 1.138 GB, free: 79.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/3.133, allocations: 2.423 MB / 1.14 GB, free: 76.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/3.133, allocations: 7.969 kB / 1.14 GB, free: 76.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/3.135, allocations: 0.9758 MB / 1.141 GB, free: 75.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/3.135, allocations: 100.9 kB / 1.141 GB, free: 75.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/3.135, allocations: 8 kB / 1.141 GB, free: 75.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/3.137, allocations: 31.95 kB / 1.141 GB, free: 75.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/3.137, allocations: 51.88 kB / 1.141 GB, free: 75.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/3.137, allocations: 35.97 kB / 1.141 GB, free: 75.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001098/3.137, allocations: 116.4 kB / 1.141 GB, free: 74.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/3.137, allocations: 0 / 1.141 GB, free: 74.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002222/3.139, allocations: 403.7 kB / 1.142 GB, free: 74.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007/3.146, allocations: 3.234 MB / 1.145 GB, free: 71.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001591/3.148, allocations: 0.5185 MB / 1.145 GB, free: 70.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/3.148, allocations: 0 / 1.145 GB, free: 70.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008494/3.149, allocations: 479.2 kB / 1.146 GB, free: 70.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/3.15, allocations: 84.95 kB / 1.146 GB, free: 70.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/3.153, allocations: 0.8926 MB / 1.147 GB, free: 69.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/3.154, allocations: 0.7932 MB / 1.148 GB, free: 68.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001987/3.156, allocations: 183.1 kB / 1.148 GB, free: 68.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000673/3.156, allocations: 131.4 kB / 1.148 GB, free: 68.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/3.156, allocations: 3.938 kB / 1.148 GB, free: 68.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09072/3.247, allocations: 21.67 MB / 1.169 GB, free: 46.34 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/3.247, allocations: 132.7 kB / 1.169 GB, free: 46.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.981/7.229, allocations: 4 kB / 1.169 GB, free: 46.13 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.MixtureGases_res.mat does not exist to compare? outputFormat=mat