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 1.926/1.926, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.601e-05/3.62e-05, allocations: 4 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1386, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.984/2.123, allocations: 0.6299 GB / 0.9442 GB, free: 30.96 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/2.123, allocations: 93.5 kB / 0.9443 GB, free: 30.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.422/3.545, allocations: 229.4 MB / 1.168 GB, free: 68.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.493e-06/3.545, allocations: 0 / 1.168 GB, free: 68.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.702e-05/3.545, allocations: 21.94 kB / 1.168 GB, free: 68.87 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.003835/3.549, allocations: 1.154 MB / 1.17 GB, free: 68.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/3.549, allocations: 7.375 kB / 1.17 GB, free: 68.34 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001905/3.549, allocations: 101.5 kB / 1.17 GB, free: 68.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/3.55, allocations: 133.1 kB / 1.17 GB, free: 68.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/3.552, allocations: 0.5482 MB / 1.17 GB, free: 68.03 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/3.552, allocations: 102.5 kB / 1.17 GB, free: 67.97 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/3.552, allocations: 53.53 kB / 1.17 GB, free: 67.97 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/3.554, allocations: 0.798 MB / 1.171 GB, free: 67.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/3.554, allocations: 0 / 1.171 GB, free: 67.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/3.554, allocations: 24.47 kB / 1.171 GB, free: 67.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-05/3.554, allocations: 35.14 kB / 1.171 GB, free: 67.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/3.556, allocations: 0.6066 MB / 1.172 GB, free: 67.74 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.00624/3.562, allocations: 3.91 MB / 1.176 GB, free: 65.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007691/3.563, allocations: 329.9 kB / 1.176 GB, free: 65.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003729/3.563, allocations: 165.3 kB / 1.176 GB, free: 65.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/3.563, allocations: 22.75 kB / 1.176 GB, free: 65.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/3.563, allocations: 47.16 kB / 1.176 GB, free: 65.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.276e-06/3.564, allocations: 0 / 1.176 GB, free: 65.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.008612/3.572, allocations: 1.492 MB / 1.178 GB, free: 64.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/3.572, allocations: 136.7 kB / 1.178 GB, free: 64.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009737/3.573, allocations: 0.5217 MB / 1.178 GB, free: 64.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001122/3.573, allocations: 34.08 kB / 1.178 GB, free: 64.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/3.574, allocations: 378.2 kB / 1.179 GB, free: 64.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/3.574, allocations: 154.2 kB / 1.179 GB, free: 64.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-05/3.574, allocations: 9.438 kB / 1.179 GB, free: 64.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/3.574, allocations: 374.2 kB / 1.179 GB, free: 63.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005349/3.575, allocations: 192.4 kB / 1.179 GB, free: 63.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007547/3.575, allocations: 0.5252 MB / 1.18 GB, free: 63.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006991/3.576, allocations: 295.5 kB / 1.18 GB, free: 63.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/3.576, allocations: 3.25 kB / 1.18 GB, free: 63.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002248/3.578, allocations: 0.8689 MB / 1.181 GB, free: 63.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/3.578, allocations: 17.23 kB / 1.181 GB, free: 63.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/3.579, allocations: 11.31 kB / 1.181 GB, free: 63.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002187/3.581, allocations: 306.8 kB / 1.181 GB, free: 63.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008317/3.582, allocations: 131.7 kB / 1.181 GB, free: 63.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/3.583, allocations: 0.8947 MB / 1.182 GB, free: 62.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/3.584, allocations: 47.66 kB / 1.182 GB, free: 62.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/3.584, allocations: 70.44 kB / 1.182 GB, free: 62.69 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.0002579/3.585, allocations: 154.9 kB / 1.183 GB, free: 62.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/3.585, allocations: 67.81 kB / 1.183 GB, free: 62.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/3.587, allocations: 0.6668 MB / 1.183 GB, free: 62.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/3.587, allocations: 3.75 kB / 1.183 GB, free: 62.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/3.587, allocations: 0 / 1.183 GB, free: 62.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/3.587, allocations: 4.062 kB / 1.183 GB, free: 62.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002944/3.59, allocations: 1.252 MB / 1.185 GB, free: 62.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/3.59, allocations: 3.875 kB / 1.185 GB, free: 62.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001978/3.592, allocations: 209.1 kB / 1.185 GB, free: 62.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001502/3.592, allocations: 27.38 kB / 1.185 GB, free: 62.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.367e-05/3.592, allocations: 22.22 kB / 1.185 GB, free: 62.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/3.595, allocations: 2.674 MB / 1.187 GB, free: 59.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/3.595, allocations: 6.031 kB / 1.187 GB, free: 59.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/3.596, allocations: 0.843 MB / 1.188 GB, free: 59.13 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005085/3.597, allocations: 181.5 kB / 1.188 GB, free: 59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/3.597, allocations: 6.906 kB / 1.188 GB, free: 59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000761/3.598, allocations: 31.89 kB / 1.188 GB, free: 59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/3.598, allocations: 43.25 kB / 1.189 GB, free: 59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.756e-05/3.598, allocations: 45.53 kB / 1.189 GB, free: 59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007582/3.599, allocations: 413.5 kB / 1.189 GB, free: 58.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/3.599, allocations: 0 / 1.189 GB, free: 58.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002077/3.601, allocations: 379.2 kB / 1.189 GB, free: 58.87 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (39): * Single equations (assignments): 37 * 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.004593/3.606, allocations: 2.639 MB / 1.192 GB, free: 57.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001799/3.608, allocations: 0.5345 MB / 1.192 GB, free: 57.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/3.608, allocations: 3.969 kB / 1.192 GB, free: 57.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001445/3.609, allocations: 395.9 kB / 1.193 GB, free: 57.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002755/3.612, allocations: 320.5 kB / 1.193 GB, free: 57.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/3.623, allocations: 2.609 MB / 1.196 GB, free: 57.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/3.624, allocations: 0.9444 MB / 1.197 GB, free: 56.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001808/3.626, allocations: 274.3 kB / 1.197 GB, free: 56.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007444/3.626, allocations: 266.4 kB / 1.197 GB, free: 56.38 MB / 426.7 MB Notification: Performance of SimCode: time 1.422e-06/3.626, allocations: 0 / 1.197 GB, free: 56.38 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1275/3.754, allocations: 38.13 MB / 1.234 GB, free: 51.37 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003134/3.754, allocations: 248.9 kB / 1.235 GB, free: 51.03 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.088/7.843, allocations: 0 / 1.235 GB, free: 51.03 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