Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.973/1.973, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.17e-05/4.184e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1246, allocations: 44.52 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.317/2.442, allocations: 0.7076 GB / 1.001 GB, free: 109.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/2.442, allocations: 91.38 kB / 1.001 GB, free: 109.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.827/5.27, allocations: 0.5557 GB / 1.556 GB, free: 52.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.794e-06/5.27, allocations: 0 / 1.556 GB, free: 52.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.147e-05/5.27, allocations: 20 kB / 1.556 GB, free: 52.3 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002857/5.273, allocations: 0.9662 MB / 1.557 GB, free: 51.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/5.273, allocations: 12.03 kB / 1.557 GB, free: 51.28 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002669/5.273, allocations: 114.5 kB / 1.557 GB, free: 51.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/5.274, allocations: 155.1 kB / 1.558 GB, free: 51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/5.275, allocations: 473 kB / 1.558 GB, free: 50.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.501e-05/5.275, allocations: 54 kB / 1.558 GB, free: 50.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/5.276, allocations: 75.91 kB / 1.558 GB, free: 50.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/5.278, allocations: 0.9093 MB / 1.559 GB, free: 49.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.901e-05/5.278, allocations: 8 kB / 1.559 GB, free: 49.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001607/5.278, allocations: 28 kB / 1.559 GB, free: 49.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/5.278, allocations: 16 kB / 1.559 GB, free: 49.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/5.28, allocations: 0.8356 MB / 1.56 GB, free: 48.57 MB / 410.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.008018/5.288, allocations: 3.428 MB / 1.563 GB, free: 44.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/5.29, allocations: 0.6197 MB / 1.564 GB, free: 44.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006813/5.29, allocations: 354.4 kB / 1.564 GB, free: 43.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-05/5.29, allocations: 20.53 kB / 1.564 GB, free: 43.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/5.29, allocations: 47.08 kB / 1.564 GB, free: 43.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=59): time 4.118e-06/5.29, allocations: 0 / 1.564 GB, free: 43.82 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.02105/5.312, allocations: 4.333 MB / 1.568 GB, free: 39.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/5.312, allocations: 60.19 kB / 1.569 GB, free: 39.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008848/5.313, allocations: 0.4952 MB / 1.569 GB, free: 38.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001952/5.313, allocations: 41.7 kB / 1.569 GB, free: 38.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/5.313, allocations: 280.6 kB / 1.569 GB, free: 38.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/5.313, allocations: 244.4 kB / 1.57 GB, free: 38.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-05/5.313, allocations: 16 kB / 1.57 GB, free: 38.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/5.313, allocations: 370.7 kB / 1.57 GB, free: 37.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009412/5.314, allocations: 433.4 kB / 1.57 GB, free: 37.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/5.315, allocations: 0.4937 MB / 1.571 GB, free: 36.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/5.317, allocations: 0.4978 MB / 1.571 GB, free: 36.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/5.317, allocations: 0 / 1.571 GB, free: 36.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003522/5.32, allocations: 1.342 MB / 1.573 GB, free: 35.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/5.32, allocations: 8 kB / 1.573 GB, free: 35.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/5.32, allocations: 0 / 1.573 GB, free: 35.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/5.321, allocations: 346.6 kB / 1.573 GB, free: 34.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/5.323, allocations: 175.8 kB / 1.573 GB, free: 34.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008099/5.331, allocations: 10.2 MB / 1.583 GB, free: 23.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/5.333, allocations: 91.8 kB / 1.583 GB, free: 23.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/5.333, allocations: 39.98 kB / 1.583 GB, free: 23.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 72 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003333/5.333, allocations: 144.9 kB / 1.583 GB, free: 23.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/5.334, allocations: 63.34 kB / 1.583 GB, free: 23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003374/5.337, allocations: 1.298 MB / 1.585 GB, free: 21.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/5.337, allocations: 8 kB / 1.585 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/5.337, allocations: 4 kB / 1.585 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002365/5.339, allocations: 1.59 MB / 1.586 GB, free: 19.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005184/5.345, allocations: 2.262 MB / 1.588 GB, free: 17.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/5.345, allocations: 11.88 kB / 1.588 GB, free: 17.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/5.347, allocations: 219.9 kB / 1.589 GB, free: 17.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002904/5.347, allocations: 68.73 kB / 1.589 GB, free: 17.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/5.347, allocations: 39.97 kB / 1.589 GB, free: 17.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/5.349, allocations: 1.436 MB / 1.59 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/5.349, allocations: 16.02 kB / 1.59 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003439/5.352, allocations: 1.602 MB / 1.592 GB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003714/5.353, allocations: 152.4 kB / 1.592 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/5.353, allocations: 27.98 kB / 1.592 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/5.354, allocations: 71.8 kB / 1.592 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/5.355, allocations: 64.62 kB / 1.592 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/5.355, allocations: 59.95 kB / 1.592 GB, free: 13.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006579/5.355, allocations: 393.1 kB / 1.592 GB, free: 13.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.4e-07/5.355, allocations: 4 kB / 1.592 GB, free: 13.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001949/5.357, allocations: 419.9 kB / 1.593 GB, free: 12.83 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 76 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006731/5.364, allocations: 3.479 MB / 1.596 GB, free: 9.328 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003325/5.368, allocations: 1.842 MB / 1.598 GB, free: 7.391 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/5.368, allocations: 4 kB / 1.598 GB, free: 7.387 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001298/5.369, allocations: 0.6751 MB / 1.599 GB, free: 6.699 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003989/5.373, allocations: 482.1 kB / 1.599 GB, free: 6.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006189/5.379, allocations: 2.117 MB / 1.601 GB, free: 4.102 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005823/5.38, allocations: 0.9867 MB / 1.602 GB, free: 3.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001577/5.381, allocations: 273.4 kB / 1.602 GB, free: 2.836 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006801/5.382, allocations: 279.3 kB / 1.603 GB, free: 2.562 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/5.382, allocations: 0 / 1.603 GB, free: 2.562 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4754/5.857, allocations: 47.2 MB / 1.649 GB, free: 64.78 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/5.858, allocations: 215.2 kB / 1.649 GB, free: 64.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.808/10.67, allocations: 0 / 1.649 GB, free: 64.55 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat