Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.376/2.376, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.364e-05/4.371e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1311, allocations: 61.89 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5146/0.6458, allocations: 91.11 MB / 0.4897 GB, free: 12.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003762/0.6462, allocations: 95.94 kB / 0.4898 GB, free: 12.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02674/0.673, allocations: 5.956 MB / 0.4956 GB, free: 6.707 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.673, allocations: 3.938 kB / 0.4957 GB, free: 6.703 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.673, allocations: 4 kB / 0.4957 GB, free: 6.699 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008172/0.6739, allocations: 0.489 MB / 0.4961 GB, free: 6.168 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.6739, allocations: 11.97 kB / 0.4961 GB, free: 6.156 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.485e-05/0.674, allocations: 62.55 kB / 0.4962 GB, free: 6.086 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.6757, allocations: 167.5 kB / 0.4964 GB, free: 5.922 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004523/0.6762, allocations: 254.6 kB / 0.4966 GB, free: 5.633 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.6762, allocations: 20.42 kB / 0.4966 GB, free: 5.613 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.83e-05/0.6763, allocations: 24 kB / 0.4966 GB, free: 5.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009131/0.6772, allocations: 400.4 kB / 0.497 GB, free: 5.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.6773, allocations: 4 kB / 0.497 GB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.843e-05/0.6773, allocations: 15.98 kB / 0.497 GB, free: 5.141 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-05/0.6774, allocations: 24.55 kB / 0.4971 GB, free: 5.117 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009034/0.6783, allocations: 344.8 kB / 0.4974 GB, free: 4.781 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00317/0.6815, allocations: 1.716 MB / 0.4991 GB, free: 2.941 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.6818, allocations: 82.48 kB / 0.4992 GB, free: 2.852 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.682, allocations: 32.84 kB / 0.4992 GB, free: 2.816 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.682, allocations: 0 / 0.4992 GB, free: 2.816 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.682, allocations: 46.5 kB / 0.4992 GB, free: 2.762 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.682, allocations: 0 / 0.4992 GB, free: 2.762 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004751/0.6825, allocations: 117.4 kB / 0.4993 GB, free: 2.641 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.6826, allocations: 51.41 kB / 0.4994 GB, free: 2.578 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005037/0.6831, allocations: 291.1 kB / 0.4997 GB, free: 2.285 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.6831, allocations: 25.7 kB / 0.4997 GB, free: 2.254 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.6833, allocations: 187.4 kB / 0.4999 GB, free: 2.066 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.6834, allocations: 31.58 kB / 0.4999 GB, free: 2.035 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/0.6834, allocations: 8 kB / 0.4999 GB, free: 2.027 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.6836, allocations: 334.8 kB / 0.5002 GB, free: 1.691 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.6838, allocations: 51.97 kB / 0.5003 GB, free: 1.641 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.684, allocations: 97.98 kB / 0.5004 GB, free: 1.523 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/0.6843, allocations: 87.83 kB / 0.5005 GB, free: 1.438 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6843, allocations: 0 / 0.5005 GB, free: 1.438 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006121/0.6849, allocations: 213.2 kB / 0.5007 GB, free: 1.223 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.685, allocations: 8 kB / 0.5007 GB, free: 1.215 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.685, allocations: 0 / 0.5007 GB, free: 1.215 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.685, allocations: 12.17 kB / 0.5007 GB, free: 1.203 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002701/0.6877, allocations: 111.9 kB / 0.5008 GB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/0.6902, allocations: 1.84 MB / 0.5026 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004858/0.6907, allocations: 39.58 kB / 0.5026 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.6907, allocations: 8 kB / 0.5026 GB, free: 15.14 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * 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.0001271/0.6909, allocations: 113.1 kB / 0.5027 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.6909, allocations: 23.75 kB / 0.5028 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006283/0.6916, allocations: 183.2 kB / 0.5029 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.6916, allocations: 4 kB / 0.5029 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.6916, allocations: 4 kB / 0.5029 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.6916, allocations: 0 / 0.5029 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004892/0.6921, allocations: 281.4 kB / 0.5032 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.6921, allocations: 0 / 0.5032 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002162/0.6943, allocations: 92 kB / 0.5033 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/0.6943, allocations: 0 / 0.5033 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.6944, allocations: 8 kB / 0.5033 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/0.6961, allocations: 1.789 MB / 0.5051 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.6962, allocations: 4.031 kB / 0.5051 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004881/0.6967, allocations: 235.5 kB / 0.5053 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.6968, allocations: 100.8 kB / 0.5054 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.507e-05/0.6969, allocations: 4 kB / 0.5054 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003562/0.6972, allocations: 7.938 kB / 0.5054 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.6973, allocations: 11.98 kB / 0.5054 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.6973, allocations: 4 kB / 0.5054 GB, free: 12.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004064/0.6978, allocations: 239.1 kB / 0.5056 GB, free: 11.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6978, allocations: 4 kB / 0.5056 GB, free: 11.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004971/0.6983, allocations: 75.78 kB / 0.5057 GB, free: 11.81 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 (11): * Single equations (assignments): 8 * 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.001069/0.6994, allocations: 0.8047 MB / 0.5065 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002509/0.7019, allocations: 195.6 kB / 0.5067 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.7019, allocations: 0 / 0.5067 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001478/0.7034, allocations: 91.84 kB / 0.5068 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004745/0.7039, allocations: 39.69 kB / 0.5068 GB, free: 10.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.7054, allocations: 413.2 kB / 0.5072 GB, free: 10.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005748/0.706, allocations: 0.7872 MB / 0.508 GB, free: 9.406 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002645/0.7062, allocations: 57.97 kB / 0.508 GB, free: 9.352 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.7065, allocations: 71.41 kB / 0.5081 GB, free: 9.285 MB / 426.7 MB Notification: Performance of SimCode: time 1.001e-06/0.7065, allocations: 0 / 0.5081 GB, free: 9.285 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03645/0.743, allocations: 7.573 MB / 0.5155 GB, free: 1.887 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00033/0.7434, allocations: 222 kB / 0.5157 GB, free: 1.668 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.862/3.606, allocations: 0 / 0.5157 GB, free: 1.668 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat