Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.514/2.514, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.87e-05/3.875e-05, allocations: 4 kB / 323.5 MB, free: 4.203 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4408/0.4408, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.564/3.005, allocations: 0.8269 GB / 1.2 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/3.005, allocations: 92.12 kB / 1.2 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.084/7.089, allocations: 0.737 GB / 1.937 GB, free: 81.14 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.054e-06/7.089, allocations: 0 / 1.937 GB, free: 81.14 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.402e-05/7.089, allocations: 23.81 kB / 1.937 GB, free: 81.14 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005167/7.094, allocations: 1.381 MB / 1.939 GB, free: 80.76 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/7.094, allocations: 8.281 kB / 1.939 GB, free: 80.76 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002907/7.094, allocations: 127.4 kB / 1.939 GB, free: 80.72 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002169/7.097, allocations: 280.5 kB / 1.939 GB, free: 80.68 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/7.099, allocations: 0.6684 MB / 1.94 GB, free: 80.44 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/7.099, allocations: 118.2 kB / 1.94 GB, free: 80.38 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/7.099, allocations: 71.69 kB / 1.94 GB, free: 80.38 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002823/7.102, allocations: 1.213 MB / 1.941 GB, free: 80.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.775e-05/7.102, allocations: 3.281 kB / 1.941 GB, free: 80.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/7.102, allocations: 34.48 kB / 1.941 GB, free: 80.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/7.103, allocations: 69.84 kB / 1.941 GB, free: 80.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/7.105, allocations: 0.9973 MB / 1.942 GB, free: 80.14 MB / 0.5105 GB 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.009137/7.114, allocations: 4.844 MB / 1.947 GB, free: 77.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006188/7.115, allocations: 261.4 kB / 1.947 GB, free: 77.37 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/7.115, allocations: 139.6 kB / 1.947 GB, free: 77.36 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003369/7.115, allocations: 240.8 kB / 1.948 GB, free: 77.17 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/7.116, allocations: 38.67 kB / 1.948 GB, free: 77.13 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.725e-06/7.116, allocations: 0 / 1.948 GB, free: 77.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.009262/7.125, allocations: 1.603 MB / 1.949 GB, free: 76.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/7.125, allocations: 142.1 kB / 1.949 GB, free: 76.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/7.126, allocations: 0.8165 MB / 1.95 GB, free: 76.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.755e-05/7.127, allocations: 34.02 kB / 1.95 GB, free: 76.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004356/7.127, allocations: 0.5638 MB / 1.951 GB, free: 75.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/7.127, allocations: 133 kB / 1.951 GB, free: 75.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-05/7.127, allocations: 19.81 kB / 1.951 GB, free: 75.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001564/7.127, allocations: 400.7 kB / 1.951 GB, free: 75.53 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006172/7.128, allocations: 261.7 kB / 1.951 GB, free: 75.53 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009306/7.129, allocations: 0.8364 MB / 1.952 GB, free: 74.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008821/7.13, allocations: 452.5 kB / 1.953 GB, free: 74.78 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/7.13, allocations: 7.062 kB / 1.953 GB, free: 74.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002733/7.133, allocations: 1.146 MB / 1.954 GB, free: 74.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/7.133, allocations: 15.75 kB / 1.954 GB, free: 74.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/7.133, allocations: 18.12 kB / 1.954 GB, free: 74.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002045/7.135, allocations: 287.6 kB / 1.954 GB, free: 74.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/7.136, allocations: 204.3 kB / 1.954 GB, free: 74.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/7.137, allocations: 0.8984 MB / 1.955 GB, free: 74.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/7.139, allocations: 61.95 kB / 1.955 GB, free: 74.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/7.139, allocations: 69.12 kB / 1.955 GB, free: 74.15 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (112): * Single equations (assignments): 111 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002923/7.14, allocations: 196.3 kB / 1.956 GB, free: 74.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/7.14, allocations: 96.12 kB / 1.956 GB, free: 74 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/7.141, allocations: 468 kB / 1.956 GB, free: 73.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/7.141, allocations: 7.188 kB / 1.956 GB, free: 73.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/7.141, allocations: 3.5 kB / 1.956 GB, free: 73.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/7.141, allocations: 3.953 kB / 1.956 GB, free: 73.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/7.144, allocations: 1.101 MB / 1.957 GB, free: 73.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/7.144, allocations: 0 / 1.957 GB, free: 73.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001898/7.146, allocations: 196.3 kB / 1.957 GB, free: 73.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001523/7.146, allocations: 21.89 kB / 1.957 GB, free: 73.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-05/7.146, allocations: 11.38 kB / 1.957 GB, free: 73.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/7.148, allocations: 2.668 MB / 1.96 GB, free: 71.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/7.148, allocations: 0 / 1.96 GB, free: 71.03 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/7.15, allocations: 0.6889 MB / 1.961 GB, free: 70.81 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005954/7.151, allocations: 207.3 kB / 1.961 GB, free: 70.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/7.151, allocations: 10.62 kB / 1.961 GB, free: 70.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008887/7.152, allocations: 30.27 kB / 1.961 GB, free: 70.67 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/7.152, allocations: 25.77 kB / 1.961 GB, free: 70.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.697e-05/7.152, allocations: 21.05 kB / 1.961 GB, free: 70.67 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001155/7.153, allocations: 0.6028 MB / 1.962 GB, free: 70.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.91e-07/7.153, allocations: 0 / 1.962 GB, free: 70.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002877/7.156, allocations: 0.5279 MB / 1.962 GB, free: 70.55 MB / 0.5105 GB 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.006115/7.162, allocations: 2.632 MB / 1.965 GB, free: 69.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001996/7.164, allocations: 0.6324 MB / 1.965 GB, free: 69.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/7.164, allocations: 2.438 kB / 1.965 GB, free: 69.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/7.166, allocations: 344.3 kB / 1.966 GB, free: 69.49 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003292/7.169, allocations: 403.8 kB / 1.966 GB, free: 69.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004314/7.173, allocations: 1.471 MB / 1.967 GB, free: 69.08 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006449/7.174, allocations: 1.055 MB / 1.968 GB, free: 68.38 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001714/7.176, allocations: 307.7 kB / 1.969 GB, free: 68.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006028/7.176, allocations: 318.4 kB / 1.969 GB, free: 68.35 MB / 0.5105 GB Notification: Performance of SimCode: time 1.362e-06/7.176, allocations: 0 / 1.969 GB, free: 68.35 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1051/7.281, allocations: 46.96 MB / 2.015 GB, free: 66.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002618/7.282, allocations: 293.5 kB / 2.015 GB, free: 66.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.755/12.04, allocations: 0 / 2.015 GB, free: 66.34 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat