Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.383/2.383, allocations: 235.1 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.677e-05/2.676e-05, allocations: 4 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3503, allocations: 54.86 MB / 354.5 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.527/2.878, allocations: 0.8215 GB / 1.168 GB, free: 40.55 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000338/2.878, allocations: 98.86 kB / 1.168 GB, free: 40.49 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.18/7.058, allocations: 0.7257 GB / 1.893 GB, free: 70.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.544e-06/7.058, allocations: 3.312 kB / 1.893 GB, free: 70.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.231e-05/7.058, allocations: 26.31 kB / 1.893 GB, free: 70.86 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005617/7.064, allocations: 1.37 MB / 1.895 GB, free: 69.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/7.064, allocations: 14.55 kB / 1.895 GB, free: 69.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002571/7.067, allocations: 282.5 kB / 1.895 GB, free: 69.17 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/7.069, allocations: 0.6889 MB / 1.896 GB, free: 68.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/7.069, allocations: 93.39 kB / 1.896 GB, free: 68.35 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/7.07, allocations: 46.61 kB / 1.896 GB, free: 68.31 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002322/7.072, allocations: 0.859 MB / 1.897 GB, free: 67.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002771/7.075, allocations: 1.112 MB / 1.898 GB, free: 66.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.227e-05/7.075, allocations: 0 / 1.898 GB, free: 66.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002672/7.075, allocations: 4 kB / 1.898 GB, free: 66.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000145/7.075, allocations: 73.08 kB / 1.898 GB, free: 66.2 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.01025/7.086, allocations: 4.727 MB / 1.902 GB, free: 61.24 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007103/7.086, allocations: 246.3 kB / 1.903 GB, free: 60.99 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/7.087, allocations: 117.3 kB / 1.903 GB, free: 60.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003635/7.087, allocations: 253.2 kB / 1.903 GB, free: 60.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/7.087, allocations: 38.22 kB / 1.903 GB, free: 60.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 3.216e-06/7.087, allocations: 0 / 1.903 GB, free: 60.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.01024/7.097, allocations: 1.513 MB / 1.905 GB, free: 58.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/7.097, allocations: 136.5 kB / 1.905 GB, free: 58.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/7.099, allocations: 0.6912 MB / 1.905 GB, free: 58.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.731e-05/7.099, allocations: 25.7 kB / 1.905 GB, free: 58.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004494/7.099, allocations: 0.5917 MB / 1.906 GB, free: 57.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/7.1, allocations: 129.6 kB / 1.906 GB, free: 57.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.109e-05/7.1, allocations: 0 / 1.906 GB, free: 57.34 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/7.1, allocations: 394.8 kB / 1.906 GB, free: 56.94 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006535/7.1, allocations: 254.5 kB / 1.907 GB, free: 56.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009563/7.101, allocations: 0.886 MB / 1.908 GB, free: 55.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/7.102, allocations: 449.1 kB / 1.908 GB, free: 55.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.501e-05/7.103, allocations: 12 kB / 1.908 GB, free: 55.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00295/7.105, allocations: 1.136 MB / 1.909 GB, free: 53.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/7.106, allocations: 16 kB / 1.909 GB, free: 53.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/7.106, allocations: 20 kB / 1.909 GB, free: 53.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002001/7.108, allocations: 258.5 kB / 1.909 GB, free: 53.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/7.109, allocations: 235.6 kB / 1.91 GB, free: 53.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/7.111, allocations: 0.8821 MB / 1.91 GB, free: 52.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/7.112, allocations: 48.03 kB / 1.911 GB, free: 52.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/7.113, allocations: 99.94 kB / 1.911 GB, free: 52.36 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (122): * Single equations (assignments): 121 * 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.0002963/7.113, allocations: 156.4 kB / 1.911 GB, free: 52.2 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001035/7.114, allocations: 381 kB / 1.911 GB, free: 51.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/7.114, allocations: 79.06 kB / 1.911 GB, free: 51.74 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/7.116, allocations: 433.7 kB / 1.912 GB, free: 51.31 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/7.116, allocations: 0 / 1.912 GB, free: 51.31 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/7.116, allocations: 4 kB / 1.912 GB, free: 51.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/7.116, allocations: 3.984 kB / 1.912 GB, free: 51.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/7.118, allocations: 1 MB / 1.913 GB, free: 50.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/7.118, allocations: 0 / 1.913 GB, free: 50.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002061/7.12, allocations: 179.8 kB / 1.913 GB, free: 50.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001365/7.121, allocations: 20.84 kB / 1.913 GB, free: 50.06 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.71e-05/7.121, allocations: 8 kB / 1.913 GB, free: 50.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002136/7.123, allocations: 2.585 MB / 1.915 GB, free: 47.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/7.123, allocations: 0 / 1.915 GB, free: 47.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/7.124, allocations: 0.6444 MB / 1.916 GB, free: 46.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005084/7.125, allocations: 192 kB / 1.916 GB, free: 46.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/7.125, allocations: 4 kB / 1.916 GB, free: 46.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000893/7.126, allocations: 19.92 kB / 1.916 GB, free: 46.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/7.126, allocations: 23.97 kB / 1.916 GB, free: 46.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.217e-05/7.126, allocations: 19.98 kB / 1.916 GB, free: 46.29 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009419/7.127, allocations: 0.4991 MB / 1.917 GB, free: 45.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.853e-06/7.127, allocations: 0 / 1.917 GB, free: 45.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00296/7.13, allocations: 485.9 kB / 1.917 GB, free: 45.33 MB / 490.7 MB 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 (32): * Single equations (assignments): 30 * 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.006504/7.137, allocations: 2.691 MB / 1.92 GB, free: 42.81 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002064/7.139, allocations: 0.632 MB / 1.92 GB, free: 42.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/7.139, allocations: 3.953 kB / 1.92 GB, free: 42.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001473/7.14, allocations: 338.4 kB / 1.921 GB, free: 41.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00283/7.143, allocations: 313.1 kB / 1.921 GB, free: 41.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004634/7.148, allocations: 1.405 MB / 1.922 GB, free: 40.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007124/7.149, allocations: 1.043 MB / 1.923 GB, free: 39.04 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002577/7.151, allocations: 369.9 kB / 1.924 GB, free: 38.69 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008329/7.152, allocations: 331.3 kB / 1.924 GB, free: 38.37 MB / 490.7 MB Notification: Performance of SimCode: time 1.523e-06/7.152, allocations: 6.953 kB / 1.924 GB, free: 38.36 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1056/7.258, allocations: 31.99 MB / 1.955 GB, free: 6.68 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003485/7.258, allocations: 237.2 kB / 1.956 GB, free: 6.391 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.387/11.64, allocations: 0 / 1.956 GB, free: 6.391 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat