Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.389/2.389, allocations: 235.2 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.091e-05/2.092e-05, allocations: 0 / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3435, allocations: 54.85 MB / 354.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.96/12.3, allocations: 3.667 GB / 4.013 GB, free: 104.5 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003342/12.3, allocations: 94.83 kB / 4.013 GB, free: 104.5 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.57/14.87, allocations: 427.6 MB / 4.431 GB, free: 37.25 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.154e-06/14.87, allocations: 0 / 4.431 GB, free: 37.25 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.317e-05/14.87, allocations: 28.34 kB / 4.431 GB, free: 37.23 MB / 474.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.01022/14.88, allocations: 2.336 MB / 4.433 GB, free: 34.85 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/14.88, allocations: 16.02 kB / 4.433 GB, free: 34.83 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000962/14.89, allocations: 106.9 kB / 4.433 GB, free: 34.73 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/14.89, allocations: 0.6427 MB / 4.434 GB, free: 34.05 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/14.89, allocations: 101.4 kB / 4.434 GB, free: 33.94 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/14.89, allocations: 40 kB / 4.434 GB, free: 33.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002927/14.89, allocations: 1.031 MB / 4.435 GB, free: 32.87 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002704/14.89, allocations: 1.019 MB / 4.436 GB, free: 31.79 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.664e-05/14.89, allocations: 0 / 4.436 GB, free: 31.79 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/14.89, allocations: 7.984 kB / 4.436 GB, free: 31.79 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/14.89, allocations: 53.92 kB / 4.436 GB, free: 31.73 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01133/14.91, allocations: 5.005 MB / 4.441 GB, free: 26.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002326/14.91, allocations: 0.6441 MB / 4.441 GB, free: 25.75 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008179/14.91, allocations: 338.6 kB / 4.442 GB, free: 25.42 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/14.91, allocations: 1.06 MB / 4.443 GB, free: 24.14 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/14.91, allocations: 43.12 kB / 4.443 GB, free: 24.08 MB / 474.7 MB Notification: Performance of pre-optimization done (n=63): time 3.957e-06/14.91, allocations: 0 / 4.443 GB, free: 24.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=75): time 0.02694/14.94, allocations: 3.718 MB / 4.446 GB, free: 20.32 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/14.94, allocations: 111.6 kB / 4.446 GB, free: 20.19 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009094/14.94, allocations: 486.1 kB / 4.447 GB, free: 19.71 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001953/14.94, allocations: 33.7 kB / 4.447 GB, free: 19.67 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/14.94, allocations: 422.6 kB / 4.447 GB, free: 19.25 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003072/14.94, allocations: 260.3 kB / 4.448 GB, free: 18.99 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/14.94, allocations: 4 kB / 4.448 GB, free: 18.98 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/14.94, allocations: 378.8 kB / 4.448 GB, free: 18.61 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/14.94, allocations: 406.5 kB / 4.448 GB, free: 18.21 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/14.94, allocations: 0.7059 MB / 4.449 GB, free: 17.36 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003442/14.95, allocations: 0.7225 MB / 4.45 GB, free: 16.64 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/14.95, allocations: 4 kB / 4.45 GB, free: 16.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.006111/14.95, allocations: 1.615 MB / 4.451 GB, free: 15.01 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/14.95, allocations: 13.41 kB / 4.451 GB, free: 15 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/14.95, allocations: 8 kB / 4.451 GB, free: 14.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.011/14.96, allocations: 1.042 MB / 4.452 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/14.96, allocations: 171.7 kB / 4.453 GB, free: 13.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00361/14.97, allocations: 1.477 MB / 4.454 GB, free: 12.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002066/14.97, allocations: 79.83 kB / 4.454 GB, free: 12.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/14.97, allocations: 67.97 kB / 4.454 GB, free: 12.13 MB / 474.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.0003675/14.97, allocations: 130.7 kB / 4.454 GB, free: 12 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004586/14.98, allocations: 1.13 MB / 4.455 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/14.98, allocations: 75.16 kB / 4.455 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005687/14.98, allocations: 1.416 MB / 4.457 GB, free: 9.352 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/14.98, allocations: 8 kB / 4.457 GB, free: 9.344 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.158e-06/14.98, allocations: 4 kB / 4.457 GB, free: 9.34 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/14.98, allocations: 3.984 kB / 4.457 GB, free: 9.336 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007896/14.99, allocations: 2.677 MB / 4.459 GB, free: 6.543 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/14.99, allocations: 4 kB / 4.459 GB, free: 6.539 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002828/14.99, allocations: 247.7 kB / 4.46 GB, free: 6.297 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002591/14.99, allocations: 316.8 kB / 4.46 GB, free: 5.984 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000184/15, allocations: 19.98 kB / 4.46 GB, free: 5.965 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002536/15, allocations: 2.142 MB / 4.462 GB, free: 3.691 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/15, allocations: 7.969 kB / 4.462 GB, free: 3.684 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01056/15.01, allocations: 2.3 MB / 4.464 GB, free: 1.273 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008617/15.01, allocations: 272 kB / 4.465 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002952/15.01, allocations: 19.94 kB / 4.465 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/15.01, allocations: 51.86 kB / 4.465 GB, free: 0.918 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/15.01, allocations: 68.62 kB / 4.465 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001791/15.01, allocations: 47.97 kB / 4.465 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007263/15.01, allocations: 362.9 kB / 4.465 GB, free: 460 kB / 474.7 MB Notification: Performance of sort global known variables: time 8.22e-07/15.01, allocations: 0 / 4.465 GB, free: 460 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.004272/15.02, allocations: 0.7765 MB / 4.466 GB, free: 15.67 MB / 490.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.01966/15.04, allocations: 5.198 MB / 4.471 GB, free: 10.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003903/15.04, allocations: 1.038 MB / 4.472 GB, free: 9.508 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/15.04, allocations: 4.188 kB / 4.472 GB, free: 9.504 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002804/15.04, allocations: 0.5883 MB / 4.473 GB, free: 8.918 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003733/15.05, allocations: 376.5 kB / 4.473 GB, free: 8.551 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009793/15.06, allocations: 2.075 MB / 4.475 GB, free: 6.406 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/15.06, allocations: 1.058 MB / 4.476 GB, free: 5.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002169/15.06, allocations: 274.8 kB / 4.476 GB, free: 5.047 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/15.06, allocations: 323.3 kB / 4.477 GB, free: 4.73 MB / 490.7 MB Notification: Performance of SimCode: time 1.213e-06/15.06, allocations: 0 / 4.477 GB, free: 4.73 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5531/15.61, allocations: 41.67 MB / 4.517 GB, free: 62.68 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002812/15.61, allocations: 195.3 kB / 4.517 GB, free: 62.43 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.919/20.53, allocations: 0 / 4.517 GB, free: 62.43 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat