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 2.083/2.083, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.804e-05/4.821e-05, allocations: 4 kB / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.109, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.077/1.186, allocations: 326.8 MB / 0.6334 GB, free: 21.19 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003533/1.186, allocations: 86.45 kB / 0.6335 GB, free: 21.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.483/3.669, allocations: 448.1 MB / 1.071 GB, free: 44.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.166e-06/3.669, allocations: 2.156 kB / 1.071 GB, free: 44.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002395/3.67, allocations: 48.75 kB / 1.071 GB, free: 44.79 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.009225/3.679, allocations: 1.928 MB / 1.073 GB, free: 43.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/3.679, allocations: 7.219 kB / 1.073 GB, free: 43.8 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007803/3.68, allocations: 190.2 kB / 1.073 GB, free: 43.76 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003179/3.683, allocations: 236.8 kB / 1.073 GB, free: 43.67 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005693/3.689, allocations: 1.185 MB / 1.075 GB, free: 43.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002049/3.689, allocations: 97.97 kB / 1.075 GB, free: 43.31 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005853/3.69, allocations: 129.4 kB / 1.075 GB, free: 43.31 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007834/3.697, allocations: 1.867 MB / 1.077 GB, free: 42.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.126e-05/3.698, allocations: 7.031 kB / 1.077 GB, free: 42.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005454/3.698, allocations: 71.5 kB / 1.077 GB, free: 42.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.515e-05/3.698, allocations: 35.55 kB / 1.077 GB, free: 42.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007001/3.705, allocations: 1.553 MB / 1.078 GB, free: 42.75 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02119/3.726, allocations: 9.146 MB / 1.087 GB, free: 36.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004577/3.731, allocations: 1.019 MB / 1.088 GB, free: 36.72 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001789/3.733, allocations: 480.7 kB / 1.089 GB, free: 36.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01299/3.746, allocations: 6.893 MB / 1.095 GB, free: 30.97 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/3.746, allocations: 37 kB / 1.095 GB, free: 30.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=41): time 3.626e-06/3.746, allocations: 0 / 1.095 GB, free: 30.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=41): time 0.002616/3.749, allocations: 0.5825 MB / 1.096 GB, free: 30.81 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/3.749, allocations: 371.3 kB / 1.096 GB, free: 30.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/3.751, allocations: 1.082 MB / 1.097 GB, free: 30.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001775/3.751, allocations: 36.08 kB / 1.097 GB, free: 30.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006815/3.752, allocations: 0.9892 MB / 1.098 GB, free: 29.53 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/3.752, allocations: 167.6 kB / 1.099 GB, free: 29.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-05/3.752, allocations: 32.53 kB / 1.099 GB, free: 29.44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/3.752, allocations: 373 kB / 1.099 GB, free: 29.13 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000707/3.753, allocations: 271.4 kB / 1.099 GB, free: 29.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/3.754, allocations: 1.335 MB / 1.101 GB, free: 27.72 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/3.756, allocations: 0.5168 MB / 1.101 GB, free: 27.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.337e-05/3.756, allocations: 11.59 kB / 1.101 GB, free: 27.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003553/3.759, allocations: 1.494 MB / 1.102 GB, free: 27.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.217e-05/3.759, allocations: 21.5 kB / 1.103 GB, free: 27.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.039e-05/3.759, allocations: 36.16 kB / 1.103 GB, free: 27.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.652e-05/3.759, allocations: 56.77 kB / 1.103 GB, free: 27.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007532/3.767, allocations: 0.6948 MB / 1.103 GB, free: 27.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/3.769, allocations: 1.91 MB / 1.105 GB, free: 25.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003/3.772, allocations: 267.7 kB / 1.105 GB, free: 25.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003139/3.772, allocations: 112.4 kB / 1.105 GB, free: 25.47 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.0003733/3.772, allocations: 227.8 kB / 1.106 GB, free: 25.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003589/3.773, allocations: 148.4 kB / 1.106 GB, free: 25.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004177/3.777, allocations: 1.266 MB / 1.107 GB, free: 25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/3.777, allocations: 6.875 kB / 1.107 GB, free: 25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/3.777, allocations: 3.703 kB / 1.107 GB, free: 25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/3.777, allocations: 0 / 1.107 GB, free: 25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/3.779, allocations: 0.997 MB / 1.108 GB, free: 24.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/3.78, allocations: 3.938 kB / 1.108 GB, free: 24.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/3.781, allocations: 200.2 kB / 1.108 GB, free: 24.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005247/3.782, allocations: 61.31 kB / 1.108 GB, free: 24.74 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.193e-05/3.782, allocations: 20.53 kB / 1.108 GB, free: 24.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/3.783, allocations: 1.756 MB / 1.11 GB, free: 23.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/3.783, allocations: 0 / 1.11 GB, free: 23.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/3.785, allocations: 0.7806 MB / 1.111 GB, free: 22.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009076/3.786, allocations: 351.1 kB / 1.111 GB, free: 22.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000332/3.786, allocations: 16.03 kB / 1.111 GB, free: 22.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/3.787, allocations: 58.41 kB / 1.111 GB, free: 22.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/3.787, allocations: 44.88 kB / 1.111 GB, free: 22.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.269e-05/3.788, allocations: 35.16 kB / 1.111 GB, free: 22.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001565/3.789, allocations: 0.8234 MB / 1.112 GB, free: 22.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/3.789, allocations: 0 / 1.112 GB, free: 22.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003956/3.793, allocations: 0.8048 MB / 1.113 GB, free: 22.34 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.005129/3.798, allocations: 2.361 MB / 1.115 GB, free: 21.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007344/3.806, allocations: 1.125 MB / 1.116 GB, free: 21.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/3.806, allocations: 4 kB / 1.116 GB, free: 21.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001585/3.807, allocations: 368.9 kB / 1.117 GB, free: 21.09 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004734/3.812, allocations: 0.5357 MB / 1.117 GB, free: 21.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008212/3.82, allocations: 2.471 MB / 1.12 GB, free: 20.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007987/3.821, allocations: 1.266 MB / 1.121 GB, free: 19.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/3.823, allocations: 0.6164 MB / 1.121 GB, free: 18.93 MB / 442.7 MB Notification: Performance of SimCode: time 1.102e-06/3.823, allocations: 0 / 1.121 GB, free: 18.93 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4/7.823, allocations: 54.32 MB / 1.174 GB, free: 59.34 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