Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.595/2.595, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.665e-05/4.671e-05, allocations: 4 kB / 305.1 MB, free: 5.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.4557, allocations: 54.86 MB / 359.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1585/0.6142, allocations: 85.93 MB / 445.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003666/0.6147, allocations: 96.7 kB / 445.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0373/0.652, allocations: 5.926 MB / 451.9 MB, free: 4.816 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.652, allocations: 0 / 451.9 MB, free: 4.816 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.074e-05/0.6521, allocations: 4 kB / 451.9 MB, free: 4.812 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0009567/0.653, allocations: 494.3 kB / 452.3 MB, free: 4.285 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.6531, allocations: 8.031 kB / 452.3 MB, free: 4.277 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.6532, allocations: 74.52 kB / 452.4 MB, free: 4.195 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002326/0.6556, allocations: 199.3 kB / 452.6 MB, free: 4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005846/0.6562, allocations: 262.7 kB / 452.9 MB, free: 3.703 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.967e-05/0.6563, allocations: 28.55 kB / 452.9 MB, free: 3.676 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-05/0.6564, allocations: 24 kB / 452.9 MB, free: 3.652 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.6576, allocations: 439.5 kB / 453.4 MB, free: 3.215 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.6576, allocations: 3.984 kB / 453.4 MB, free: 3.211 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.576e-05/0.6577, allocations: 19.89 kB / 453.4 MB, free: 3.191 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-05/0.6578, allocations: 21.48 kB / 453.4 MB, free: 3.168 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.6592, allocations: 0.5086 MB / 453.9 MB, free: 2.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003657/0.6628, allocations: 1.176 MB / 455.1 MB, free: 1.395 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/0.6634, allocations: 110.4 kB / 455.2 MB, free: 1.277 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.6636, allocations: 56.81 kB / 455.2 MB, free: 1.219 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.6637, allocations: 4 kB / 455.3 MB, free: 1.215 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.6637, allocations: 42.45 kB / 455.3 MB, free: 1.164 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.785e-06/0.6637, allocations: 0 / 455.3 MB, free: 1.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007467/0.6645, allocations: 142.6 kB / 455.4 MB, free: 1.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.6646, allocations: 59.41 kB / 455.5 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/0.665, allocations: 247.8 kB / 455.7 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.585e-05/0.6651, allocations: 25.7 kB / 455.8 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.6652, allocations: 167.5 kB / 455.9 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.788e-05/0.6653, allocations: 31.78 kB / 456 MB, free: 484 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.6653, allocations: 0 / 456 MB, free: 484 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.6655, allocations: 330.8 kB / 456.3 MB, free: 144 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.6657, allocations: 51.97 kB / 456.3 MB, free: 92 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/0.666, allocations: 87.39 kB / 456.4 MB, free: 15.99 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/0.6663, allocations: 62.05 kB / 456.5 MB, free: 15.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.6663, allocations: 0 / 456.5 MB, free: 15.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007097/0.6671, allocations: 181.4 kB / 456.6 MB, free: 15.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.6671, allocations: 4 kB / 456.7 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.6671, allocations: 8.094 kB / 456.7 MB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.6671, allocations: 3.953 kB / 456.7 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01026/0.6774, allocations: 451.3 kB / 457.1 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004718/0.6822, allocations: 1.91 MB / 459 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007934/0.683, allocations: 43.69 kB / 459.1 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.241e-05/0.6831, allocations: 7.984 kB / 459.1 MB, free: 13.26 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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.0001437/0.6833, allocations: 113.1 kB / 459.2 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.517e-05/0.6833, allocations: 16.75 kB / 459.2 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.616e-05/0.6834, allocations: 25.83 kB / 459.2 MB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.6835, allocations: 7.953 kB / 459.2 MB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.6835, allocations: 0 / 459.2 MB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.6835, allocations: 0 / 459.2 MB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005806/0.6841, allocations: 293.4 kB / 459.5 MB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.6841, allocations: 0 / 459.5 MB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01004/0.6941, allocations: 435.3 kB / 459.9 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/0.6942, allocations: 4 kB / 459.9 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.361e-05/0.6943, allocations: 3.984 kB / 459.9 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004687/0.699, allocations: 1.915 MB / 461.9 MB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.699, allocations: 4.031 kB / 461.9 MB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000676/0.6997, allocations: 250.5 kB / 462.1 MB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.6999, allocations: 96.84 kB / 462.2 MB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.877e-05/0.6999, allocations: 4 kB / 462.2 MB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007329/0.7007, allocations: 24.06 kB / 462.2 MB, free: 9.938 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.645e-05/0.7008, allocations: 17.34 kB / 462.2 MB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/0.7008, allocations: 7.984 kB / 462.3 MB, free: 9.914 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003325/0.7012, allocations: 203.1 kB / 462.5 MB, free: 9.715 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7012, allocations: 0 / 462.5 MB, free: 9.715 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005597/0.7018, allocations: 75.84 kB / 462.5 MB, free: 9.641 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 (7): * Single equations (assignments): 4 * 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.001191/0.703, allocations: 0.8194 MB / 463.3 MB, free: 8.793 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009514/0.7125, allocations: 471.3 kB / 463.8 MB, free: 8.332 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.7126, allocations: 0 / 463.8 MB, free: 8.332 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009079/0.7216, allocations: 388.2 kB / 464.2 MB, free: 7.953 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004977/0.7222, allocations: 44.7 kB / 464.2 MB, free: 7.906 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.7235, allocations: 381.3 kB / 464.6 MB, free: 7.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/0.724, allocations: 0.7831 MB / 465.4 MB, free: 6.688 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003525/0.7243, allocations: 50.05 kB / 465.4 MB, free: 6.641 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.7245, allocations: 67.41 kB / 465.5 MB, free: 6.578 MB / 394.7 MB Notification: Performance of SimCode: time 1.412e-06/0.7246, allocations: 0 / 465.5 MB, free: 6.578 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03905/0.7636, allocations: 8.004 MB / 473.5 MB, free: 14.67 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003422/0.764, allocations: 235.5 kB / 473.7 MB, free: 14.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.023/3.787, allocations: 0 / 473.7 MB, free: 14.36 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat