Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.431/2.431, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.896e-05/4.901e-05, allocations: 0 / 305 MB, free: 5.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.3998, allocations: 54.86 MB / 359.9 MB, free: 3.188 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.858/2.258, allocations: 0.6367 GB / 0.9881 GB, free: 93.57 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/2.259, allocations: 92.53 kB / 0.9882 GB, free: 93.52 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.094/3.352, allocations: 229.5 MB / 1.212 GB, free: 67.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.563e-06/3.352, allocations: 0 / 1.212 GB, free: 67.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.949e-05/3.352, allocations: 19.94 kB / 1.212 GB, free: 67.52 MB / 490.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.003723/3.356, allocations: 1.15 MB / 1.213 GB, free: 66.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/3.356, allocations: 15.97 kB / 1.214 GB, free: 66.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001933/3.356, allocations: 98.5 kB / 1.214 GB, free: 66.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/3.358, allocations: 131 kB / 1.214 GB, free: 66.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/3.359, allocations: 0.5405 MB / 1.214 GB, free: 65.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/3.359, allocations: 108.4 kB / 1.214 GB, free: 65.37 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/3.36, allocations: 47.91 kB / 1.214 GB, free: 65.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/3.361, allocations: 0.7852 MB / 1.215 GB, free: 64.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/3.361, allocations: 7.953 kB / 1.215 GB, free: 64.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/3.361, allocations: 31.92 kB / 1.215 GB, free: 64.42 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.642e-05/3.361, allocations: 36.98 kB / 1.215 GB, free: 64.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/3.363, allocations: 0.5874 MB / 1.216 GB, free: 63.79 MB / 490.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.005975/3.369, allocations: 3.91 MB / 1.22 GB, free: 59.63 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007563/3.37, allocations: 315.1 kB / 1.22 GB, free: 59.31 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000375/3.37, allocations: 167.1 kB / 1.22 GB, free: 59.15 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/3.37, allocations: 25.05 kB / 1.22 GB, free: 59.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/3.37, allocations: 38.84 kB / 1.22 GB, free: 59.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 4.308e-06/3.37, allocations: 0 / 1.22 GB, free: 59.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.008417/3.379, allocations: 1.517 MB / 1.222 GB, free: 57.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/3.379, allocations: 136.5 kB / 1.222 GB, free: 57.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000886/3.38, allocations: 0.5149 MB / 1.222 GB, free: 56.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.493e-05/3.38, allocations: 29.7 kB / 1.222 GB, free: 56.76 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/3.38, allocations: 378.7 kB / 1.223 GB, free: 56.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/3.38, allocations: 141.9 kB / 1.223 GB, free: 56.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/3.38, allocations: 16 kB / 1.223 GB, free: 56.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/3.38, allocations: 374.8 kB / 1.223 GB, free: 55.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004976/3.381, allocations: 197.5 kB / 1.223 GB, free: 55.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006723/3.382, allocations: 0.5122 MB / 1.224 GB, free: 54.99 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006888/3.382, allocations: 299.9 kB / 1.224 GB, free: 54.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/3.382, allocations: 0 / 1.224 GB, free: 54.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002204/3.385, allocations: 0.8378 MB / 1.225 GB, free: 53.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/3.385, allocations: 17.47 kB / 1.225 GB, free: 53.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/3.385, allocations: 8 kB / 1.225 GB, free: 53.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002215/3.387, allocations: 304.6 kB / 1.225 GB, free: 53.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008859/3.388, allocations: 131.8 kB / 1.225 GB, free: 53.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/3.389, allocations: 0.8943 MB / 1.226 GB, free: 52.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/3.391, allocations: 51.97 kB / 1.226 GB, free: 52.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/3.391, allocations: 71.98 kB / 1.226 GB, free: 52.36 MB / 490.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.0002455/3.391, allocations: 156.7 kB / 1.227 GB, free: 52.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/3.391, allocations: 71.11 kB / 1.227 GB, free: 52.13 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002213/3.393, allocations: 0.6585 MB / 1.227 GB, free: 51.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/3.393, allocations: 4 kB / 1.227 GB, free: 51.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/3.393, allocations: 0 / 1.227 GB, free: 51.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/3.393, allocations: 4 kB / 1.227 GB, free: 51.44 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002558/3.396, allocations: 1.246 MB / 1.228 GB, free: 50.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/3.396, allocations: 160 / 1.228 GB, free: 50.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00198/3.398, allocations: 211.8 kB / 1.229 GB, free: 49.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/3.398, allocations: 28.8 kB / 1.229 GB, free: 49.86 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-05/3.398, allocations: 23.92 kB / 1.229 GB, free: 49.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/3.4, allocations: 2.673 MB / 1.231 GB, free: 46.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/3.4, allocations: 4.031 kB / 1.231 GB, free: 46.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/3.402, allocations: 0.831 MB / 1.232 GB, free: 46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003839/3.402, allocations: 184.3 kB / 1.232 GB, free: 45.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/3.402, allocations: 15.98 kB / 1.232 GB, free: 45.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007228/3.403, allocations: 27.89 kB / 1.232 GB, free: 45.76 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/3.403, allocations: 35.95 kB / 1.232 GB, free: 45.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.828e-05/3.403, allocations: 39.98 kB / 1.232 GB, free: 45.69 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007277/3.404, allocations: 415.2 kB / 1.233 GB, free: 45.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.31e-07/3.404, allocations: 0 / 1.233 GB, free: 45.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001908/3.406, allocations: 383.8 kB / 1.233 GB, free: 44.91 MB / 490.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.004169/3.41, allocations: 2.679 MB / 1.236 GB, free: 42.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001672/3.412, allocations: 0.5195 MB / 1.236 GB, free: 41.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/3.412, allocations: 0 / 1.236 GB, free: 41.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001453/3.414, allocations: 386.6 kB / 1.237 GB, free: 41.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/3.416, allocations: 317.7 kB / 1.237 GB, free: 40.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/3.428, allocations: 2.612 MB / 1.24 GB, free: 38.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/3.428, allocations: 0.9455 MB / 1.24 GB, free: 37.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001745/3.43, allocations: 265.8 kB / 1.241 GB, free: 37.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007029/3.431, allocations: 263.3 kB / 1.241 GB, free: 36.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.243e-06/3.431, allocations: 0 / 1.241 GB, free: 36.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.447/3.878, allocations: 38.15 MB / 1.278 GB, free: 88.23 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/3.878, allocations: 245.9 kB / 1.278 GB, free: 87.89 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.243/8.121, allocations: 4.812 kB / 1.278 GB, free: 87.89 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat