Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.164/2.164, allocations: 209.4 MB / 216.5 MB, free: 6.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.11e-05/3.113e-05, allocations: 6.391 kB / 267.6 MB, free: 4.949 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1105, allocations: 48.7 MB / 316.3 MB, free: 4.156 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.08/11.19, allocations: 3.66 GB / 3.969 GB, free: 88.72 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004628/11.19, allocations: 93.5 kB / 3.969 GB, free: 88.67 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194/13.39, allocations: 424.5 MB / 4.384 GB, free: 6.879 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.284e-06/13.39, allocations: 0 / 4.384 GB, free: 6.879 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.832e-05/13.39, allocations: 24.12 kB / 4.384 GB, free: 6.855 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.01049/13.4, allocations: 2.341 MB / 4.386 GB, free: 4.469 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/13.4, allocations: 8.031 kB / 4.386 GB, free: 4.461 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007108/13.4, allocations: 107 kB / 4.386 GB, free: 4.355 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/13.4, allocations: 0.6495 MB / 4.387 GB, free: 3.672 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/13.4, allocations: 93.41 kB / 4.387 GB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/13.4, allocations: 44 kB / 4.387 GB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002882/13.4, allocations: 1.039 MB / 4.388 GB, free: 2.484 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002666/13.41, allocations: 1.026 MB / 4.389 GB, free: 1.398 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/13.41, allocations: 0 / 4.389 GB, free: 1.398 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/13.41, allocations: 4 kB / 4.389 GB, free: 1.395 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/13.41, allocations: 57.91 kB / 4.389 GB, free: 1.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3363/13.74, allocations: 4.725 MB / 4.394 GB, free: 42.85 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003051/13.75, allocations: 0.6441 MB / 4.394 GB, free: 42.83 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001167/13.75, allocations: 335.9 kB / 4.395 GB, free: 42.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001476/13.75, allocations: 1.068 MB / 4.396 GB, free: 41.69 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.284e-05/13.75, allocations: 47.28 kB / 4.396 GB, free: 41.65 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 5.08e-06/13.75, allocations: 0 / 4.396 GB, free: 41.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=75): time 0.03345/13.78, allocations: 3.718 MB / 4.399 GB, free: 41.24 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/13.78, allocations: 116 kB / 4.4 GB, free: 41.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/13.78, allocations: 488.6 kB / 4.4 GB, free: 41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002949/13.79, allocations: 26.83 kB / 4.4 GB, free: 40.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004681/13.79, allocations: 424.8 kB / 4.4 GB, free: 40.76 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004731/13.79, allocations: 261.6 kB / 4.401 GB, free: 40.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/13.79, allocations: 0 / 4.401 GB, free: 40.63 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002009/13.79, allocations: 384.6 kB / 4.401 GB, free: 40.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/13.79, allocations: 404.3 kB / 4.401 GB, free: 40.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/13.79, allocations: 0.7117 MB / 4.402 GB, free: 39.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004731/13.79, allocations: 0.7146 MB / 4.403 GB, free: 39.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.018e-05/13.79, allocations: 3.125 kB / 4.403 GB, free: 39.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.008379/13.8, allocations: 1.615 MB / 4.404 GB, free: 39.85 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.636e-05/13.8, allocations: 12.47 kB / 4.404 GB, free: 39.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.261e-05/13.8, allocations: 9.125 kB / 4.404 GB, free: 39.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01031/13.81, allocations: 1.041 MB / 4.405 GB, free: 39.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/13.81, allocations: 171.2 kB / 4.406 GB, free: 39.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003502/13.82, allocations: 1.474 MB / 4.407 GB, free: 39.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/13.82, allocations: 74.23 kB / 4.407 GB, free: 39.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002362/13.82, allocations: 65.03 kB / 4.407 GB, free: 39.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (95): * Single equations (assignments): 94 * 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 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.0003887/13.82, allocations: 132.7 kB / 4.407 GB, free: 39.2 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004256/13.83, allocations: 1.12 MB / 4.408 GB, free: 39.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/13.83, allocations: 73.84 kB / 4.408 GB, free: 39.06 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005525/13.83, allocations: 1.411 MB / 4.41 GB, free: 38.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-05/13.83, allocations: 9.984 kB / 4.41 GB, free: 38.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/13.83, allocations: 0 / 4.41 GB, free: 38.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2e-05/13.83, allocations: 5.062 kB / 4.41 GB, free: 38.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007331/13.84, allocations: 2.681 MB / 4.412 GB, free: 38.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/13.84, allocations: 3.953 kB / 4.412 GB, free: 38.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002341/13.84, allocations: 257.2 kB / 4.413 GB, free: 38.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002232/13.84, allocations: 305.1 kB / 4.413 GB, free: 38.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002818/13.84, allocations: 20.31 kB / 4.413 GB, free: 38.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002343/13.85, allocations: 2.144 MB / 4.415 GB, free: 36.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/13.85, allocations: 5.844 kB / 4.415 GB, free: 36.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008993/13.86, allocations: 2.295 MB / 4.417 GB, free: 36.04 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007705/13.86, allocations: 277.5 kB / 4.418 GB, free: 35.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002379/13.86, allocations: 10.09 kB / 4.418 GB, free: 35.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/13.86, allocations: 66.45 kB / 4.418 GB, free: 35.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/13.86, allocations: 56.41 kB / 4.418 GB, free: 35.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/13.86, allocations: 48.08 kB / 4.418 GB, free: 35.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000616/13.86, allocations: 374.6 kB / 4.418 GB, free: 35.81 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/13.86, allocations: 0 / 4.418 GB, free: 35.81 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003621/13.86, allocations: 0.7725 MB / 4.419 GB, free: 35.81 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01368/13.88, allocations: 5.216 MB / 4.424 GB, free: 34.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002998/13.88, allocations: 1.05 MB / 4.425 GB, free: 34.06 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/13.88, allocations: 0 / 4.425 GB, free: 34.06 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002093/13.88, allocations: 0.5879 MB / 4.426 GB, free: 34.05 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002991/13.88, allocations: 364 kB / 4.426 GB, free: 34.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007575/13.89, allocations: 2.067 MB / 4.428 GB, free: 33.69 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000628/13.89, allocations: 1.058 MB / 4.429 GB, free: 32.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001693/13.89, allocations: 273.1 kB / 4.429 GB, free: 32.97 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007602/13.89, allocations: 330.7 kB / 4.43 GB, free: 32.96 MB / 442.7 MB Notification: Performance of SimCode: time 1.403e-06/13.89, allocations: 0 / 4.43 GB, free: 32.96 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1212/14.02, allocations: 41.66 MB / 4.47 GB, free: 31.19 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/14.02, allocations: 189.1 kB / 4.47 GB, free: 31 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.266/18.28, allocations: 0 / 4.47 GB, free: 31 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat