Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.444/2.444, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.611e-05/3.618e-05, allocations: 0 / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1293, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5153/0.6447, allocations: 92.05 MB / 0.4907 GB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/0.645, allocations: 92.56 kB / 0.4908 GB, free: 11.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0278/0.6729, allocations: 6.099 MB / 0.4967 GB, free: 5.602 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.6729, allocations: 0 / 0.4967 GB, free: 5.602 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.75e-05/0.6729, allocations: 8 kB / 0.4967 GB, free: 5.594 MB / 410.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.0008227/0.6738, allocations: 494.3 kB / 0.4972 GB, free: 5.062 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.6738, allocations: 8.031 kB / 0.4972 GB, free: 5.055 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.54e-05/0.6739, allocations: 70.52 kB / 0.4973 GB, free: 4.977 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/0.6763, allocations: 199.3 kB / 0.4975 GB, free: 4.781 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005024/0.6768, allocations: 270.6 kB / 0.4977 GB, free: 4.477 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.705e-05/0.6769, allocations: 32.5 kB / 0.4977 GB, free: 4.445 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.79e-05/0.677, allocations: 24 kB / 0.4978 GB, free: 4.422 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.6781, allocations: 439.5 kB / 0.4982 GB, free: 3.988 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.6781, allocations: 0 / 0.4982 GB, free: 3.988 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.05e-05/0.6782, allocations: 11.98 kB / 0.4982 GB, free: 3.977 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.489e-05/0.6783, allocations: 24.55 kB / 0.4982 GB, free: 3.953 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.6797, allocations: 0.5008 MB / 0.4987 GB, free: 3.453 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003456/0.6832, allocations: 1.182 MB / 0.4999 GB, free: 2.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004735/0.6837, allocations: 118.4 kB / 0.5 GB, free: 2.055 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.6839, allocations: 52.83 kB / 0.5 GB, free: 2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.684, allocations: 0 / 0.5 GB, free: 2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.684, allocations: 38.56 kB / 0.5001 GB, free: 1.953 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.884e-06/0.684, allocations: 4 kB / 0.5001 GB, free: 1.949 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006628/0.6847, allocations: 141.4 kB / 0.5002 GB, free: 1.805 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.6848, allocations: 55.39 kB / 0.5003 GB, free: 1.738 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004185/0.6852, allocations: 242.9 kB / 0.5005 GB, free: 1.496 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.11e-05/0.6853, allocations: 25.7 kB / 0.5005 GB, free: 1.465 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.6855, allocations: 171.5 kB / 0.5007 GB, free: 1.293 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/0.6855, allocations: 31.7 kB / 0.5007 GB, free: 1.262 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.6856, allocations: 0 / 0.5007 GB, free: 1.262 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.6858, allocations: 326.8 kB / 0.501 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.686, allocations: 63.91 kB / 0.5011 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.6863, allocations: 87.34 kB / 0.5012 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.6865, allocations: 55.95 kB / 0.5012 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.6866, allocations: 3.953 kB / 0.5012 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006907/0.6873, allocations: 193.3 kB / 0.5014 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.6873, allocations: 4 kB / 0.5014 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.6873, allocations: 8 kB / 0.5014 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.6873, allocations: 0 / 0.5014 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01028/0.6976, allocations: 451.4 kB / 0.5018 GB, free: 68 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004833/0.7025, allocations: 1.91 MB / 0.5037 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008103/0.7034, allocations: 47.88 kB / 0.5038 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.7034, allocations: 7.984 kB / 0.5038 GB, free: 14.03 MB / 426.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.0001554/0.7036, allocations: 116.9 kB / 0.5039 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.65e-05/0.7037, allocations: 15.81 kB / 0.5039 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.145e-05/0.7038, allocations: 25.92 kB / 0.5039 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.7038, allocations: 3.938 kB / 0.5039 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.7038, allocations: 4 kB / 0.5039 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.7038, allocations: 0 / 0.5039 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005764/0.7044, allocations: 297.3 kB / 0.5042 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.7044, allocations: 3.953 kB / 0.5042 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0101/0.7146, allocations: 435.5 kB / 0.5046 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.7146, allocations: 0 / 0.5046 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.561e-05/0.7147, allocations: 4 kB / 0.5046 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004787/0.7195, allocations: 1.91 MB / 0.5065 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.7195, allocations: 0 / 0.5065 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006848/0.7202, allocations: 247.3 kB / 0.5067 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.7203, allocations: 105 kB / 0.5068 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.987e-05/0.7204, allocations: 0 / 0.5068 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007157/0.7212, allocations: 27.91 kB / 0.5069 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.872e-05/0.7213, allocations: 7.984 kB / 0.5069 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.769e-05/0.7213, allocations: 7.984 kB / 0.5069 GB, free: 10.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003241/0.7217, allocations: 203.1 kB / 0.5071 GB, free: 10.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7217, allocations: 0 / 0.5071 GB, free: 10.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005415/0.7222, allocations: 75.84 kB / 0.5071 GB, free: 10.41 MB / 426.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.001207/0.7235, allocations: 0.8198 MB / 0.5079 GB, free: 9.562 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009501/0.733, allocations: 467.3 kB / 0.5084 GB, free: 9.105 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.733, allocations: 3.938 kB / 0.5084 GB, free: 9.102 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00989/0.7429, allocations: 395.5 kB / 0.5088 GB, free: 8.715 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.7435, allocations: 40.67 kB / 0.5088 GB, free: 8.676 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.7447, allocations: 375 kB / 0.5092 GB, free: 8.273 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005236/0.7453, allocations: 0.7831 MB / 0.5099 GB, free: 7.465 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003271/0.7456, allocations: 50.05 kB / 0.51 GB, free: 7.418 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.7458, allocations: 63.41 kB / 0.51 GB, free: 7.355 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7458, allocations: 0 / 0.51 GB, free: 7.355 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09183/0.8377, allocations: 7.991 MB / 0.5178 GB, free: 15.59 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/0.838, allocations: 243.9 kB / 0.5181 GB, free: 15.28 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.923/3.761, allocations: 7.188 kB / 0.5181 GB, free: 15.27 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat