Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.977/1.977, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.578e-05/5.601e-05, allocations: 7.938 kB / 273.2 MB, free: 0.6133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 48.7 MB / 321.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4328/0.5405, allocations: 78.61 MB / 400.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005819/0.5411, allocations: 99.86 kB / 400.6 MB, free: 11.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04455/0.5857, allocations: 5.743 MB / 406.3 MB, free: 5.391 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5858, allocations: 0 / 406.3 MB, free: 5.391 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.5858, allocations: 7.938 kB / 406.3 MB, free: 5.383 MB / 330.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.001222/0.5871, allocations: 494.2 kB / 406.8 MB, free: 4.855 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/0.5871, allocations: 12.03 kB / 406.8 MB, free: 4.844 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001343/0.5873, allocations: 62.53 kB / 406.9 MB, free: 4.773 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002766/0.5901, allocations: 171.4 kB / 407.1 MB, free: 4.605 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007162/0.5908, allocations: 250.6 kB / 407.3 MB, free: 4.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.5909, allocations: 20.42 kB / 407.3 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.591, allocations: 19.94 kB / 407.3 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.5925, allocations: 416.4 kB / 407.7 MB, free: 3.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/0.5926, allocations: 3.938 kB / 407.8 MB, free: 3.836 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.979e-05/0.5927, allocations: 11.98 kB / 407.8 MB, free: 3.824 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.973e-05/0.5928, allocations: 28.55 kB / 407.8 MB, free: 3.797 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.5943, allocations: 344.9 kB / 408.1 MB, free: 3.461 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005003/0.5994, allocations: 1.708 MB / 409.8 MB, free: 1.629 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004575/0.5999, allocations: 78.53 kB / 409.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.6001, allocations: 40.83 kB / 410 MB, free: 1.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.6002, allocations: 4 kB / 410 MB, free: 1.496 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.6003, allocations: 34.56 kB / 410 MB, free: 1.453 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 4.549e-06/0.6003, allocations: 0 / 410 MB, free: 1.453 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007228/0.601, allocations: 121.3 kB / 410.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.6011, allocations: 55.41 kB / 410.2 MB, free: 1.262 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/0.6019, allocations: 291.1 kB / 410.4 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.602, allocations: 29.7 kB / 410.5 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.6022, allocations: 229.9 kB / 410.7 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.329e-05/0.6023, allocations: 27.64 kB / 410.7 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.6023, allocations: 0 / 410.7 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.6025, allocations: 330.8 kB / 411 MB, free: 364 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.6029, allocations: 55.97 kB / 411.1 MB, free: 308 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.6033, allocations: 97.25 kB / 411.2 MB, free: 192 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/0.6037, allocations: 75.94 kB / 411.3 MB, free: 116 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.6037, allocations: 0 / 411.3 MB, free: 116 kB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001009/0.6048, allocations: 201.4 kB / 411.5 MB, free: 15.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.6048, allocations: 8 kB / 411.5 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.6049, allocations: 0 / 411.5 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/0.6049, allocations: 8 kB / 411.5 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00399/0.6089, allocations: 124 kB / 411.6 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003587/0.6125, allocations: 1.836 MB / 413.4 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008286/0.6134, allocations: 43.45 kB / 413.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.246e-05/0.6135, allocations: 15.95 kB / 413.5 MB, free: 13.81 MB / 346.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.0001931/0.6137, allocations: 113.1 kB / 413.6 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.6138, allocations: 19.81 kB / 413.6 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.6149, allocations: 175.2 kB / 413.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.615, allocations: 4 kB / 413.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.615, allocations: 0 / 413.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.615, allocations: 7.984 kB / 413.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007965/0.6158, allocations: 277.5 kB / 414.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6159, allocations: 0 / 414.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003259/0.6191, allocations: 99.81 kB / 414.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.6192, allocations: 0 / 414.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/0.6192, allocations: 4 kB / 414.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/0.6216, allocations: 1.785 MB / 416 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/0.6216, allocations: 4.031 kB / 416 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000693/0.6223, allocations: 239.4 kB / 416.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.6225, allocations: 100.8 kB / 416.3 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.6227, allocations: 4 kB / 416.3 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005388/0.6232, allocations: 11.98 kB / 416.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.852e-05/0.6233, allocations: 4 kB / 416.3 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/0.6234, allocations: 4 kB / 416.3 MB, free: 10.81 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005631/0.6239, allocations: 239.1 kB / 416.6 MB, free: 10.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.624, allocations: 0 / 416.6 MB, free: 10.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005052/0.6245, allocations: 79.84 kB / 416.6 MB, free: 10.5 MB / 346.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.0009453/0.6254, allocations: 0.8057 MB / 417.4 MB, free: 9.664 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00247/0.6279, allocations: 191.9 kB / 417.6 MB, free: 9.477 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.628, allocations: 0 / 417.6 MB, free: 9.477 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00144/0.6294, allocations: 97.27 kB / 417.7 MB, free: 9.383 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/0.6299, allocations: 41.25 kB / 417.8 MB, free: 9.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.6314, allocations: 439.3 kB / 418.2 MB, free: 8.871 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.6319, allocations: 0.7794 MB / 419 MB, free: 8.066 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.6321, allocations: 75.41 kB / 419.1 MB, free: 7.992 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6321, allocations: 0 / 419.1 MB, free: 7.992 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.839/3.471, allocations: 7.618 MB / 426.7 MB, free: 392 kB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat