Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.908/1.908, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.559e-05/2.558e-05, allocations: 4 kB / 267.6 MB, free: 5.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1068, allocations: 48.7 MB / 316.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.37/11.48, allocations: 3.66 GB / 3.969 GB, free: 90.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/11.48, allocations: 90.39 kB / 3.969 GB, free: 90.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274/13.76, allocations: 424.5 MB / 4.384 GB, free: 9.035 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.174e-06/13.76, allocations: 0 / 4.384 GB, free: 9.035 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001094/13.76, allocations: 20 kB / 4.384 GB, free: 9.016 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.01093/13.77, allocations: 2.341 MB / 4.386 GB, free: 6.629 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/13.77, allocations: 8.031 kB / 4.386 GB, free: 6.621 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/13.77, allocations: 107 kB / 4.386 GB, free: 6.516 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002444/13.77, allocations: 0.6385 MB / 4.387 GB, free: 5.844 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/13.77, allocations: 93.39 kB / 4.387 GB, free: 5.738 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003205/13.77, allocations: 40 kB / 4.387 GB, free: 5.699 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00324/13.77, allocations: 1.039 MB / 4.388 GB, free: 4.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003174/13.78, allocations: 1.023 MB / 4.389 GB, free: 3.578 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.43e-05/13.78, allocations: 11.88 kB / 4.389 GB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001765/13.78, allocations: 3.984 kB / 4.389 GB, free: 3.562 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001357/13.78, allocations: 53.98 kB / 4.389 GB, free: 3.512 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4047/14.18, allocations: 4.735 MB / 4.394 GB, free: 44.33 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00251/14.18, allocations: 0.6407 MB / 4.394 GB, free: 44.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008841/14.19, allocations: 332.5 kB / 4.395 GB, free: 44.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001225/14.19, allocations: 1.067 MB / 4.396 GB, free: 43.17 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/14.19, allocations: 44.02 kB / 4.396 GB, free: 43.13 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 4.438e-06/14.19, allocations: 0 / 4.396 GB, free: 43.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=75): time 0.02447/14.21, allocations: 3.723 MB / 4.399 GB, free: 42.76 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/14.21, allocations: 112.9 kB / 4.399 GB, free: 42.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009736/14.21, allocations: 491.8 kB / 4.4 GB, free: 42.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002008/14.21, allocations: 25.7 kB / 4.4 GB, free: 42.49 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002959/14.21, allocations: 460 kB / 4.4 GB, free: 42.22 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003193/14.21, allocations: 269.1 kB / 4.401 GB, free: 42.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.025e-05/14.21, allocations: 0 / 4.401 GB, free: 42.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/14.21, allocations: 349.7 kB / 4.401 GB, free: 41.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/14.21, allocations: 412 kB / 4.401 GB, free: 41.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/14.22, allocations: 0.7062 MB / 4.402 GB, free: 41.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003189/14.22, allocations: 0.7143 MB / 4.403 GB, free: 41.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.605e-05/14.22, allocations: 2.938 kB / 4.403 GB, free: 41.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.005929/14.23, allocations: 1.583 MB / 4.404 GB, free: 41.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.07e-05/14.23, allocations: 13.83 kB / 4.404 GB, free: 41.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/14.23, allocations: 10.06 kB / 4.404 GB, free: 41.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009553/14.23, allocations: 1.042 MB / 4.405 GB, free: 41.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/14.24, allocations: 169.2 kB / 4.406 GB, free: 41.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003382/14.24, allocations: 1.472 MB / 4.407 GB, free: 40.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/14.24, allocations: 73.02 kB / 4.407 GB, free: 40.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/14.24, allocations: 68.75 kB / 4.407 GB, free: 40.78 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.0003616/14.24, allocations: 135.1 kB / 4.407 GB, free: 40.67 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004245/14.25, allocations: 1.112 MB / 4.408 GB, free: 40.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/14.25, allocations: 76.39 kB / 4.408 GB, free: 40.54 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005314/14.25, allocations: 1.425 MB / 4.41 GB, free: 40.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.055e-05/14.25, allocations: 8.188 kB / 4.41 GB, free: 40.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/14.25, allocations: 1.219 kB / 4.41 GB, free: 40.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/14.25, allocations: 2.391 kB / 4.41 GB, free: 40.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007713/14.26, allocations: 2.677 MB / 4.412 GB, free: 39.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/14.26, allocations: 0 / 4.412 GB, free: 39.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002391/14.26, allocations: 254.2 kB / 4.413 GB, free: 39.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002143/14.26, allocations: 305.2 kB / 4.413 GB, free: 39.76 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001682/14.26, allocations: 27.11 kB / 4.413 GB, free: 39.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002342/14.27, allocations: 2.144 MB / 4.415 GB, free: 37.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.888e-06/14.27, allocations: 5.094 kB / 4.415 GB, free: 37.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009595/14.28, allocations: 2.298 MB / 4.417 GB, free: 37.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009734/14.28, allocations: 269.3 kB / 4.418 GB, free: 37.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002446/14.28, allocations: 10.19 kB / 4.418 GB, free: 37.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/14.28, allocations: 60.3 kB / 4.418 GB, free: 37.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/14.28, allocations: 65.09 kB / 4.418 GB, free: 37.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001639/14.28, allocations: 44.66 kB / 4.418 GB, free: 37.38 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007098/14.28, allocations: 376 kB / 4.418 GB, free: 37.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.31e-07/14.28, allocations: 3.375 kB / 4.418 GB, free: 37.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003893/14.28, allocations: 0.7724 MB / 4.419 GB, free: 37.29 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.01436/14.3, allocations: 5.21 MB / 4.424 GB, free: 35.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002996/14.3, allocations: 1.05 MB / 4.425 GB, free: 35.53 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/14.3, allocations: 0.75 kB / 4.425 GB, free: 35.53 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002075/14.3, allocations: 0.579 MB / 4.426 GB, free: 35.53 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003197/14.31, allocations: 355.1 kB / 4.426 GB, free: 35.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008237/14.32, allocations: 2.129 MB / 4.428 GB, free: 35.13 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006643/14.32, allocations: 1.054 MB / 4.429 GB, free: 34.42 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008895/14.32, allocations: 336.8 kB / 4.429 GB, free: 34.42 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/14.32, allocations: 0 / 4.429 GB, free: 34.42 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.64/17.96, allocations: 34.12 MB / 4.463 GB, free: 32.81 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat