Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.953/1.953, allocations: 209.4 MB / 216.9 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.566e-05/2.57e-05, allocations: 4 kB / 267.6 MB, free: 5.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1165, allocations: 48.69 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4133/0.5299, allocations: 79.06 MB / 395.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003648/0.5303, allocations: 93.66 kB / 395.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02722/0.5575, allocations: 5.848 MB / 401.3 MB, free: 8.418 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5576, allocations: 0 / 401.3 MB, free: 8.418 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.5576, allocations: 4 kB / 401.3 MB, free: 8.414 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0008139/0.5585, allocations: 493.7 kB / 401.8 MB, free: 7.902 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.5585, allocations: 8.031 kB / 401.8 MB, free: 7.895 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002372/0.5609, allocations: 205.6 kB / 402 MB, free: 7.711 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005774/0.5615, allocations: 263.4 kB / 402.3 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.05e-05/0.5616, allocations: 19.23 kB / 402.3 MB, free: 7.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.139e-05/0.5617, allocations: 12 kB / 402.3 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001224/0.5629, allocations: 0.494 MB / 402.8 MB, free: 7.066 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009988/0.5639, allocations: 413.1 kB / 403.2 MB, free: 6.754 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.564, allocations: 3.938 kB / 403.2 MB, free: 6.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/0.5641, allocations: 0 / 403.2 MB, free: 6.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.885e-05/0.5641, allocations: 26.47 kB / 403.2 MB, free: 6.727 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003344/0.5675, allocations: 1.074 MB / 404.3 MB, free: 5.688 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.5679, allocations: 111.1 kB / 404.4 MB, free: 5.582 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.5681, allocations: 55.58 kB / 404.5 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.5682, allocations: 160 / 404.5 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.5682, allocations: 30.56 kB / 404.5 MB, free: 5.492 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/0.5682, allocations: 0 / 404.5 MB, free: 5.492 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006055/0.5688, allocations: 136.1 kB / 404.6 MB, free: 5.363 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.5689, allocations: 55.16 kB / 404.7 MB, free: 5.301 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.5691, allocations: 130.6 kB / 404.8 MB, free: 5.176 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.5691, allocations: 25.7 kB / 404.8 MB, free: 5.145 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.5693, allocations: 253.9 kB / 405.1 MB, free: 4.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.5693, allocations: 26.95 kB / 405.1 MB, free: 4.887 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.5694, allocations: 0 / 405.1 MB, free: 4.887 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.5695, allocations: 314.8 kB / 405.4 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.5697, allocations: 51.16 kB / 405.5 MB, free: 4.531 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.57, allocations: 80.91 kB / 405.5 MB, free: 4.453 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.5702, allocations: 61.95 kB / 405.6 MB, free: 4.402 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5702, allocations: 0 / 405.6 MB, free: 4.402 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006087/0.5708, allocations: 169.2 kB / 405.8 MB, free: 4.254 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.5709, allocations: 7.984 kB / 405.8 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5709, allocations: 0 / 405.8 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.5709, allocations: 4 kB / 405.8 MB, free: 4.242 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009915/0.5808, allocations: 442.9 kB / 406.2 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004709/0.5856, allocations: 1.924 MB / 408.1 MB, free: 1.852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006971/0.5863, allocations: 35.91 kB / 408.2 MB, free: 1.816 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.5864, allocations: 7.984 kB / 408.2 MB, free: 1.809 MB / 330.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.0001539/0.5866, allocations: 112.9 kB / 408.3 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005691/0.5871, allocations: 135.9 kB / 408.4 MB, free: 1.562 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.5872, allocations: 15.34 kB / 408.4 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.447e-05/0.5873, allocations: 16.19 kB / 408.5 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.5873, allocations: 0 / 408.5 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5873, allocations: 0 / 408.5 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/0.5873, allocations: 7.938 kB / 408.5 MB, free: 1.535 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000501/0.5878, allocations: 242.2 kB / 408.7 MB, free: 1.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.5879, allocations: 3.938 kB / 408.7 MB, free: 1.281 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01032/0.5982, allocations: 435.5 kB / 409.1 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.167e-05/0.5983, allocations: 7.984 kB / 409.1 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.577e-05/0.5983, allocations: 0 / 409.1 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005898/0.6043, allocations: 1.923 MB / 411.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/0.6043, allocations: 4.062 kB / 411.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007904/0.6051, allocations: 240.2 kB / 411.3 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.173e-05/0.6052, allocations: 88.95 kB / 411.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.459e-05/0.6053, allocations: 0 / 411.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008738/0.6062, allocations: 19.97 kB / 411.4 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.6064, allocations: 11.98 kB / 411.4 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-05/0.6064, allocations: 3.984 kB / 411.4 MB, free: 14.51 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001392/0.6066, allocations: 105.5 kB / 411.5 MB, free: 14.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6066, allocations: 0 / 411.5 MB, free: 14.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009248/0.6075, allocations: 79.64 kB / 411.6 MB, free: 14.34 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 (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.00156/0.6091, allocations: 0.8055 MB / 412.4 MB, free: 13.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01265/0.6218, allocations: 459.7 kB / 412.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.6219, allocations: 0 / 412.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01201/0.6339, allocations: 389.7 kB / 413.2 MB, free: 12.72 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.6344, allocations: 7.25 kB / 413.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.6361, allocations: 378 kB / 413.6 MB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005876/0.6367, allocations: 0.7806 MB / 414.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/0.637, allocations: 69.53 kB / 414.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/0.637, allocations: 0 / 414.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.808/3.445, allocations: 6.966 MB / 421.4 MB, free: 4.531 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.General.dp_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat