Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.618/2.618, allocations: 235.1 MB / 242.3 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.63e-05/2.62e-05, allocations: 7.984 kB / 299.6 MB, free: 184 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3782, allocations: 54.85 MB / 354.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2065/0.5848, allocations: 85.25 MB / 439.7 MB, free: 9.828 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004029/0.5852, allocations: 95.92 kB / 439.8 MB, free: 9.734 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03116/0.6164, allocations: 5.859 MB / 445.7 MB, free: 3.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.6165, allocations: 4 kB / 445.7 MB, free: 3.766 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.6165, allocations: 0 / 445.7 MB, free: 3.766 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.0008804/0.6174, allocations: 490.3 kB / 446.1 MB, free: 3.242 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.6174, allocations: 12.03 kB / 446.2 MB, free: 3.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002658/0.6201, allocations: 203.3 kB / 446.4 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000601/0.6208, allocations: 262.6 kB / 446.6 MB, free: 2.734 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-05/0.6208, allocations: 19.98 kB / 446.6 MB, free: 2.715 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.755e-05/0.6209, allocations: 16 kB / 446.6 MB, free: 2.699 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001432/0.6224, allocations: 0.493 MB / 447.1 MB, free: 2.203 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.6236, allocations: 407.5 kB / 447.5 MB, free: 1.801 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.6236, allocations: 0 / 447.5 MB, free: 1.801 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.048e-05/0.6237, allocations: 3.953 kB / 447.5 MB, free: 1.797 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.036e-05/0.6237, allocations: 20.55 kB / 447.6 MB, free: 1.777 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005475/0.6292, allocations: 1.09 MB / 448.6 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006813/0.63, allocations: 106.5 kB / 448.8 MB, free: 0.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003409/0.6303, allocations: 48.83 kB / 448.8 MB, free: 460 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.6304, allocations: 4.141 kB / 448.8 MB, free: 456 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/0.6305, allocations: 34.56 kB / 448.8 MB, free: 412 kB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 4.338e-06/0.6305, allocations: 0 / 448.8 MB, free: 412 kB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001026/0.6315, allocations: 149.4 kB / 449 MB, free: 256 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.6316, allocations: 55.41 kB / 449 MB, free: 188 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.6319, allocations: 131 kB / 449.2 MB, free: 52 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.669e-05/0.632, allocations: 25.7 kB / 449.2 MB, free: 20 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.6322, allocations: 175.8 kB / 449.4 MB, free: 15.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.44e-05/0.6323, allocations: 31.55 kB / 449.4 MB, free: 15.81 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/0.6324, allocations: 0 / 449.4 MB, free: 15.81 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.6326, allocations: 322.8 kB / 449.7 MB, free: 15.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003452/0.633, allocations: 51.97 kB / 449.8 MB, free: 15.44 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003884/0.6334, allocations: 75.41 kB / 449.8 MB, free: 15.35 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.6338, allocations: 63.89 kB / 449.9 MB, free: 15.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.6338, allocations: 0 / 449.9 MB, free: 15.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001052/0.6349, allocations: 173.3 kB / 450.1 MB, free: 15.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.6349, allocations: 8.094 kB / 450.1 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.635, allocations: 0 / 450.1 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/0.635, allocations: 4 kB / 450.1 MB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01195/0.647, allocations: 451.3 kB / 450.5 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005207/0.6522, allocations: 1.918 MB / 452.4 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000804/0.6531, allocations: 35.84 kB / 452.5 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.894e-05/0.6532, allocations: 8.094 kB / 452.5 MB, free: 12.63 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.0001719/0.6534, allocations: 109.4 kB / 452.6 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006092/0.654, allocations: 137.5 kB / 452.7 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.56e-05/0.6541, allocations: 11.86 kB / 452.7 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.517e-05/0.6541, allocations: 12.62 kB / 452.7 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.6541, allocations: 0 / 452.7 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.6542, allocations: 0 / 452.7 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.6542, allocations: 0 / 452.7 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000572/0.6548, allocations: 246.1 kB / 453 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6548, allocations: 4 kB / 453 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01101/0.6658, allocations: 436 kB / 453.4 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.6659, allocations: 4 kB / 453.4 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.896e-05/0.6659, allocations: 3.984 kB / 453.4 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005064/0.671, allocations: 1.926 MB / 455.3 MB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.671, allocations: 0 / 455.3 MB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006478/0.6717, allocations: 235.4 kB / 455.6 MB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.74e-05/0.6718, allocations: 88.95 kB / 455.7 MB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.253e-05/0.6719, allocations: 8.078 kB / 455.7 MB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007299/0.6726, allocations: 19.97 kB / 455.7 MB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.6727, allocations: 11.94 kB / 455.7 MB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.6728, allocations: 0 / 455.7 MB, free: 9.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000109/0.6729, allocations: 105.3 kB / 455.8 MB, free: 9.148 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6729, allocations: 0 / 455.8 MB, free: 9.148 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006234/0.6736, allocations: 79.69 kB / 455.9 MB, free: 9.07 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.6748, allocations: 0.804 MB / 456.7 MB, free: 8.238 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01027/0.6851, allocations: 464.5 kB / 457.1 MB, free: 7.785 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.6851, allocations: 3.938 kB / 457.1 MB, free: 7.781 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00984/0.695, allocations: 387.9 kB / 457.5 MB, free: 7.402 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.6953, allocations: 19.88 kB / 457.5 MB, free: 7.383 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.6966, allocations: 355.9 kB / 457.9 MB, free: 7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/0.6971, allocations: 0.7821 MB / 458.7 MB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003004/0.6974, allocations: 32.41 kB / 458.7 MB, free: 6.156 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.6976, allocations: 60.03 kB / 458.8 MB, free: 6.102 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6976, allocations: 0 / 458.8 MB, free: 6.102 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05541/0.753, allocations: 5.48 MB / 464.2 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002762/0.7534, allocations: 207.8 kB / 464.4 MB, free: 352 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.986/3.74, allocations: 0 / 464.4 MB, free: 352 kB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat