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.387/2.387, allocations: 235 MB / 247.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.659e-05/4.668e-05, allocations: 11.98 kB / 305 MB, free: 5.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.406, allocations: 54.84 MB / 359.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.828/2.234, allocations: 0.6367 GB / 0.9881 GB, free: 93.09 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/2.235, allocations: 93 kB / 0.9882 GB, free: 93.04 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.111/3.346, allocations: 229.5 MB / 1.212 GB, free: 67.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.683e-06/3.346, allocations: 0 / 1.212 GB, free: 67.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.947e-05/3.346, allocations: 19.98 kB / 1.212 GB, free: 67.04 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.003544/3.349, allocations: 1.16 MB / 1.213 GB, free: 65.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/3.349, allocations: 8.031 kB / 1.213 GB, free: 65.82 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001864/3.35, allocations: 94.52 kB / 1.214 GB, free: 65.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/3.351, allocations: 143 kB / 1.214 GB, free: 65.58 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/3.352, allocations: 0.5482 MB / 1.214 GB, free: 65 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/3.352, allocations: 96.41 kB / 1.214 GB, free: 64.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/3.353, allocations: 51.97 kB / 1.214 GB, free: 64.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/3.354, allocations: 0.795 MB / 1.215 GB, free: 63.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/3.354, allocations: 11.84 kB / 1.215 GB, free: 63.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/3.354, allocations: 27.98 kB / 1.215 GB, free: 63.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.469e-05/3.354, allocations: 40.94 kB / 1.215 GB, free: 63.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/3.356, allocations: 0.5933 MB / 1.216 GB, free: 63.29 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.005754/3.362, allocations: 3.913 MB / 1.22 GB, free: 59.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007089/3.362, allocations: 315.4 kB / 1.22 GB, free: 58.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003568/3.363, allocations: 157.4 kB / 1.22 GB, free: 58.65 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/3.363, allocations: 29.05 kB / 1.22 GB, free: 58.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/3.363, allocations: 42.72 kB / 1.22 GB, free: 58.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 4.258e-06/3.363, allocations: 4 kB / 1.22 GB, free: 58.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.008236/3.371, allocations: 1.498 MB / 1.222 GB, free: 56.99 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/3.371, allocations: 140.4 kB / 1.222 GB, free: 56.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008622/3.372, allocations: 0.5265 MB / 1.222 GB, free: 56.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.021e-05/3.372, allocations: 33.7 kB / 1.222 GB, free: 56.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/3.373, allocations: 374.7 kB / 1.223 GB, free: 55.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/3.373, allocations: 149.9 kB / 1.223 GB, free: 55.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.253e-05/3.373, allocations: 16 kB / 1.223 GB, free: 55.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/3.373, allocations: 374.8 kB / 1.223 GB, free: 55.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005127/3.373, allocations: 189.5 kB / 1.223 GB, free: 55.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006651/3.374, allocations: 0.5216 MB / 1.224 GB, free: 54.47 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006657/3.375, allocations: 299.9 kB / 1.224 GB, free: 54.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/3.375, allocations: 4 kB / 1.224 GB, free: 54.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002181/3.377, allocations: 0.8605 MB / 1.225 GB, free: 53.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/3.377, allocations: 13.56 kB / 1.225 GB, free: 53.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/3.377, allocations: 12 kB / 1.225 GB, free: 53.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002188/3.379, allocations: 297.2 kB / 1.225 GB, free: 52.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008308/3.38, allocations: 135.8 kB / 1.225 GB, free: 52.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/3.382, allocations: 0.8981 MB / 1.226 GB, free: 51.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/3.383, allocations: 52.03 kB / 1.226 GB, free: 51.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/3.383, allocations: 67.98 kB / 1.226 GB, free: 51.82 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.0002228/3.383, allocations: 156.7 kB / 1.227 GB, free: 51.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/3.383, allocations: 71.11 kB / 1.227 GB, free: 51.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/3.385, allocations: 0.6586 MB / 1.227 GB, free: 50.91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/3.385, allocations: 4 kB / 1.227 GB, free: 50.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/3.385, allocations: 0 / 1.227 GB, free: 50.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/3.385, allocations: 0 / 1.227 GB, free: 50.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/3.388, allocations: 1.254 MB / 1.229 GB, free: 49.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/3.388, allocations: 0 / 1.229 GB, free: 49.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001897/3.39, allocations: 203.8 kB / 1.229 GB, free: 49.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001234/3.39, allocations: 28.94 kB / 1.229 GB, free: 49.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.724e-05/3.39, allocations: 27.94 kB / 1.229 GB, free: 49.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/3.392, allocations: 2.676 MB / 1.231 GB, free: 46.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/3.392, allocations: 8.094 kB / 1.231 GB, free: 46.35 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/3.394, allocations: 0.8269 MB / 1.232 GB, free: 45.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003685/3.394, allocations: 188.2 kB / 1.232 GB, free: 45.25 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/3.394, allocations: 11.98 kB / 1.232 GB, free: 45.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007281/3.395, allocations: 32.05 kB / 1.232 GB, free: 45.21 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/3.395, allocations: 39.89 kB / 1.232 GB, free: 45.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.093e-05/3.395, allocations: 39.98 kB / 1.232 GB, free: 45.13 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000706/3.396, allocations: 411.2 kB / 1.233 GB, free: 44.73 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/3.396, allocations: 0 / 1.233 GB, free: 44.73 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001822/3.398, allocations: 383.8 kB / 1.233 GB, free: 44.36 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.004156/3.402, allocations: 2.678 MB / 1.236 GB, free: 41.63 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001619/3.404, allocations: 0.5358 MB / 1.236 GB, free: 41.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/3.404, allocations: 0 / 1.236 GB, free: 41.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001388/3.405, allocations: 398.9 kB / 1.237 GB, free: 40.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/3.408, allocations: 310.6 kB / 1.237 GB, free: 40.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/3.419, allocations: 2.612 MB / 1.24 GB, free: 37.72 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/3.42, allocations: 0.9455 MB / 1.241 GB, free: 36.75 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001727/3.421, allocations: 265.8 kB / 1.241 GB, free: 36.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007034/3.422, allocations: 267.3 kB / 1.241 GB, free: 36.23 MB / 490.7 MB Notification: Performance of SimCode: time 1.202e-06/3.422, allocations: 4 kB / 1.241 GB, free: 36.22 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4575/3.88, allocations: 38.13 MB / 1.278 GB, free: 88.54 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/3.88, allocations: 242.8 kB / 1.279 GB, free: 88.21 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.146/8.026, allocations: 0.8438 kB / 1.279 GB, free: 88.21 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