Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.948/1.948, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.904e-05/3.878e-05, allocations: 4 kB / 273.2 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1152, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.015/1.13, allocations: 326.8 MB / 0.6334 GB, free: 21.16 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/1.13, allocations: 89.19 kB / 0.6335 GB, free: 21.11 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475/3.606, allocations: 448.1 MB / 1.071 GB, free: 44.65 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.294e-06/3.606, allocations: 0 / 1.071 GB, free: 44.65 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002058/3.606, allocations: 46.17 kB / 1.071 GB, free: 44.64 MB / 442.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.007151/3.613, allocations: 1.927 MB / 1.073 GB, free: 43.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/3.613, allocations: 7.094 kB / 1.073 GB, free: 43.65 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006957/3.614, allocations: 198.6 kB / 1.073 GB, free: 43.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002336/3.616, allocations: 232.3 kB / 1.073 GB, free: 43.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00412/3.62, allocations: 1.18 MB / 1.075 GB, free: 43.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/3.621, allocations: 93.81 kB / 1.075 GB, free: 43.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004892/3.621, allocations: 131.1 kB / 1.075 GB, free: 43.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00565/3.627, allocations: 1.857 MB / 1.077 GB, free: 42.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.345e-05/3.627, allocations: 3.375 kB / 1.077 GB, free: 42.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004328/3.627, allocations: 71.81 kB / 1.077 GB, free: 42.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.035e-05/3.628, allocations: 35.7 kB / 1.077 GB, free: 42.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004888/3.632, allocations: 1.514 MB / 1.078 GB, free: 42.64 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01521/3.648, allocations: 9.155 MB / 1.087 GB, free: 36.67 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003041/3.651, allocations: 1.004 MB / 1.088 GB, free: 36.63 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/3.652, allocations: 472.3 kB / 1.089 GB, free: 36.62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/3.663, allocations: 6.904 MB / 1.095 GB, free: 30.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/3.663, allocations: 40.25 kB / 1.095 GB, free: 30.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=41): time 3.396e-06/3.663, allocations: 0 / 1.095 GB, free: 30.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=41): time 0.00313/3.666, allocations: 0.5806 MB / 1.096 GB, free: 30.72 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/3.666, allocations: 372.1 kB / 1.096 GB, free: 30.28 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/3.669, allocations: 1.082 MB / 1.097 GB, free: 30.08 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002125/3.669, allocations: 40.52 kB / 1.097 GB, free: 30.05 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008704/3.67, allocations: 0.9865 MB / 1.098 GB, free: 29.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/3.67, allocations: 168.7 kB / 1.099 GB, free: 29.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/3.67, allocations: 32.69 kB / 1.099 GB, free: 29.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/3.671, allocations: 374 kB / 1.099 GB, free: 29.03 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007332/3.671, allocations: 269.4 kB / 1.099 GB, free: 29.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/3.673, allocations: 1.324 MB / 1.1 GB, free: 27.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/3.674, allocations: 0.5154 MB / 1.101 GB, free: 27.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.917e-05/3.674, allocations: 11.81 kB / 1.101 GB, free: 27.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004221/3.678, allocations: 1.398 MB / 1.102 GB, free: 27.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.552e-05/3.679, allocations: 22.78 kB / 1.102 GB, free: 27.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.301e-05/3.679, allocations: 33.28 kB / 1.102 GB, free: 27.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.748e-05/3.679, allocations: 58.7 kB / 1.102 GB, free: 27.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007713/3.686, allocations: 0.6885 MB / 1.103 GB, free: 27.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/3.688, allocations: 1.905 MB / 1.105 GB, free: 25.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003072/3.691, allocations: 274.1 kB / 1.105 GB, free: 25.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004494/3.692, allocations: 114.2 kB / 1.105 GB, free: 25.42 MB / 442.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.0004298/3.692, allocations: 230.8 kB / 1.106 GB, free: 25.26 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004652/3.693, allocations: 144.2 kB / 1.106 GB, free: 25.19 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004435/3.697, allocations: 1.266 MB / 1.107 GB, free: 24.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.453e-05/3.697, allocations: 10.56 kB / 1.107 GB, free: 24.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/3.697, allocations: 4 kB / 1.107 GB, free: 24.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/3.697, allocations: 3.562 kB / 1.107 GB, free: 24.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002633/3.7, allocations: 0.9929 MB / 1.108 GB, free: 24.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/3.7, allocations: 0 / 1.108 GB, free: 24.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/3.702, allocations: 195.9 kB / 1.108 GB, free: 24.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005398/3.702, allocations: 59.64 kB / 1.108 GB, free: 24.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/3.702, allocations: 25.48 kB / 1.108 GB, free: 24.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/3.703, allocations: 1.758 MB / 1.11 GB, free: 23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/3.703, allocations: 0 / 1.11 GB, free: 23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/3.706, allocations: 0.7833 MB / 1.111 GB, free: 22.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/3.707, allocations: 347.6 kB / 1.111 GB, free: 22.58 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004367/3.707, allocations: 18.06 kB / 1.111 GB, free: 22.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/3.709, allocations: 54.83 kB / 1.111 GB, free: 22.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/3.709, allocations: 46.25 kB / 1.111 GB, free: 22.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/3.709, allocations: 27.62 kB / 1.111 GB, free: 22.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001691/3.71, allocations: 0.8312 MB / 1.112 GB, free: 22.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.31e-07/3.711, allocations: 0 / 1.112 GB, free: 22.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004392/3.715, allocations: 0.8075 MB / 1.113 GB, free: 22.3 MB / 442.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.005665/3.721, allocations: 2.377 MB / 1.115 GB, free: 21.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007516/3.728, allocations: 1.08 MB / 1.116 GB, free: 21.08 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/3.728, allocations: 0 / 1.116 GB, free: 21.08 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001607/3.73, allocations: 366.5 kB / 1.116 GB, free: 21.05 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005089/3.735, allocations: 0.5362 MB / 1.117 GB, free: 21.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009217/3.744, allocations: 2.468 MB / 1.119 GB, free: 20.12 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008392/3.745, allocations: 1.262 MB / 1.121 GB, free: 19.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/3.746, allocations: 0.6152 MB / 1.121 GB, free: 18.94 MB / 442.7 MB Notification: Performance of SimCode: time 1.703e-06/3.747, allocations: 7.844 kB / 1.121 GB, free: 18.94 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.932/7.679, allocations: 54.37 MB / 1.174 GB, free: 58.95 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases_res.mat does not exist to compare? outputFormat=mat