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.102/2.102, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.538e-05/3.55e-05, allocations: 7.375 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1086, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.026/2.135, allocations: 0.6299 GB / 0.9443 GB, free: 30.54 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003459/2.135, allocations: 90.38 kB / 0.9444 GB, free: 30.49 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.406/3.541, allocations: 229.4 MB / 1.168 GB, free: 68.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.633e-06/3.541, allocations: 0 / 1.168 GB, free: 68.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.712e-05/3.541, allocations: 23.69 kB / 1.168 GB, free: 68.66 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.003972/3.545, allocations: 1.149 MB / 1.17 GB, free: 68.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/3.545, allocations: 9.469 kB / 1.17 GB, free: 68.12 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002184/3.546, allocations: 100.4 kB / 1.17 GB, free: 68.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/3.547, allocations: 128.4 kB / 1.17 GB, free: 68.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/3.549, allocations: 0.5542 MB / 1.17 GB, free: 67.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/3.549, allocations: 104.8 kB / 1.17 GB, free: 67.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/3.549, allocations: 53.42 kB / 1.17 GB, free: 67.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/3.551, allocations: 0.7867 MB / 1.171 GB, free: 67.53 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/3.551, allocations: 6.219 kB / 1.171 GB, free: 67.53 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/3.551, allocations: 23.09 kB / 1.171 GB, free: 67.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.104e-05/3.551, allocations: 39.78 kB / 1.171 GB, free: 67.53 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/3.553, allocations: 0.5896 MB / 1.172 GB, free: 67.53 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.006068/3.559, allocations: 3.91 MB / 1.176 GB, free: 64.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007652/3.56, allocations: 320.5 kB / 1.176 GB, free: 64.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003826/3.56, allocations: 172.7 kB / 1.176 GB, free: 64.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/3.56, allocations: 24.61 kB / 1.176 GB, free: 64.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/3.56, allocations: 41.95 kB / 1.176 GB, free: 64.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.626e-06/3.56, allocations: 0 / 1.176 GB, free: 64.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.008588/3.569, allocations: 1.502 MB / 1.178 GB, free: 64.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/3.569, allocations: 132.5 kB / 1.178 GB, free: 64.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008901/3.57, allocations: 0.5201 MB / 1.178 GB, free: 64.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.797e-05/3.57, allocations: 36.02 kB / 1.178 GB, free: 64.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002748/3.57, allocations: 374.4 kB / 1.179 GB, free: 63.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/3.57, allocations: 153.5 kB / 1.179 GB, free: 63.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/3.57, allocations: 13.62 kB / 1.179 GB, free: 63.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/3.571, allocations: 375.3 kB / 1.179 GB, free: 63.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000499/3.571, allocations: 193.9 kB / 1.179 GB, free: 63.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006748/3.572, allocations: 0.5178 MB / 1.18 GB, free: 63.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006785/3.572, allocations: 301.1 kB / 1.18 GB, free: 63.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/3.573, allocations: 3.969 kB / 1.18 GB, free: 63.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002104/3.575, allocations: 0.8395 MB / 1.181 GB, free: 63.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/3.575, allocations: 12.08 kB / 1.181 GB, free: 63.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/3.575, allocations: 13.38 kB / 1.181 GB, free: 63.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002138/3.577, allocations: 303.2 kB / 1.181 GB, free: 63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008088/3.578, allocations: 126.7 kB / 1.181 GB, free: 63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/3.579, allocations: 0.8933 MB / 1.182 GB, free: 62.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/3.58, allocations: 46.39 kB / 1.182 GB, free: 62.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/3.58, allocations: 71.14 kB / 1.182 GB, free: 62.48 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.0002415/3.581, allocations: 166.6 kB / 1.183 GB, free: 62.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/3.581, allocations: 67.34 kB / 1.183 GB, free: 62.33 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/3.583, allocations: 0.6577 MB / 1.183 GB, free: 62.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/3.583, allocations: 7.203 kB / 1.183 GB, free: 62.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/3.583, allocations: 0 / 1.183 GB, free: 62.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/3.583, allocations: 2.469 kB / 1.183 GB, free: 62.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/3.586, allocations: 1.248 MB / 1.185 GB, free: 61.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/3.586, allocations: 0 / 1.185 GB, free: 61.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001981/3.588, allocations: 212.3 kB / 1.185 GB, free: 61.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001332/3.588, allocations: 24 kB / 1.185 GB, free: 61.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.939e-05/3.588, allocations: 19.94 kB / 1.185 GB, free: 61.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/3.59, allocations: 2.673 MB / 1.187 GB, free: 59.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/3.59, allocations: 4.344 kB / 1.187 GB, free: 59.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/3.592, allocations: 0.8452 MB / 1.188 GB, free: 58.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004274/3.592, allocations: 181.7 kB / 1.188 GB, free: 58.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/3.593, allocations: 10.44 kB / 1.188 GB, free: 58.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007923/3.593, allocations: 36.56 kB / 1.188 GB, free: 58.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/3.593, allocations: 36.95 kB / 1.188 GB, free: 58.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.732e-05/3.594, allocations: 45.67 kB / 1.189 GB, free: 58.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007692/3.594, allocations: 407.9 kB / 1.189 GB, free: 58.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.11e-07/3.594, allocations: 0 / 1.189 GB, free: 58.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002089/3.596, allocations: 383.8 kB / 1.189 GB, free: 58.66 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.004722/3.601, allocations: 2.66 MB / 1.192 GB, free: 57.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001823/3.603, allocations: 0.5138 MB / 1.192 GB, free: 57.37 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/3.603, allocations: 3.156 kB / 1.192 GB, free: 57.37 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00156/3.605, allocations: 389.5 kB / 1.193 GB, free: 57.26 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/3.608, allocations: 326.4 kB / 1.193 GB, free: 57.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/3.619, allocations: 2.602 MB / 1.196 GB, free: 56.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/3.62, allocations: 0.9422 MB / 1.197 GB, free: 56.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001917/3.622, allocations: 268.2 kB / 1.197 GB, free: 56.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007806/3.623, allocations: 265.6 kB / 1.197 GB, free: 56.16 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/3.623, allocations: 0 / 1.197 GB, free: 56.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09455/3.717, allocations: 38.16 MB / 1.234 GB, free: 50.84 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002565/3.717, allocations: 243.4 kB / 1.235 GB, free: 50.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.27/7.988, allocations: 0 / 1.235 GB, free: 50.5 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