Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.362/2.362, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.73e-05/3.761e-05, allocations: 4 kB / 249.8 MB, free: 14.76 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.371, allocations: 44.49 MB / 294.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.493/2.864, allocations: 0.7078 GB / 0.9952 GB, free: 48.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004021/2.865, allocations: 89.98 kB / 0.9953 GB, free: 48.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.738/6.603, allocations: 0.5661 GB / 1.561 GB, free: 69.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/6.603, allocations: 0 / 1.561 GB, free: 69.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.717e-05/6.603, allocations: 14.94 kB / 1.561 GB, free: 69.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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.002352/6.605, allocations: 0.7811 MB / 1.562 GB, free: 68.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.087e-05/6.605, allocations: 13.09 kB / 1.562 GB, free: 68.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/6.606, allocations: 120.5 kB / 1.562 GB, free: 68.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009284/6.607, allocations: 374.2 kB / 1.563 GB, free: 68.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/6.607, allocations: 10.78 kB / 1.563 GB, free: 68.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/6.608, allocations: 23.12 kB / 1.563 GB, free: 68.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001078/6.609, allocations: 387 kB / 1.563 GB, free: 68.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/6.61, allocations: 484.7 kB / 1.564 GB, free: 68.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/6.61, allocations: 3.969 kB / 1.564 GB, free: 68.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/6.61, allocations: 0 / 1.564 GB, free: 68.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/6.61, allocations: 10.81 kB / 1.564 GB, free: 68.63 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.004993/6.615, allocations: 1.969 MB / 1.565 GB, free: 67.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/6.616, allocations: 140.2 kB / 1.566 GB, free: 67.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/6.616, allocations: 68.7 kB / 1.566 GB, free: 67.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.195e-05/6.616, allocations: 3.094 kB / 1.566 GB, free: 67.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/6.616, allocations: 38.12 kB / 1.566 GB, free: 67.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 4.338e-06/6.616, allocations: 0 / 1.566 GB, free: 67.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.009207/6.625, allocations: 1.15 MB / 1.567 GB, free: 66.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/6.625, allocations: 56.12 kB / 1.567 GB, free: 66.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006856/6.626, allocations: 394.6 kB / 1.567 GB, free: 66.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/6.626, allocations: 26.55 kB / 1.567 GB, free: 66.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/6.626, allocations: 320.6 kB / 1.568 GB, free: 66.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.146e-05/6.626, allocations: 79.8 kB / 1.568 GB, free: 66.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/6.626, allocations: 3.469 kB / 1.568 GB, free: 66.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/6.627, allocations: 351.8 kB / 1.568 GB, free: 66.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/6.627, allocations: 118.5 kB / 1.568 GB, free: 66.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/6.627, allocations: 418.4 kB / 1.569 GB, free: 65.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004929/6.628, allocations: 209 kB / 1.569 GB, free: 65.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/6.628, allocations: 2.906 kB / 1.569 GB, free: 65.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001528/6.629, allocations: 0.5494 MB / 1.569 GB, free: 65.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/6.629, allocations: 8.125 kB / 1.569 GB, free: 65.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-05/6.629, allocations: 9.5 kB / 1.569 GB, free: 65.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002913/6.63, allocations: 60.44 kB / 1.569 GB, free: 65.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/6.631, allocations: 143 kB / 1.569 GB, free: 65.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/6.632, allocations: 1.793 MB / 1.571 GB, free: 64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008715/6.633, allocations: 30.41 kB / 1.571 GB, free: 63.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/6.633, allocations: 35.03 kB / 1.571 GB, free: 63.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001919/6.634, allocations: 137.1 kB / 1.571 GB, free: 63.88 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006635/6.634, allocations: 233.1 kB / 1.572 GB, free: 63.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/6.634, allocations: 44.64 kB / 1.572 GB, free: 63.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008278/6.635, allocations: 270.7 kB / 1.572 GB, free: 63.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/6.635, allocations: 0 / 1.572 GB, free: 63.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/6.635, allocations: 0 / 1.572 GB, free: 63.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005761/6.636, allocations: 0.5052 MB / 1.572 GB, free: 63.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/6.637, allocations: 0.6365 MB / 1.573 GB, free: 62.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/6.637, allocations: 7.5 kB / 1.573 GB, free: 62.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006142/6.638, allocations: 54.89 kB / 1.573 GB, free: 62.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001298/6.638, allocations: 20.48 kB / 1.573 GB, free: 62.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.342e-05/6.638, allocations: 10.97 kB / 1.573 GB, free: 62.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009436/6.639, allocations: 1.231 MB / 1.574 GB, free: 61.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/6.639, allocations: 3.797 kB / 1.574 GB, free: 61.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008491/6.64, allocations: 405.5 kB / 1.575 GB, free: 61.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/6.64, allocations: 114.8 kB / 1.575 GB, free: 61.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/6.64, allocations: 11.52 kB / 1.575 GB, free: 61.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005966/6.641, allocations: 13.72 kB / 1.575 GB, free: 61.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/6.641, allocations: 10.44 kB / 1.575 GB, free: 61.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/6.641, allocations: 17.62 kB / 1.575 GB, free: 61.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000494/6.642, allocations: 284.9 kB / 1.575 GB, free: 61.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.41e-07/6.642, allocations: 2.031 kB / 1.575 GB, free: 61.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001724/6.643, allocations: 255.5 kB / 1.575 GB, free: 61.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 22 * 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.004911/6.648, allocations: 2.09 MB / 1.577 GB, free: 60.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001232/6.65, allocations: 414.9 kB / 1.578 GB, free: 60.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/6.65, allocations: 0 / 1.578 GB, free: 60.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003644/6.65, allocations: 191.8 kB / 1.578 GB, free: 60.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/6.652, allocations: 183.9 kB / 1.578 GB, free: 60.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/6.655, allocations: 0.7251 MB / 1.579 GB, free: 60.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/6.655, allocations: 0.8314 MB / 1.58 GB, free: 59.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00106/6.656, allocations: 138.3 kB / 1.58 GB, free: 59.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003769/6.657, allocations: 144.4 kB / 1.58 GB, free: 59.45 MB / 410.7 MB Notification: Performance of SimCode: time 1.302e-06/6.657, allocations: 0 / 1.58 GB, free: 59.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1039/6.761, allocations: 20.21 MB / 1.6 GB, free: 58.93 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002261/6.761, allocations: 201.2 kB / 1.6 GB, free: 58.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.373/11.13, allocations: 0 / 1.6 GB, free: 58.73 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.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat