Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.077/2.077, allocations: 209.4 MB / 216.5 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.999e-05/3.044e-05, allocations: 0 / 267.6 MB, free: 4.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1235, allocations: 48.71 MB / 316.3 MB, free: 4.129 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.963/2.087, allocations: 0.6294 GB / 0.9383 GB, free: 30.12 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/2.087, allocations: 91.31 kB / 0.9384 GB, free: 30.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.425/3.512, allocations: 226.8 MB / 1.16 GB, free: 71.08 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.963e-06/3.512, allocations: 0 / 1.16 GB, free: 71.08 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001126/3.512, allocations: 20.61 kB / 1.16 GB, free: 71.08 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.004725/3.517, allocations: 1.154 MB / 1.161 GB, free: 70.62 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/3.517, allocations: 12.19 kB / 1.161 GB, free: 70.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/3.519, allocations: 134.6 kB / 1.161 GB, free: 70.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/3.52, allocations: 0.5506 MB / 1.162 GB, free: 70.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/3.521, allocations: 83.25 kB / 1.162 GB, free: 70.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/3.521, allocations: 26.31 kB / 1.162 GB, free: 70.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001357/3.522, allocations: 0.5298 MB / 1.162 GB, free: 70.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/3.524, allocations: 0.7211 MB / 1.163 GB, free: 70.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/3.524, allocations: 0 / 1.163 GB, free: 70.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/3.524, allocations: 6.031 kB / 1.163 GB, free: 70.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.242e-05/3.524, allocations: 43.97 kB / 1.163 GB, free: 70.05 MB / 426.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.005989/3.53, allocations: 3.878 MB / 1.167 GB, free: 67.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006068/3.53, allocations: 242 kB / 1.167 GB, free: 67.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/3.531, allocations: 125.1 kB / 1.167 GB, free: 67.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/3.531, allocations: 24.23 kB / 1.167 GB, free: 67.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/3.531, allocations: 37.8 kB / 1.167 GB, free: 67.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.266e-06/3.531, allocations: 2.625 kB / 1.167 GB, free: 67.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.008281/3.539, allocations: 1.418 MB / 1.169 GB, free: 66.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/3.539, allocations: 131.7 kB / 1.169 GB, free: 66.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007753/3.54, allocations: 470.8 kB / 1.169 GB, free: 66.69 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.86e-05/3.54, allocations: 28.27 kB / 1.169 GB, free: 66.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/3.54, allocations: 401.8 kB / 1.17 GB, free: 66.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/3.541, allocations: 121.6 kB / 1.17 GB, free: 66.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/3.541, allocations: 0 / 1.17 GB, free: 66.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/3.541, allocations: 372.2 kB / 1.17 GB, free: 66.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003985/3.541, allocations: 180.1 kB / 1.17 GB, free: 66.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005691/3.542, allocations: 0.5098 MB / 1.171 GB, free: 65.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009525/3.543, allocations: 332.3 kB / 1.171 GB, free: 65.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/3.543, allocations: 6.5 kB / 1.171 GB, free: 65.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002163/3.545, allocations: 0.8216 MB / 1.172 GB, free: 65.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/3.545, allocations: 15.11 kB / 1.172 GB, free: 65.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/3.545, allocations: 10.84 kB / 1.172 GB, free: 65.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001901/3.547, allocations: 268.1 kB / 1.172 GB, free: 65.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009027/3.548, allocations: 137.8 kB / 1.172 GB, free: 65.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/3.55, allocations: 0.9175 MB / 1.173 GB, free: 65.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/3.551, allocations: 33.92 kB / 1.173 GB, free: 65.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/3.551, allocations: 69.89 kB / 1.173 GB, free: 65.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002563/3.551, allocations: 141.1 kB / 1.173 GB, free: 64.94 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001275/3.553, allocations: 417.3 kB / 1.174 GB, free: 64.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/3.553, allocations: 58.66 kB / 1.174 GB, free: 64.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/3.554, allocations: 0.5059 MB / 1.174 GB, free: 64.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/3.554, allocations: 7.438 kB / 1.174 GB, free: 64.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/3.554, allocations: 3.953 kB / 1.174 GB, free: 64.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/3.554, allocations: 4.906 kB / 1.174 GB, free: 64.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/3.556, allocations: 0.9578 MB / 1.175 GB, free: 64.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/3.556, allocations: 3.953 kB / 1.175 GB, free: 64.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001846/3.558, allocations: 194.4 kB / 1.176 GB, free: 64.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001174/3.558, allocations: 28.38 kB / 1.176 GB, free: 64.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.407e-05/3.559, allocations: 11.59 kB / 1.176 GB, free: 64.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/3.56, allocations: 2.58 MB / 1.178 GB, free: 62.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/3.56, allocations: 3.281 kB / 1.178 GB, free: 62.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/3.562, allocations: 0.6723 MB / 1.179 GB, free: 61.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000362/3.562, allocations: 172 kB / 1.179 GB, free: 61.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/3.562, allocations: 0 / 1.179 GB, free: 61.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007094/3.563, allocations: 20.81 kB / 1.179 GB, free: 61.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/3.563, allocations: 33.95 kB / 1.179 GB, free: 61.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.976e-05/3.563, allocations: 37.17 kB / 1.179 GB, free: 61.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005641/3.564, allocations: 345.3 kB / 1.179 GB, free: 61.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.41e-07/3.564, allocations: 2.531 kB / 1.179 GB, free: 61.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001768/3.566, allocations: 346.6 kB / 1.18 GB, free: 61.58 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004139/3.57, allocations: 2.368 MB / 1.182 GB, free: 60.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001539/3.571, allocations: 493.1 kB / 1.182 GB, free: 60.65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/3.572, allocations: 0 / 1.182 GB, free: 60.65 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001302/3.573, allocations: 353.5 kB / 1.183 GB, free: 60.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/3.575, allocations: 233.7 kB / 1.183 GB, free: 60.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/3.585, allocations: 2.488 MB / 1.185 GB, free: 60.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/3.586, allocations: 0.941 MB / 1.186 GB, free: 59.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001608/3.588, allocations: 250.3 kB / 1.187 GB, free: 59.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006643/3.588, allocations: 252.3 kB / 1.187 GB, free: 59.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.272e-06/3.588, allocations: 0 / 1.187 GB, free: 59.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08311/3.671, allocations: 25.55 MB / 1.212 GB, free: 58.27 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/3.672, allocations: 193.2 kB / 1.212 GB, free: 58.08 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.488/7.16, allocations: 0 / 1.212 GB, free: 58.08 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat