Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.403/2.403, allocations: 270 MB / 283.6 MB, free: 3.145 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.642e-05/3.649e-05, allocations: 7.938 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1403, allocations: 61.88 MB / 410.3 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.376/2.516, allocations: 0.7079 GB / 1.109 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/2.516, allocations: 74.16 kB / 1.109 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.148/2.664, allocations: 40.6 MB / 1.148 GB, free: 73.27 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.634e-06/2.664, allocations: 0 / 1.148 GB, free: 73.27 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.335e-05/2.664, allocations: 4 kB / 1.148 GB, free: 73.27 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.001032/2.665, allocations: 0.5102 MB / 1.149 GB, free: 72.71 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/2.665, allocations: 12.03 kB / 1.149 GB, free: 72.7 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.053e-05/2.666, allocations: 50.55 kB / 1.149 GB, free: 72.64 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005203/2.671, allocations: 375.3 kB / 1.149 GB, free: 72.27 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005182/2.671, allocations: 266.7 kB / 1.15 GB, free: 71.97 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/2.671, allocations: 12.38 kB / 1.15 GB, free: 71.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/2.671, allocations: 16 kB / 1.15 GB, free: 71.95 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/2.673, allocations: 461.2 kB / 1.15 GB, free: 71.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/2.673, allocations: 0 / 1.15 GB, free: 71.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.119e-05/2.673, allocations: 8 kB / 1.15 GB, free: 71.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/2.673, allocations: 12 kB / 1.15 GB, free: 71.46 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/2.674, allocations: 467.8 kB / 1.15 GB, free: 71.01 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.003164/2.677, allocations: 0.9863 MB / 1.151 GB, free: 69.96 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006863/2.678, allocations: 257.2 kB / 1.152 GB, free: 69.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/2.678, allocations: 141.6 kB / 1.152 GB, free: 69.55 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001918/2.68, allocations: 0.7542 MB / 1.153 GB, free: 68.67 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/2.68, allocations: 34.56 kB / 1.153 GB, free: 68.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=29): time 3.577e-06/2.68, allocations: 4 kB / 1.153 GB, free: 68.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29): time 0.0008734/2.681, allocations: 271.4 kB / 1.153 GB, free: 68.35 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/2.681, allocations: 89.03 kB / 1.153 GB, free: 68.25 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.648e-05/2.681, allocations: 101 kB / 1.153 GB, free: 68.14 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.751e-05/2.681, allocations: 29.7 kB / 1.153 GB, free: 68.11 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/2.681, allocations: 116.4 kB / 1.153 GB, free: 67.99 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.611e-05/2.681, allocations: 110.5 kB / 1.153 GB, free: 67.88 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/2.682, allocations: 4 kB / 1.153 GB, free: 67.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.055e-05/2.682, allocations: 338.7 kB / 1.154 GB, free: 67.54 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/2.682, allocations: 100.6 kB / 1.154 GB, free: 67.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/2.682, allocations: 183.3 kB / 1.154 GB, free: 67.22 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/2.683, allocations: 136 kB / 1.154 GB, free: 67.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/2.683, allocations: 0 / 1.154 GB, free: 67.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008581/2.683, allocations: 353.1 kB / 1.154 GB, free: 66.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/2.683, allocations: 4 kB / 1.154 GB, free: 66.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/2.684, allocations: 4 kB / 1.154 GB, free: 66.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/2.684, allocations: 4 kB / 1.154 GB, free: 66.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007245/2.684, allocations: 71.89 kB / 1.154 GB, free: 66.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/2.684, allocations: 7.938 kB / 1.154 GB, free: 66.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/2.685, allocations: 40 kB / 1.154 GB, free: 66.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.168e-05/2.685, allocations: 19.98 kB / 1.154 GB, free: 66.59 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.0001564/2.685, allocations: 124.9 kB / 1.155 GB, free: 66.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/2.685, allocations: 11.91 kB / 1.155 GB, free: 66.45 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/2.686, allocations: 363.6 kB / 1.155 GB, free: 66.08 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/2.686, allocations: 4 kB / 1.155 GB, free: 66.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/2.686, allocations: 0 / 1.155 GB, free: 66.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/2.686, allocations: 3.984 kB / 1.155 GB, free: 66.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009437/2.687, allocations: 356.5 kB / 1.155 GB, free: 65.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/2.687, allocations: 0 / 1.155 GB, free: 65.67 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007076/2.688, allocations: 63.89 kB / 1.155 GB, free: 65.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/2.688, allocations: 0 / 1.155 GB, free: 65.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-05/2.688, allocations: 8 kB / 1.155 GB, free: 65.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/2.688, allocations: 7.984 kB / 1.155 GB, free: 65.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/2.688, allocations: 7.984 kB / 1.155 GB, free: 65.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/2.689, allocations: 0.5313 MB / 1.156 GB, free: 65.04 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/2.689, allocations: 88.95 kB / 1.156 GB, free: 64.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.182e-05/2.689, allocations: 8.188 kB / 1.156 GB, free: 64.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006172/2.69, allocations: 27.83 kB / 1.156 GB, free: 64.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/2.69, allocations: 27.84 kB / 1.156 GB, free: 64.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-05/2.69, allocations: 19.98 kB / 1.156 GB, free: 64.85 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.675e-05/2.69, allocations: 87.28 kB / 1.156 GB, free: 64.76 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.71e-07/2.69, allocations: 0 / 1.156 GB, free: 64.76 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001343/2.692, allocations: 267.7 kB / 1.156 GB, free: 64.5 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.003195/2.695, allocations: 1.795 MB / 1.158 GB, free: 62.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007615/2.696, allocations: 276 kB / 1.158 GB, free: 62.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/2.696, allocations: 4 kB / 1.158 GB, free: 62.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002982/2.696, allocations: 128.2 kB / 1.159 GB, free: 62.28 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009252/2.697, allocations: 80.47 kB / 1.159 GB, free: 62.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/2.699, allocations: 0.7514 MB / 1.159 GB, free: 61.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/2.699, allocations: 0.7478 MB / 1.16 GB, free: 60.63 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008233/2.7, allocations: 86.17 kB / 1.16 GB, free: 60.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/2.7, allocations: 59.42 kB / 1.16 GB, free: 60.49 MB / 0.5261 GB Notification: Performance of SimCode: time 2.685e-06/2.7, allocations: 0 / 1.16 GB, free: 60.49 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07404/2.774, allocations: 19.39 MB / 1.179 GB, free: 41.19 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002698/2.775, allocations: 146.4 kB / 1.179 GB, free: 40.97 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.44/6.214, allocations: 4 kB / 1.179 GB, free: 40.96 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat