Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.188/2.188, allocations: 209.4 MB / 216.5 MB, free: 6.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.961e-05/5.962e-05, allocations: 0 / 267.6 MB, free: 4.957 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1086, allocations: 48.7 MB / 316.3 MB, free: 4.16 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.137/1.246, allocations: 326.3 MB / 0.6276 GB, free: 13.23 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003504/1.246, allocations: 88.25 kB / 0.6277 GB, free: 13.19 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.449/3.695, allocations: 444.4 MB / 1.062 GB, free: 36.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.665e-06/3.695, allocations: 0 / 1.062 GB, free: 36.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001658/3.695, allocations: 45.69 kB / 1.062 GB, free: 36.86 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.00674/3.702, allocations: 1.925 MB / 1.064 GB, free: 35.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/3.702, allocations: 11.12 kB / 1.064 GB, free: 35.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/3.704, allocations: 233.5 kB / 1.064 GB, free: 35.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003795/3.708, allocations: 1.177 MB / 1.065 GB, free: 35.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.098e-05/3.708, allocations: 41.72 kB / 1.065 GB, free: 35.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002524/3.709, allocations: 76.62 kB / 1.065 GB, free: 35.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003399/3.712, allocations: 1.369 MB / 1.066 GB, free: 35.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003969/3.716, allocations: 1.594 MB / 1.068 GB, free: 34.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.046e-05/3.716, allocations: 7.812 kB / 1.068 GB, free: 34.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003581/3.717, allocations: 9.641 kB / 1.068 GB, free: 34.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-05/3.717, allocations: 36.03 kB / 1.068 GB, free: 34.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01571/3.732, allocations: 10.89 MB / 1.079 GB, free: 26.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/3.734, allocations: 0.5006 MB / 1.079 GB, free: 26.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005937/3.734, allocations: 287.5 kB / 1.079 GB, free: 26.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006465/3.741, allocations: 4.286 MB / 1.084 GB, free: 22.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/3.741, allocations: 50.25 kB / 1.084 GB, free: 22.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=41): time 4.799e-06/3.741, allocations: 3.797 kB / 1.084 GB, free: 22.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=41): time 0.006647/3.747, allocations: 0.9304 MB / 1.085 GB, free: 22.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/3.748, allocations: 363.4 kB / 1.085 GB, free: 22.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/3.75, allocations: 1.02 MB / 1.086 GB, free: 22.17 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001533/3.75, allocations: 25.7 kB / 1.086 GB, free: 22.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007613/3.75, allocations: 0.984 MB / 1.087 GB, free: 21.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/3.751, allocations: 169.9 kB / 1.087 GB, free: 21.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.889e-05/3.751, allocations: 0 / 1.087 GB, free: 21.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/3.751, allocations: 367.2 kB / 1.087 GB, free: 21.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000558/3.751, allocations: 233.3 kB / 1.088 GB, free: 20.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/3.753, allocations: 1.31 MB / 1.089 GB, free: 19.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006034/3.759, allocations: 0.9296 MB / 1.09 GB, free: 19.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.492e-05/3.759, allocations: 11.19 kB / 1.09 GB, free: 19.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.008344/3.767, allocations: 1.811 MB / 1.092 GB, free: 18.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/3.767, allocations: 23.59 kB / 1.092 GB, free: 18.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.355e-05/3.767, allocations: 38.42 kB / 1.092 GB, free: 18.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.533e-05/3.767, allocations: 50.12 kB / 1.092 GB, free: 18.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007595/3.775, allocations: 0.6848 MB / 1.092 GB, free: 18.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/3.777, allocations: 1.934 MB / 1.094 GB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002871/3.78, allocations: 241.8 kB / 1.095 GB, free: 16.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003657/3.78, allocations: 119.6 kB / 1.095 GB, free: 16.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 163 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 200 * 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.0003653/3.781, allocations: 189.6 kB / 1.095 GB, free: 16.42 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00617/3.787, allocations: 0.9195 MB / 1.096 GB, free: 16.19 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/3.787, allocations: 137.2 kB / 1.096 GB, free: 16.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006037/3.793, allocations: 1.444 MB / 1.097 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/3.793, allocations: 7.656 kB / 1.097 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/3.793, allocations: 4 kB / 1.097 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/3.793, allocations: 3.469 kB / 1.097 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/3.796, allocations: 0.8204 MB / 1.098 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/3.796, allocations: 0 / 1.098 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/3.797, allocations: 203 kB / 1.098 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003538/3.798, allocations: 31.41 kB / 1.098 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.206e-05/3.798, allocations: 15.06 kB / 1.098 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/3.799, allocations: 1.792 MB / 1.1 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/3.799, allocations: 3.938 kB / 1.1 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003703/3.803, allocations: 0.9607 MB / 1.101 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008926/3.804, allocations: 350.3 kB / 1.101 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004302/3.804, allocations: 7.703 kB / 1.101 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/3.805, allocations: 44.95 kB / 1.101 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/3.805, allocations: 46.38 kB / 1.101 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.031e-05/3.805, allocations: 30.89 kB / 1.101 GB, free: 12.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001393/3.807, allocations: 0.7537 MB / 1.102 GB, free: 12.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/3.807, allocations: 3.188 kB / 1.102 GB, free: 12.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004109/3.811, allocations: 0.7534 MB / 1.103 GB, free: 12.32 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 (67): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.007031/3.818, allocations: 2.525 MB / 1.105 GB, free: 11.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007325/3.825, allocations: 1.061 MB / 1.106 GB, free: 10.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/3.825, allocations: 3.906 kB / 1.106 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001491/3.827, allocations: 345.5 kB / 1.107 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.004864/3.832, allocations: 0.5242 MB / 1.107 GB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008443/3.84, allocations: 2.35 MB / 1.11 GB, free: 9.684 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008118/3.841, allocations: 1.277 MB / 1.111 GB, free: 8.902 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002366/3.844, allocations: 383.8 kB / 1.111 GB, free: 8.621 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/3.845, allocations: 0.599 MB / 1.112 GB, free: 8.078 MB / 426.7 MB Notification: Performance of SimCode: time 9.22e-07/3.845, allocations: 0 / 1.112 GB, free: 8.078 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5173/4.362, allocations: 42.8 MB / 1.154 GB, free: 45.49 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002721/4.362, allocations: 207.4 kB / 1.154 GB, free: 45.22 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.786/9.149, allocations: 0 / 1.154 GB, free: 45.22 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases_res.mat does not exist to compare? outputFormat=mat