Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.445/2.445, allocations: 235.1 MB / 242.2 MB, free: 15.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.588e-05/2.597e-05, allocations: 0 / 299.5 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.39, allocations: 54.85 MB / 354.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.328/1.719, allocations: 0.5028 GB / 0.8488 GB, free: 17.62 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003472/1.719, allocations: 96.73 kB / 0.8489 GB, free: 17.57 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.058/2.777, allocations: 214.5 MB / 1.058 GB, free: 10.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.452e-06/2.777, allocations: 0 / 1.058 GB, free: 10.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.626e-05/2.777, allocations: 16 kB / 1.058 GB, free: 10.8 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00329/2.78, allocations: 1.092 MB / 1.059 GB, free: 9.668 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/2.78, allocations: 8.031 kB / 1.059 GB, free: 9.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/2.781, allocations: 146.9 kB / 1.06 GB, free: 9.516 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/2.783, allocations: 0.543 MB / 1.06 GB, free: 8.926 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/2.783, allocations: 84.7 kB / 1.06 GB, free: 8.832 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/2.783, allocations: 28 kB / 1.06 GB, free: 8.805 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001278/2.784, allocations: 0.5219 MB / 1.061 GB, free: 8.281 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/2.786, allocations: 0.7245 MB / 1.061 GB, free: 7.484 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/2.786, allocations: 0 / 1.061 GB, free: 7.484 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/2.786, allocations: 4 kB / 1.061 GB, free: 7.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.659e-05/2.786, allocations: 49.2 kB / 1.062 GB, free: 7.43 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.005976/2.792, allocations: 3.864 MB / 1.065 GB, free: 3.316 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000603/2.793, allocations: 251.2 kB / 1.066 GB, free: 3.062 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002557/2.793, allocations: 125.2 kB / 1.066 GB, free: 2.938 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-05/2.793, allocations: 28.98 kB / 1.066 GB, free: 2.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/2.793, allocations: 38.73 kB / 1.066 GB, free: 2.863 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 3.176e-06/2.793, allocations: 0 / 1.066 GB, free: 2.863 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.008471/2.802, allocations: 1.415 MB / 1.067 GB, free: 1.367 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/2.802, allocations: 136.5 kB / 1.067 GB, free: 1.203 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007442/2.803, allocations: 470.1 kB / 1.068 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.222e-05/2.803, allocations: 29.7 kB / 1.068 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/2.803, allocations: 398.7 kB / 1.068 GB, free: 316 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/2.803, allocations: 122.3 kB / 1.068 GB, free: 192 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/2.803, allocations: 0 / 1.068 GB, free: 192 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.3476/3.151, allocations: 373.5 kB / 1.069 GB, free: 98.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007439/3.152, allocations: 177.7 kB / 1.069 GB, free: 98.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007137/3.152, allocations: 0.5089 MB / 1.069 GB, free: 98.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/3.153, allocations: 326.2 kB / 1.07 GB, free: 98.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/3.154, allocations: 3.281 kB / 1.07 GB, free: 98.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002477/3.156, allocations: 0.8288 MB / 1.07 GB, free: 98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/3.156, allocations: 9.812 kB / 1.07 GB, free: 98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/3.156, allocations: 13.72 kB / 1.07 GB, free: 98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001848/3.158, allocations: 264.3 kB / 1.071 GB, free: 97.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008394/3.159, allocations: 134.1 kB / 1.071 GB, free: 97.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/3.16, allocations: 0.9247 MB / 1.072 GB, free: 97.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/3.162, allocations: 35.17 kB / 1.072 GB, free: 97.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/3.162, allocations: 66.89 kB / 1.072 GB, free: 97.47 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (72): * 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: 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.0002544/3.162, allocations: 136.3 kB / 1.072 GB, free: 97.37 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001379/3.164, allocations: 418.6 kB / 1.072 GB, free: 97.33 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/3.164, allocations: 63.45 kB / 1.072 GB, free: 97.32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/3.166, allocations: 0.5087 MB / 1.073 GB, free: 97.26 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/3.166, allocations: 5.312 kB / 1.073 GB, free: 97.26 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/3.166, allocations: 4.25 kB / 1.073 GB, free: 97.26 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/3.166, allocations: 3.844 kB / 1.073 GB, free: 97.26 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/3.168, allocations: 0.9626 MB / 1.074 GB, free: 96.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/3.168, allocations: 0.9688 kB / 1.074 GB, free: 96.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001898/3.17, allocations: 195 kB / 1.074 GB, free: 96.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001306/3.17, allocations: 23.38 kB / 1.074 GB, free: 96.97 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.244e-05/3.17, allocations: 7.375 kB / 1.074 GB, free: 96.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/3.172, allocations: 2.585 MB / 1.077 GB, free: 94.53 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/3.172, allocations: 4.391 kB / 1.077 GB, free: 94.53 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/3.174, allocations: 0.6718 MB / 1.077 GB, free: 94.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003861/3.174, allocations: 168.7 kB / 1.077 GB, free: 94.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/3.174, allocations: 5.859 kB / 1.077 GB, free: 94.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007186/3.175, allocations: 17.36 kB / 1.077 GB, free: 94.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/3.175, allocations: 39.56 kB / 1.077 GB, free: 94.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.955e-05/3.175, allocations: 31.78 kB / 1.077 GB, free: 94.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006443/3.176, allocations: 349.2 kB / 1.078 GB, free: 94.11 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.31e-07/3.176, allocations: 0 / 1.078 GB, free: 94.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002003/3.178, allocations: 342.1 kB / 1.078 GB, free: 94.11 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 (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.004569/3.183, allocations: 2.352 MB / 1.08 GB, free: 93.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001756/3.185, allocations: 484.7 kB / 1.081 GB, free: 93.24 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/3.185, allocations: 1.031 kB / 1.081 GB, free: 93.24 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001429/3.186, allocations: 361.9 kB / 1.081 GB, free: 93.13 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/3.188, allocations: 230.4 kB / 1.081 GB, free: 93.13 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/3.2, allocations: 2.493 MB / 1.084 GB, free: 92.84 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/3.2, allocations: 0.9449 MB / 1.085 GB, free: 92.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001732/3.202, allocations: 246.8 kB / 1.085 GB, free: 92.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007851/3.203, allocations: 258.5 kB / 1.085 GB, free: 92.13 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/3.203, allocations: 0 / 1.085 GB, free: 92.13 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/3.306, allocations: 25.39 MB / 1.11 GB, free: 91.57 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002878/3.306, allocations: 199 kB / 1.11 GB, free: 91.31 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.702/7.009, allocations: 3.938 kB / 1.11 GB, free: 91.31 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat