Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.362/2.362, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.897e-05/3.891e-05, allocations: 4 kB / 305 MB, free: 5.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4838/0.4839, allocations: 54.85 MB / 359.9 MB, free: 2.359 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/0.6466, allocations: 87.9 MB / 447.8 MB, free: 8.941 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003857/0.6471, allocations: 103.9 kB / 447.9 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03805/0.6851, allocations: 7.583 MB / 455.5 MB, free: 1.262 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6852, allocations: 4 kB / 455.5 MB, free: 1.258 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.6852, allocations: 0 / 455.5 MB, free: 1.258 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007238/0.6859, allocations: 434.1 kB / 455.9 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.686, allocations: 12.03 kB / 455.9 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.446e-05/0.6861, allocations: 50.5 kB / 456 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.6861, allocations: 11.84 kB / 456 MB, free: 0.707 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.6863, allocations: 174.9 kB / 456.1 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.6863, allocations: 12 kB / 456.2 MB, free: 496 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.6864, allocations: 12 kB / 456.2 MB, free: 484 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.6867, allocations: 130.6 kB / 456.3 MB, free: 348 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.6867, allocations: 0 / 456.3 MB, free: 348 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.6868, allocations: 11.94 kB / 456.3 MB, free: 336 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.6868, allocations: 3.953 kB / 456.3 MB, free: 332 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.6871, allocations: 108 kB / 456.4 MB, free: 224 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.6884, allocations: 0.5251 MB / 456.9 MB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.6887, allocations: 83.22 kB / 457 MB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.6888, allocations: 40.8 kB / 457.1 MB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.6888, allocations: 4 kB / 457.1 MB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.6889, allocations: 42.56 kB / 457.1 MB, free: 15.44 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.833e-06/0.6889, allocations: 0 / 457.1 MB, free: 15.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003388/0.6892, allocations: 101.7 kB / 457.2 MB, free: 15.33 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.6893, allocations: 59.34 kB / 457.3 MB, free: 15.26 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.6894, allocations: 106.6 kB / 457.4 MB, free: 15.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.6894, allocations: 29.7 kB / 457.4 MB, free: 15.11 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.6895, allocations: 178.1 kB / 457.6 MB, free: 14.94 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.253e-05/0.6896, allocations: 47.44 kB / 457.6 MB, free: 14.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/0.6897, allocations: 0 / 457.6 MB, free: 14.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.6898, allocations: 318.8 kB / 457.9 MB, free: 14.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.819e-05/0.6899, allocations: 24 kB / 457.9 MB, free: 14.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.6901, allocations: 70.06 kB / 458 MB, free: 14.46 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.6902, allocations: 31.98 kB / 458 MB, free: 14.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6902, allocations: 4 kB / 458.1 MB, free: 14.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003358/0.6906, allocations: 129.4 kB / 458.2 MB, free: 14.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.6906, allocations: 8 kB / 458.2 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6906, allocations: 0 / 458.2 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.6907, allocations: 8.531 kB / 458.2 MB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/0.6911, allocations: 47.95 kB / 458.2 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004358/0.6915, allocations: 0.5859 MB / 458.8 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.6917, allocations: 27.86 kB / 458.9 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.6918, allocations: 8.031 kB / 458.9 MB, free: 13.59 MB / 394.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.0001266/0.6919, allocations: 114.9 kB / 459 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.692, allocations: 11.86 kB / 459 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000489/0.6925, allocations: 146.1 kB / 459.1 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.6925, allocations: 3.938 kB / 459.1 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.6925, allocations: 0 / 459.1 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.6925, allocations: 0 / 459.1 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003918/0.6929, allocations: 213.5 kB / 459.3 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.6929, allocations: 0 / 459.3 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003865/0.6933, allocations: 43.97 kB / 459.4 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.6934, allocations: 0 / 459.4 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.6934, allocations: 11.94 kB / 459.4 MB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004076/0.6938, allocations: 0.5899 MB / 460 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.6938, allocations: 1.172 kB / 460 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004655/0.6943, allocations: 251.4 kB / 460.2 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.6944, allocations: 96.97 kB / 460.3 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.6945, allocations: 0 / 460.3 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.6947, allocations: 20.14 kB / 460.3 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/0.6947, allocations: 7.984 kB / 460.4 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.6948, allocations: 4 kB / 460.4 MB, free: 11.97 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.612e-05/0.6949, allocations: 91.27 kB / 460.4 MB, free: 11.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.6949, allocations: 0 / 460.4 MB, free: 11.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005932/0.6955, allocations: 83.88 kB / 460.5 MB, free: 11.8 MB / 394.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.001191/0.6967, allocations: 0.8893 MB / 461.4 MB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004289/0.6971, allocations: 96.11 kB / 461.5 MB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.6971, allocations: 8.219 kB / 461.5 MB, free: 10.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.6974, allocations: 55.91 kB / 461.6 MB, free: 10.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.6977, allocations: 11.94 kB / 461.6 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.6987, allocations: 289.3 kB / 461.9 MB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.6991, allocations: 0.7123 MB / 462.6 MB, free: 9.656 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.6992, allocations: 35.42 kB / 462.6 MB, free: 9.621 MB / 394.7 MB Notification: Performance of SimCode: time 1.513e-06/0.6992, allocations: 0 / 462.6 MB, free: 9.621 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.885/3.585, allocations: 3.152 MB / 465.8 MB, free: 6.492 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.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat