Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.421/2.421, allocations: 235 MB / 247.6 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.792e-05/3.811e-05, allocations: 4 kB / 305 MB, free: 5.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4162, allocations: 54.85 MB / 359.9 MB, free: 2.359 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1723/0.5885, allocations: 85.05 MB / 444.9 MB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003908/0.589, allocations: 92.95 kB / 445 MB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02709/0.6161, allocations: 5.756 MB / 450.8 MB, free: 5.941 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6162, allocations: 0 / 450.8 MB, free: 5.941 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.6162, allocations: 0 / 450.8 MB, free: 5.941 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008589/0.6171, allocations: 494.2 kB / 451.3 MB, free: 5.414 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.6171, allocations: 19.95 kB / 451.3 MB, free: 5.395 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.957e-05/0.6172, allocations: 58.5 kB / 451.3 MB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.6189, allocations: 171.5 kB / 451.5 MB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004901/0.6195, allocations: 256.3 kB / 451.7 MB, free: 4.871 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.6195, allocations: 16.44 kB / 451.8 MB, free: 4.855 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.327e-05/0.6196, allocations: 19.98 kB / 451.8 MB, free: 4.836 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009395/0.6205, allocations: 420.4 kB / 452.2 MB, free: 4.379 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.6206, allocations: 3.953 kB / 452.2 MB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.188e-05/0.6206, allocations: 8 kB / 452.2 MB, free: 4.367 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.008e-05/0.6207, allocations: 24.55 kB / 452.2 MB, free: 4.344 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009188/0.6216, allocations: 344.8 kB / 452.6 MB, free: 4.008 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003372/0.625, allocations: 1.721 MB / 454.3 MB, free: 2.164 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.6253, allocations: 78.48 kB / 454.4 MB, free: 2.078 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.6255, allocations: 48.83 kB / 454.4 MB, free: 2.027 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.6256, allocations: 0 / 454.4 MB, free: 2.027 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.6256, allocations: 30.56 kB / 454.4 MB, free: 1.988 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.833e-06/0.6256, allocations: 0 / 454.4 MB, free: 1.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005117/0.6261, allocations: 125.5 kB / 454.6 MB, free: 1.859 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.6262, allocations: 51.41 kB / 454.6 MB, free: 1.797 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005327/0.6267, allocations: 295.1 kB / 454.9 MB, free: 1.504 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.6268, allocations: 33.7 kB / 454.9 MB, free: 1.465 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.627, allocations: 229.8 kB / 455.2 MB, free: 1.238 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/0.6271, allocations: 23.66 kB / 455.2 MB, free: 1.215 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.6271, allocations: 7.938 kB / 455.2 MB, free: 1.207 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.6273, allocations: 318.8 kB / 455.5 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.6275, allocations: 55.97 kB / 455.6 MB, free: 0.832 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.6278, allocations: 101.9 kB / 455.7 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.628, allocations: 71.94 kB / 455.7 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.6281, allocations: 0 / 455.7 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00071/0.6288, allocations: 201.4 kB / 455.9 MB, free: 448 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.689e-05/0.6289, allocations: 9.719 kB / 455.9 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.6289, allocations: 3.953 kB / 455.9 MB, free: 436 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.486e-05/0.6289, allocations: 4 kB / 455.9 MB, free: 432 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003117/0.6321, allocations: 119.8 kB / 456.1 MB, free: 312 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/0.6347, allocations: 1.84 MB / 457.9 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/0.6352, allocations: 43.8 kB / 457.9 MB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.371e-05/0.6353, allocations: 16 kB / 458 MB, free: 14.34 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * 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.0001329/0.6354, allocations: 109 kB / 458.1 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.417e-05/0.6355, allocations: 23.66 kB / 458.1 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006455/0.6362, allocations: 175.3 kB / 458.3 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.6362, allocations: 4 kB / 458.3 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.6362, allocations: 0 / 458.3 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.6362, allocations: 0 / 458.3 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004934/0.6367, allocations: 273.5 kB / 458.5 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.6367, allocations: 0 / 458.5 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002153/0.6389, allocations: 95.86 kB / 458.6 MB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.6389, allocations: 8 kB / 458.6 MB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.639, allocations: 4 kB / 458.6 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/0.6408, allocations: 1.793 MB / 460.4 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6408, allocations: 0 / 460.4 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005077/0.6413, allocations: 239.1 kB / 460.7 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.6414, allocations: 104.8 kB / 460.8 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.014e-05/0.6415, allocations: 0 / 460.8 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.6419, allocations: 11.98 kB / 460.8 MB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.642, allocations: 16.03 kB / 460.8 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.642, allocations: 4 kB / 460.8 MB, free: 11.33 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004114/0.6424, allocations: 235.1 kB / 461 MB, free: 11.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6424, allocations: 0 / 461 MB, free: 11.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005501/0.643, allocations: 83.83 kB / 461.1 MB, free: 11.02 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 (11): * Single equations (assignments): 8 * 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.0009864/0.644, allocations: 0.7981 MB / 461.9 MB, free: 10.19 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002444/0.6465, allocations: 191.9 kB / 462.1 MB, free: 10 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.6465, allocations: 384 / 462.1 MB, free: 10 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.6479, allocations: 95.84 kB / 462.2 MB, free: 9.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/0.6484, allocations: 43.81 kB / 462.2 MB, free: 9.867 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.6499, allocations: 440.7 kB / 462.7 MB, free: 9.398 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005513/0.6505, allocations: 0.7794 MB / 463.4 MB, free: 8.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.6507, allocations: 67.42 kB / 463.5 MB, free: 8.523 MB / 394.7 MB Notification: Performance of SimCode: time 1.323e-06/0.6507, allocations: 4 kB / 463.5 MB, free: 8.52 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.895/3.546, allocations: 7.62 MB / 471.1 MB, free: 0.918 MB / 394.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_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat