Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.309/2.309, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.49e-05/3.516e-05, allocations: 3.938 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.133, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.293/2.426, allocations: 0.7079 GB / 1.109 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/2.426, allocations: 72.41 kB / 1.109 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1439/2.57, allocations: 40.61 MB / 1.148 GB, free: 73.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.413e-06/2.57, allocations: 0 / 1.148 GB, free: 73.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.345e-05/2.571, allocations: 8 kB / 1.148 GB, free: 73.49 MB / 0.5261 GB 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.001008/2.572, allocations: 0.5024 MB / 1.149 GB, free: 72.94 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/2.572, allocations: 12.03 kB / 1.149 GB, free: 72.93 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.467e-05/2.572, allocations: 50.55 kB / 1.149 GB, free: 72.87 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005105/2.577, allocations: 379.3 kB / 1.149 GB, free: 72.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004936/2.577, allocations: 270.7 kB / 1.15 GB, free: 72.19 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/2.577, allocations: 12.38 kB / 1.15 GB, free: 72.18 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/2.577, allocations: 20 kB / 1.15 GB, free: 72.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/2.579, allocations: 449.3 kB / 1.15 GB, free: 71.71 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/2.579, allocations: 3.938 kB / 1.15 GB, free: 71.71 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.265e-05/2.579, allocations: 12 kB / 1.15 GB, free: 71.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/2.579, allocations: 4 kB / 1.15 GB, free: 71.69 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/2.58, allocations: 467.8 kB / 1.15 GB, free: 71.23 MB / 0.5261 GB 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.003066/2.583, allocations: 0.9824 MB / 1.151 GB, free: 70.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006571/2.584, allocations: 265.1 kB / 1.152 GB, free: 69.92 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/2.584, allocations: 137.7 kB / 1.152 GB, free: 69.78 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001905/2.586, allocations: 0.7542 MB / 1.153 GB, free: 68.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/2.586, allocations: 42.56 kB / 1.153 GB, free: 68.84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=29): time 3.356e-06/2.586, allocations: 0 / 1.153 GB, free: 68.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29): time 0.0008465/2.587, allocations: 279.3 kB / 1.153 GB, free: 68.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/2.587, allocations: 77.11 kB / 1.153 GB, free: 68.47 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.895e-05/2.587, allocations: 101 kB / 1.153 GB, free: 68.37 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.805e-05/2.587, allocations: 33.7 kB / 1.153 GB, free: 68.33 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/2.587, allocations: 116.5 kB / 1.153 GB, free: 68.21 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/2.587, allocations: 110.4 kB / 1.153 GB, free: 68.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/2.587, allocations: 8 kB / 1.153 GB, free: 68.09 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.877e-05/2.587, allocations: 334.7 kB / 1.154 GB, free: 67.76 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/2.588, allocations: 104.6 kB / 1.154 GB, free: 67.65 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/2.588, allocations: 179.3 kB / 1.154 GB, free: 67.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/2.588, allocations: 136 kB / 1.154 GB, free: 67.31 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/2.588, allocations: 4 kB / 1.154 GB, free: 67.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008239/2.589, allocations: 349.1 kB / 1.154 GB, free: 66.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/2.589, allocations: 4 kB / 1.154 GB, free: 66.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/2.589, allocations: 4 kB / 1.154 GB, free: 66.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/2.589, allocations: 4 kB / 1.154 GB, free: 66.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000695/2.59, allocations: 80.14 kB / 1.154 GB, free: 66.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/2.59, allocations: 12 kB / 1.154 GB, free: 66.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004535/2.59, allocations: 31.67 kB / 1.154 GB, free: 66.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.406e-05/2.59, allocations: 16 kB / 1.154 GB, free: 66.81 MB / 0.5261 GB 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.0001368/2.591, allocations: 124.9 kB / 1.155 GB, free: 66.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/2.591, allocations: 11.91 kB / 1.155 GB, free: 66.67 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/2.592, allocations: 358.4 kB / 1.155 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/2.592, allocations: 4 kB / 1.155 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/2.592, allocations: 0 / 1.155 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/2.592, allocations: 3.984 kB / 1.155 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008453/2.593, allocations: 356.5 kB / 1.155 GB, free: 65.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/2.593, allocations: 0 / 1.155 GB, free: 65.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006745/2.593, allocations: 63.89 kB / 1.155 GB, free: 65.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/2.593, allocations: 0 / 1.155 GB, free: 65.84 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.013e-05/2.593, allocations: 15.98 kB / 1.155 GB, free: 65.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/2.594, allocations: 8 kB / 1.155 GB, free: 65.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/2.594, allocations: 0 / 1.155 GB, free: 65.81 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009451/2.594, allocations: 0.5318 MB / 1.156 GB, free: 65.26 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/2.595, allocations: 88.95 kB / 1.156 GB, free: 65.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.899e-05/2.595, allocations: 8.062 kB / 1.156 GB, free: 65.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005697/2.595, allocations: 27.83 kB / 1.156 GB, free: 65.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/2.595, allocations: 23.91 kB / 1.156 GB, free: 65.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.245e-05/2.595, allocations: 15.98 kB / 1.156 GB, free: 65.08 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.661e-05/2.595, allocations: 91.58 kB / 1.156 GB, free: 64.99 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.91e-07/2.595, allocations: 0 / 1.156 GB, free: 64.99 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001303/2.597, allocations: 267.8 kB / 1.156 GB, free: 64.73 MB / 0.5261 GB 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.002963/2.6, allocations: 1.813 MB / 1.158 GB, free: 62.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007183/2.6, allocations: 264.1 kB / 1.158 GB, free: 62.63 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/2.6, allocations: 3.938 kB / 1.158 GB, free: 62.63 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002875/2.601, allocations: 132.8 kB / 1.159 GB, free: 62.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009038/2.602, allocations: 75.91 kB / 1.159 GB, free: 62.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/2.604, allocations: 0.7514 MB / 1.159 GB, free: 61.63 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/2.604, allocations: 0.744 MB / 1.16 GB, free: 60.86 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008315/2.605, allocations: 77.97 kB / 1.16 GB, free: 60.79 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/2.605, allocations: 63.41 kB / 1.16 GB, free: 60.72 MB / 0.5261 GB Notification: Performance of SimCode: time 2.064e-06/2.605, allocations: 0 / 1.16 GB, free: 60.72 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06874/2.674, allocations: 19.38 MB / 1.179 GB, free: 41.42 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002827/2.674, allocations: 155.1 kB / 1.179 GB, free: 41.19 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.205/5.879, allocations: 0 / 1.179 GB, free: 41.19 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat