Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.292/2.292, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.35e-05/3.361e-05, allocations: 3.188 kB / 249.8 MB, free: 5.27 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.725/2.833, allocations: 0.7069 GB / 0.9943 GB, free: 118.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003825/2.833, allocations: 85.88 kB / 0.9944 GB, free: 118.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.251/6.085, allocations: 0.548 GB / 1.542 GB, free: 72.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.145e-06/6.085, allocations: 0 / 1.542 GB, free: 72.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.706e-05/6.085, allocations: 19.44 kB / 1.542 GB, free: 72.02 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.00363/6.088, allocations: 0.9671 MB / 1.543 GB, free: 71.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/6.088, allocations: 11.75 kB / 1.543 GB, free: 71.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/6.09, allocations: 144.5 kB / 1.543 GB, free: 71.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001743/6.092, allocations: 474.2 kB / 1.544 GB, free: 70.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.846e-05/6.092, allocations: 22.72 kB / 1.544 GB, free: 70.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003492/6.092, allocations: 56.88 kB / 1.544 GB, free: 70.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002568/6.095, allocations: 0.7916 MB / 1.545 GB, free: 70.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/6.098, allocations: 0.8003 MB / 1.546 GB, free: 70.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.892e-05/6.098, allocations: 7.812 kB / 1.546 GB, free: 70.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/6.098, allocations: 3.938 kB / 1.546 GB, free: 70.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/6.098, allocations: 17.31 kB / 1.546 GB, free: 70.39 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.01016/6.108, allocations: 3.244 MB / 1.549 GB, free: 68.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/6.11, allocations: 0.5903 MB / 1.549 GB, free: 68.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007686/6.11, allocations: 333.1 kB / 1.55 GB, free: 67.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/6.11, allocations: 22.31 kB / 1.55 GB, free: 67.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/6.111, allocations: 47.81 kB / 1.55 GB, free: 67.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=59): time 4.799e-06/6.111, allocations: 0 / 1.55 GB, free: 67.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=71): time 0.01707/6.128, allocations: 3.116 MB / 1.553 GB, free: 65.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/6.128, allocations: 62.31 kB / 1.553 GB, free: 65.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006055/6.128, allocations: 318.3 kB / 1.553 GB, free: 65.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002026/6.129, allocations: 25.7 kB / 1.553 GB, free: 65.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/6.129, allocations: 292 kB / 1.553 GB, free: 64.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002989/6.129, allocations: 244.3 kB / 1.554 GB, free: 64.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.223e-05/6.129, allocations: 2.531 kB / 1.554 GB, free: 64.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/6.129, allocations: 354.8 kB / 1.554 GB, free: 64.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/6.13, allocations: 417.4 kB / 1.554 GB, free: 63.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/6.131, allocations: 491.5 kB / 1.555 GB, free: 63.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/6.133, allocations: 488.2 kB / 1.555 GB, free: 62.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/6.133, allocations: 0 / 1.555 GB, free: 62.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003608/6.136, allocations: 1.277 MB / 1.557 GB, free: 61.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/6.136, allocations: 8.625 kB / 1.557 GB, free: 61.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/6.136, allocations: 2.906 kB / 1.557 GB, free: 61.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/6.138, allocations: 317.8 kB / 1.557 GB, free: 61.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002203/6.14, allocations: 183.7 kB / 1.557 GB, free: 61.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009102/6.149, allocations: 9.851 MB / 1.567 GB, free: 50.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/6.151, allocations: 66.62 kB / 1.567 GB, free: 50.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002109/6.151, allocations: 43.98 kB / 1.567 GB, free: 50.32 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[2]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[3]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[4]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[5]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[6]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] 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.0006497/6.152, allocations: 155.4 kB / 1.567 GB, free: 50.18 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004377/6.156, allocations: 1.091 MB / 1.568 GB, free: 49.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003568/6.156, allocations: 47.48 kB / 1.568 GB, free: 49.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005014/6.161, allocations: 1.216 MB / 1.569 GB, free: 47.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/6.162, allocations: 8 kB / 1.569 GB, free: 47.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/6.162, allocations: 3.5 kB / 1.569 GB, free: 47.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003536/6.165, allocations: 1.554 MB / 1.571 GB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007613/6.173, allocations: 2.089 MB / 1.573 GB, free: 43.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/6.173, allocations: 4 kB / 1.573 GB, free: 43.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003576/6.176, allocations: 231.1 kB / 1.573 GB, free: 43.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004076/6.177, allocations: 60.73 kB / 1.573 GB, free: 43.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001717/6.177, allocations: 31.97 kB / 1.573 GB, free: 43.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002176/6.179, allocations: 1.422 MB / 1.575 GB, free: 42.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/6.179, allocations: 0 / 1.575 GB, free: 42.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005064/6.184, allocations: 1.543 MB / 1.576 GB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003733/6.185, allocations: 128.5 kB / 1.576 GB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003196/6.185, allocations: 15.98 kB / 1.576 GB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002218/6.187, allocations: 61.5 kB / 1.576 GB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002693/6.188, allocations: 56.7 kB / 1.576 GB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002863/6.188, allocations: 66.95 kB / 1.576 GB, free: 40.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005617/6.189, allocations: 242 kB / 1.577 GB, free: 39.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.91e-07/6.189, allocations: 3.938 kB / 1.577 GB, free: 39.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00333/6.192, allocations: 391.8 kB / 1.577 GB, free: 39.54 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.0111/6.203, allocations: 3.561 MB / 1.58 GB, free: 36.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00481/6.208, allocations: 1.74 MB / 1.582 GB, free: 34.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/6.208, allocations: 6.969 kB / 1.582 GB, free: 34.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002186/6.21, allocations: 0.645 MB / 1.583 GB, free: 33.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004862/6.215, allocations: 309.7 kB / 1.583 GB, free: 33.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/6.226, allocations: 2.019 MB / 1.585 GB, free: 31.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/6.227, allocations: 0.9863 MB / 1.586 GB, free: 30.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002592/6.23, allocations: 238.5 kB / 1.586 GB, free: 30.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/6.231, allocations: 267.3 kB / 1.586 GB, free: 30.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/6.231, allocations: 3.938 kB / 1.586 GB, free: 30.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5128/6.744, allocations: 31.52 MB / 1.617 GB, free: 69.06 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002292/6.744, allocations: 175.4 kB / 1.617 GB, free: 68.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.484/12.23, allocations: 5.406 kB / 1.617 GB, free: 68.87 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat