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.269/2.269, allocations: 209.3 MB / 221.5 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.342e-05/4.344e-05, allocations: 7.984 kB / 273.2 MB, free: 128 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1122, allocations: 48.69 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.34/11.45, allocations: 3.661 GB / 3.975 GB, free: 17.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/11.45, allocations: 87.95 kB / 3.975 GB, free: 17.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.583/14.04, allocations: 428.7 MB / 4.394 GB, free: 53.6 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.673e-06/14.04, allocations: 0 / 4.394 GB, free: 53.6 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.558e-05/14.04, allocations: 18.98 kB / 4.394 GB, free: 53.6 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.01054/14.05, allocations: 2.342 MB / 4.396 GB, free: 52.42 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/14.05, allocations: 9.812 kB / 4.396 GB, free: 52.42 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003069/14.05, allocations: 130.9 kB / 4.396 GB, free: 52.38 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000618/14.05, allocations: 107.6 kB / 4.396 GB, free: 52.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/14.05, allocations: 0.6388 MB / 4.397 GB, free: 52.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/14.05, allocations: 117.9 kB / 4.397 GB, free: 52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000233/14.05, allocations: 79.7 kB / 4.397 GB, free: 52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002979/14.05, allocations: 1.113 MB / 4.398 GB, free: 51.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.04e-05/14.05, allocations: 3.75 kB / 4.398 GB, free: 51.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001991/14.05, allocations: 39.06 kB / 4.398 GB, free: 51.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001168/14.05, allocations: 54.88 kB / 4.398 GB, free: 51.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002907/14.06, allocations: 1.106 MB / 4.399 GB, free: 51.81 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/14.07, allocations: 4.385 MB / 4.404 GB, free: 49.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002282/14.07, allocations: 0.7401 MB / 4.404 GB, free: 49.76 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008314/14.07, allocations: 385.6 kB / 4.405 GB, free: 49.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001496/14.07, allocations: 1.582 MB / 4.406 GB, free: 48.05 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/14.07, allocations: 41.38 kB / 4.406 GB, free: 48.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=69): time 3.256e-06/14.07, allocations: 0 / 4.406 GB, free: 48.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=81): time 0.0205/14.09, allocations: 3.567 MB / 4.41 GB, free: 47.53 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/14.09, allocations: 116 kB / 4.41 GB, free: 47.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009502/14.09, allocations: 0.5417 MB / 4.41 GB, free: 47.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001272/14.09, allocations: 41.67 kB / 4.41 GB, free: 47.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/14.09, allocations: 400.5 kB / 4.411 GB, free: 47.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/14.09, allocations: 293.5 kB / 4.411 GB, free: 46.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.635e-05/14.1, allocations: 17.97 kB / 4.411 GB, free: 46.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/14.1, allocations: 392.2 kB / 4.412 GB, free: 46.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/14.1, allocations: 428.4 kB / 4.412 GB, free: 46.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/14.1, allocations: 0.7254 MB / 4.413 GB, free: 46.15 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/14.1, allocations: 0.532 MB / 4.413 GB, free: 46.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/14.1, allocations: 5.219 kB / 4.413 GB, free: 46.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003849/14.1, allocations: 1.496 MB / 4.415 GB, free: 45.99 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/14.1, allocations: 12.53 kB / 4.415 GB, free: 45.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/14.1, allocations: 7.875 kB / 4.415 GB, free: 45.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01238/14.12, allocations: 1.331 MB / 4.416 GB, free: 45.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/14.12, allocations: 171.7 kB / 4.416 GB, free: 45.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/14.12, allocations: 1.383 MB / 4.417 GB, free: 45.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/14.12, allocations: 98.42 kB / 4.418 GB, free: 45.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/14.12, allocations: 68.25 kB / 4.418 GB, free: 45.41 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.0003548/14.12, allocations: 164.5 kB / 4.418 GB, free: 45.28 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/14.12, allocations: 79.97 kB / 4.418 GB, free: 45.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003968/14.13, allocations: 1.462 MB / 4.419 GB, free: 45.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/14.13, allocations: 7.344 kB / 4.419 GB, free: 45.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/14.13, allocations: 7.141 kB / 4.419 GB, free: 45.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/14.13, allocations: 6.938 kB / 4.419 GB, free: 45.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005286/14.13, allocations: 2.317 MB / 4.422 GB, free: 44.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/14.13, allocations: 3.062 kB / 4.422 GB, free: 44.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002487/14.13, allocations: 262.5 kB / 4.422 GB, free: 44.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002304/14.14, allocations: 311.5 kB / 4.422 GB, free: 44.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001893/14.14, allocations: 30.62 kB / 4.422 GB, free: 44.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002288/14.14, allocations: 2.164 MB / 4.424 GB, free: 42.63 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/14.14, allocations: 0 / 4.424 GB, free: 42.63 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004138/14.14, allocations: 1.816 MB / 4.426 GB, free: 41.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007915/14.14, allocations: 290 kB / 4.426 GB, free: 41.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002183/14.14, allocations: 19.72 kB / 4.426 GB, free: 41.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/14.15, allocations: 72.36 kB / 4.426 GB, free: 41.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/14.15, allocations: 63.08 kB / 4.426 GB, free: 41.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/14.15, allocations: 48.88 kB / 4.427 GB, free: 41.51 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008049/14.15, allocations: 447.8 kB / 4.427 GB, free: 41.31 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/14.15, allocations: 3.938 kB / 4.427 GB, free: 41.31 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003905/14.15, allocations: 0.829 MB / 4.428 GB, free: 41.05 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (81): * Single equations (assignments): 77 * 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.009162/14.16, allocations: 4.258 MB / 4.432 GB, free: 38.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003132/14.16, allocations: 1.087 MB / 4.433 GB, free: 38.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/14.16, allocations: 4 kB / 4.433 GB, free: 38.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002349/14.17, allocations: 0.6214 MB / 4.434 GB, free: 38.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003539/14.17, allocations: 435.8 kB / 4.434 GB, free: 38.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008308/14.18, allocations: 2.145 MB / 4.436 GB, free: 37.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009019/14.18, allocations: 1.055 MB / 4.437 GB, free: 36.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00247/14.18, allocations: 302 kB / 4.437 GB, free: 36.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008046/14.18, allocations: 331.6 kB / 4.438 GB, free: 36.45 MB / 442.7 MB Notification: Performance of SimCode: time 1.523e-06/14.18, allocations: 0 / 4.438 GB, free: 36.45 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1691/14.35, allocations: 54.92 MB / 4.491 GB, free: 8.773 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002612/14.35, allocations: 242.2 kB / 4.492 GB, free: 8.457 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.061/19.41, allocations: 4 kB / 4.492 GB, free: 8.453 MB / 458.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