Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.93/1.93, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.762e-05, allocations: 5.406 kB / 273.2 MB, free: 0.6055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.118, allocations: 48.69 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4497/0.5678, allocations: 81.38 MB / 403.2 MB, free: 8.516 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003763/0.5682, allocations: 95.19 kB / 403.3 MB, free: 8.426 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03996/0.6082, allocations: 7.602 MB / 410.9 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6082, allocations: 0 / 410.9 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.6082, allocations: 0 / 410.9 MB, free: 0.8047 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007825/0.609, allocations: 442 kB / 411.4 MB, free: 336 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.6091, allocations: 8.031 kB / 411.4 MB, free: 328 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.132e-05/0.6092, allocations: 46.56 kB / 411.4 MB, free: 272 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.6092, allocations: 11.91 kB / 411.4 MB, free: 260 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.6094, allocations: 186.8 kB / 411.6 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.6095, allocations: 8 kB / 411.6 MB, free: 24 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.6095, allocations: 15.94 kB / 411.6 MB, free: 8 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003722/0.6099, allocations: 126.2 kB / 411.8 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.6099, allocations: 0 / 411.8 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.61, allocations: 4 kB / 411.8 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.61, allocations: 4 kB / 411.8 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/0.6103, allocations: 112 kB / 411.9 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.6116, allocations: 0.5299 MB / 412.4 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.6119, allocations: 90.61 kB / 412.5 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.612, allocations: 36.86 kB / 412.5 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.6121, allocations: 0 / 412.5 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.6121, allocations: 34.55 kB / 412.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.214e-06/0.6121, allocations: 0 / 412.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003497/0.6125, allocations: 101.8 kB / 412.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.6126, allocations: 51.41 kB / 412.7 MB, free: 14.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.6127, allocations: 113 kB / 412.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.6127, allocations: 25.7 kB / 412.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.6129, allocations: 182.5 kB / 413 MB, free: 14.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/0.6129, allocations: 43.45 kB / 413.1 MB, free: 14.44 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/0.613, allocations: 0 / 413.1 MB, free: 14.44 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.6131, allocations: 322.8 kB / 413.4 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.705e-05/0.6132, allocations: 27.94 kB / 413.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.6134, allocations: 69.14 kB / 413.5 MB, free: 14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.6135, allocations: 27.98 kB / 413.5 MB, free: 13.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6135, allocations: 0 / 413.5 MB, free: 13.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003605/0.6139, allocations: 141.4 kB / 413.7 MB, free: 13.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.6139, allocations: 4 kB / 413.7 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.6139, allocations: 4 kB / 413.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.614, allocations: 0 / 413.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004243/0.6144, allocations: 47.91 kB / 413.7 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004641/0.6149, allocations: 0.5823 MB / 414.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.6151, allocations: 27.88 kB / 414.3 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.6151, allocations: 12 kB / 414.3 MB, free: 13.13 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.6152, allocations: 108.9 kB / 414.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.6153, allocations: 11.89 kB / 414.4 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004776/0.6158, allocations: 142.1 kB / 414.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.6158, allocations: 4 kB / 414.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6158, allocations: 0 / 414.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.6158, allocations: 3.984 kB / 414.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/0.6162, allocations: 213.5 kB / 414.8 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.6163, allocations: 3.984 kB / 414.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003901/0.6167, allocations: 47.91 kB / 414.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.6167, allocations: 0 / 414.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.6167, allocations: 4 kB / 414.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005005/0.6172, allocations: 0.5821 MB / 415.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6172, allocations: 0 / 415.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004744/0.6177, allocations: 263.7 kB / 415.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.6179, allocations: 100.9 kB / 415.8 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.6179, allocations: 0 / 415.8 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.6181, allocations: 16 kB / 415.8 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.6182, allocations: 19.86 kB / 415.8 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.6182, allocations: 4 kB / 415.8 MB, free: 11.51 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.259e-05/0.6183, allocations: 87.28 kB / 415.9 MB, free: 11.42 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6183, allocations: 0 / 415.9 MB, free: 11.42 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006275/0.6189, allocations: 87.92 kB / 416 MB, free: 11.34 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001237/0.6202, allocations: 0.8882 MB / 416.9 MB, free: 10.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004378/0.6207, allocations: 103.8 kB / 417 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6207, allocations: 0 / 417 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002552/0.621, allocations: 55.92 kB / 417.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.6213, allocations: 11.95 kB / 417.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.6227, allocations: 271.9 kB / 417.3 MB, free: 9.945 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.6232, allocations: 0.7121 MB / 418 MB, free: 9.207 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.6234, allocations: 39.42 kB / 418.1 MB, free: 9.168 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6234, allocations: 0 / 418.1 MB, free: 9.168 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.571/3.194, allocations: 3.147 MB / 421.2 MB, free: 6.035 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat