Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.421/2.421, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.668e-05/3.676e-05, allocations: 4 kB / 305 MB, free: 5.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.4081, allocations: 54.85 MB / 359.9 MB, free: 3.191 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1633/0.5714, allocations: 87.9 MB / 447.8 MB, free: 9.023 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003424/0.5718, allocations: 95.94 kB / 447.9 MB, free: 8.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03888/0.6107, allocations: 7.59 MB / 455.5 MB, free: 1.348 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.6108, allocations: 4 kB / 455.5 MB, free: 1.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.6108, allocations: 0 / 455.5 MB, free: 1.344 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.0007729/0.6116, allocations: 438.1 kB / 455.9 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.6117, allocations: 15.97 kB / 455.9 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.585e-05/0.6118, allocations: 46.52 kB / 455.9 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.6119, allocations: 7.906 kB / 456 MB, free: 0.793 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.612, allocations: 183.9 kB / 456.1 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.6121, allocations: 12 kB / 456.1 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.6121, allocations: 12 kB / 456.2 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.6125, allocations: 130.6 kB / 456.3 MB, free: 428 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.6125, allocations: 3.984 kB / 456.3 MB, free: 424 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.6125, allocations: 4 kB / 456.3 MB, free: 420 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.6125, allocations: 11.89 kB / 456.3 MB, free: 408 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/0.6128, allocations: 108 kB / 456.4 MB, free: 300 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.6143, allocations: 0.5235 MB / 456.9 MB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.6146, allocations: 86.62 kB / 457 MB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.6148, allocations: 40.84 kB / 457.1 MB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.6148, allocations: 5.031 kB / 457.1 MB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.6148, allocations: 30.56 kB / 457.1 MB, free: 15.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 3.015e-06/0.6149, allocations: 4 kB / 457.1 MB, free: 15.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003687/0.6152, allocations: 101.7 kB / 457.2 MB, free: 15.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.6153, allocations: 55.34 kB / 457.3 MB, free: 15.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.6154, allocations: 106.6 kB / 457.4 MB, free: 15.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.6155, allocations: 33.7 kB / 457.4 MB, free: 15.19 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.83e-05/0.6156, allocations: 115.7 kB / 457.5 MB, free: 15.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/0.6156, allocations: 39.39 kB / 457.5 MB, free: 15.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/0.6157, allocations: 4 kB / 457.5 MB, free: 15.03 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.6158, allocations: 318.8 kB / 457.9 MB, free: 14.71 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.976e-05/0.6159, allocations: 24 kB / 457.9 MB, free: 14.69 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.6161, allocations: 62.27 kB / 457.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.6162, allocations: 35.98 kB / 458 MB, free: 14.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.6162, allocations: 384 / 458 MB, free: 14.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003611/0.6166, allocations: 137.4 kB / 458.1 MB, free: 14.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.6166, allocations: 4 kB / 458.1 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.6167, allocations: 8.156 kB / 458.1 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.6167, allocations: 3.938 kB / 458.1 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004454/0.6171, allocations: 51.89 kB / 458.2 MB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005038/0.6177, allocations: 0.586 MB / 458.8 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.6179, allocations: 23.86 kB / 458.8 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.6179, allocations: 12.09 kB / 458.8 MB, free: 13.72 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.0001209/0.618, allocations: 111 kB / 458.9 MB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.6181, allocations: 15.84 kB / 458.9 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004932/0.6186, allocations: 146.1 kB / 459.1 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.6186, allocations: 7.938 kB / 459.1 MB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6186, allocations: 0 / 459.1 MB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.6187, allocations: 0 / 459.1 MB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.6191, allocations: 213.5 kB / 459.3 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.6191, allocations: 0 / 459.3 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/0.6195, allocations: 39.97 kB / 459.3 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.6195, allocations: 0 / 459.3 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.6195, allocations: 11.95 kB / 459.3 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004646/0.62, allocations: 0.586 MB / 459.9 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.6201, allocations: 3.938 kB / 459.9 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005037/0.6206, allocations: 255.4 kB / 460.2 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.6207, allocations: 96.97 kB / 460.3 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.6207, allocations: 0 / 460.3 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.621, allocations: 24.14 kB / 460.3 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.621, allocations: 7.984 kB / 460.3 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.6211, allocations: 4 kB / 460.3 MB, free: 12.1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.025e-05/0.6211, allocations: 91.27 kB / 460.4 MB, free: 12.01 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6212, allocations: 0 / 460.4 MB, free: 12.01 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005926/0.6218, allocations: 87.78 kB / 460.5 MB, free: 11.93 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.001286/0.6231, allocations: 0.893 MB / 461.4 MB, free: 11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004599/0.6235, allocations: 108.2 kB / 461.5 MB, free: 10.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6236, allocations: 0 / 461.5 MB, free: 10.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.6238, allocations: 56.59 kB / 461.5 MB, free: 10.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.6241, allocations: 7.047 kB / 461.5 MB, free: 10.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.6251, allocations: 259.1 kB / 461.8 MB, free: 10.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.6255, allocations: 0.7124 MB / 462.5 MB, free: 9.816 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000165/0.6257, allocations: 20.53 kB / 462.5 MB, free: 9.797 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.6258, allocations: 31.42 kB / 462.6 MB, free: 9.766 MB / 394.7 MB Notification: Performance of SimCode: time 9.41e-07/0.6258, allocations: 4 kB / 462.6 MB, free: 9.762 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0328/0.6586, allocations: 3.808 MB / 466.4 MB, free: 6.062 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000347/0.6591, allocations: 228.9 kB / 466.6 MB, free: 5.797 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.719/3.378, allocations: 0 / 466.6 MB, free: 5.797 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat