Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.448/2.448, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.129e-05/5.132e-05, allocations: 4.938 kB / 305 MB, free: 5.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.409, allocations: 54.86 MB / 359.9 MB, free: 2.703 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1757/0.5848, allocations: 85.93 MB / 445.8 MB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003738/0.5852, allocations: 88.94 kB / 445.9 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02824/0.6135, allocations: 5.934 MB / 451.8 MB, free: 4.953 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.6135, allocations: 0 / 451.8 MB, free: 4.953 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.6136, allocations: 4 kB / 451.8 MB, free: 4.949 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0008792/0.6144, allocations: 490.3 kB / 452.3 MB, free: 4.426 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.6145, allocations: 12.03 kB / 452.3 MB, free: 4.414 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.882e-05/0.6146, allocations: 66.53 kB / 452.4 MB, free: 4.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002341/0.617, allocations: 199.3 kB / 452.6 MB, free: 4.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006059/0.6176, allocations: 266.7 kB / 452.8 MB, free: 3.844 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.108e-05/0.6177, allocations: 24.56 kB / 452.9 MB, free: 3.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.09e-05/0.6178, allocations: 23.98 kB / 452.9 MB, free: 3.797 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.619, allocations: 443.5 kB / 453.3 MB, free: 3.355 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.6191, allocations: 0 / 453.3 MB, free: 3.355 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.229e-05/0.6192, allocations: 19.95 kB / 453.3 MB, free: 3.336 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.881e-05/0.6192, allocations: 21.48 kB / 453.4 MB, free: 3.312 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.6206, allocations: 0.5047 MB / 453.9 MB, free: 2.809 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003671/0.6243, allocations: 1.179 MB / 455.1 MB, free: 1.539 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004866/0.6249, allocations: 110.5 kB / 455.2 MB, free: 1.422 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.6251, allocations: 52.83 kB / 455.2 MB, free: 1.367 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.6251, allocations: 4 kB / 455.2 MB, free: 1.363 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.6252, allocations: 38.45 kB / 455.3 MB, free: 1.316 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.926e-06/0.6252, allocations: 0 / 455.3 MB, free: 1.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006984/0.6259, allocations: 146.5 kB / 455.4 MB, free: 1.168 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.626, allocations: 55.41 kB / 455.5 MB, free: 1.102 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004096/0.6264, allocations: 251.8 kB / 455.7 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.6264, allocations: 25.7 kB / 455.7 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.6266, allocations: 226.1 kB / 455.9 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/0.6267, allocations: 27.64 kB / 456 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.6267, allocations: 0 / 456 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.6269, allocations: 318.8 kB / 456.3 MB, free: 256 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.6271, allocations: 47.97 kB / 456.3 MB, free: 208 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/0.6274, allocations: 87.39 kB / 456.4 MB, free: 108 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.6277, allocations: 66.05 kB / 456.5 MB, free: 44 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.6277, allocations: 0 / 456.5 MB, free: 44 kB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007348/0.6285, allocations: 165.5 kB / 456.6 MB, free: 15.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.6285, allocations: 8 kB / 456.6 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.6285, allocations: 0 / 456.6 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.6286, allocations: 7.953 kB / 456.7 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01006/0.6386, allocations: 447.4 kB / 457.1 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004747/0.6434, allocations: 1.91 MB / 459 MB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007812/0.6443, allocations: 51.72 kB / 459.1 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.6443, allocations: 7.984 kB / 459.1 MB, free: 13.38 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.6445, allocations: 105 kB / 459.2 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.971e-05/0.6446, allocations: 20.75 kB / 459.2 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.209e-05/0.6447, allocations: 25.83 kB / 459.2 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.6447, allocations: 7.953 kB / 459.2 MB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.6447, allocations: 0 / 459.2 MB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.6448, allocations: 0 / 459.2 MB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005983/0.6454, allocations: 293.4 kB / 459.5 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6454, allocations: 0 / 459.5 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009844/0.6552, allocations: 439.3 kB / 459.9 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/0.6553, allocations: 0 / 459.9 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.794e-05/0.6554, allocations: 7.922 kB / 459.9 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004774/0.6602, allocations: 1.911 MB / 461.9 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.6602, allocations: 192 / 461.9 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007052/0.6609, allocations: 254.6 kB / 462.1 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.6611, allocations: 104.8 kB / 462.2 MB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.901e-05/0.6612, allocations: 4 kB / 462.2 MB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007114/0.6619, allocations: 19.97 kB / 462.2 MB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.531e-05/0.662, allocations: 13.34 kB / 462.2 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.662, allocations: 11.98 kB / 462.2 MB, free: 10.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003277/0.6624, allocations: 207.1 kB / 462.5 MB, free: 9.832 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6624, allocations: 0 / 462.5 MB, free: 9.832 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005934/0.663, allocations: 71.84 kB / 462.5 MB, free: 9.762 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001294/0.6643, allocations: 0.8265 MB / 463.3 MB, free: 8.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01184/0.6762, allocations: 455.3 kB / 463.8 MB, free: 8.465 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.425e-06/0.6763, allocations: 0 / 463.8 MB, free: 8.465 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01167/0.6879, allocations: 396.2 kB / 464.2 MB, free: 8.078 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007123/0.6887, allocations: 44.7 kB / 464.2 MB, free: 8.031 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.6905, allocations: 403 kB / 464.6 MB, free: 7.598 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006153/0.6912, allocations: 0.7792 MB / 465.4 MB, free: 6.789 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/0.6915, allocations: 63.41 kB / 465.5 MB, free: 6.73 MB / 394.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6915, allocations: 0 / 465.5 MB, free: 6.73 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.949/3.64, allocations: 7.753 MB / 473.2 MB, free: 15 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat