Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.432/2.432, allocations: 235 MB / 247.6 MB, free: 14.41 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.578e-05/3.585e-05, allocations: 0 / 305 MB, free: 5.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.421, allocations: 54.86 MB / 359.9 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8333/1.254, allocations: 333.3 MB / 0.6769 GB, free: 15 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003548/1.255, allocations: 89.88 kB / 0.677 GB, free: 14.95 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.587/3.841, allocations: 448.1 MB / 1.115 GB, free: 43.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.793e-06/3.841, allocations: 0 / 1.115 GB, free: 43.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001839/3.842, allocations: 46.17 kB / 1.115 GB, free: 43.6 MB / 490.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.01037/3.852, allocations: 1.924 MB / 1.117 GB, free: 42.85 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.93e-05/3.852, allocations: 10.91 kB / 1.117 GB, free: 42.85 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001037/3.853, allocations: 196.7 kB / 1.117 GB, free: 42.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004051/3.857, allocations: 226.7 kB / 1.117 GB, free: 42.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007245/3.865, allocations: 1.183 MB / 1.118 GB, free: 42.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005894/3.865, allocations: 100.2 kB / 1.118 GB, free: 42.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001178/3.866, allocations: 125 kB / 1.118 GB, free: 42.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/3.877, allocations: 1.858 MB / 1.12 GB, free: 41.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-05/3.877, allocations: 9.078 kB / 1.12 GB, free: 41.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007015/3.877, allocations: 67.78 kB / 1.12 GB, free: 41.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002017/3.878, allocations: 37.81 kB / 1.12 GB, free: 41.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00899/3.887, allocations: 1.519 MB / 1.122 GB, free: 41.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01972/3.906, allocations: 9.153 MB / 1.131 GB, free: 36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002762/3.909, allocations: 0.9987 MB / 1.132 GB, free: 35.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009978/3.91, allocations: 476.2 kB / 1.132 GB, free: 35.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00995/3.92, allocations: 6.898 MB / 1.139 GB, free: 30.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/3.92, allocations: 44.91 kB / 1.139 GB, free: 30.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=41): time 3.266e-06/3.92, allocations: 2.562 kB / 1.139 GB, free: 30.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=41): time 0.002722/3.923, allocations: 0.5692 MB / 1.139 GB, free: 30.06 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/3.923, allocations: 370.7 kB / 1.14 GB, free: 29.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/3.925, allocations: 1.084 MB / 1.141 GB, free: 29.42 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001559/3.925, allocations: 36.33 kB / 1.141 GB, free: 29.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006803/3.926, allocations: 0.9804 MB / 1.142 GB, free: 28.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/3.926, allocations: 171.4 kB / 1.142 GB, free: 28.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-05/3.926, allocations: 36.91 kB / 1.142 GB, free: 28.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/3.927, allocations: 365.7 kB / 1.142 GB, free: 28.37 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007769/3.927, allocations: 277.6 kB / 1.143 GB, free: 28.37 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/3.929, allocations: 1.326 MB / 1.144 GB, free: 26.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/3.93, allocations: 0.519 MB / 1.144 GB, free: 26.97 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.32e-05/3.93, allocations: 12.72 kB / 1.144 GB, free: 26.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004283/3.935, allocations: 1.397 MB / 1.146 GB, free: 26.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.547e-05/3.935, allocations: 18.97 kB / 1.146 GB, free: 26.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-05/3.935, allocations: 42.72 kB / 1.146 GB, free: 26.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.778e-05/3.935, allocations: 52.38 kB / 1.146 GB, free: 26.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008072/3.943, allocations: 0.6947 MB / 1.147 GB, free: 26.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/3.945, allocations: 1.899 MB / 1.148 GB, free: 25.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003214/3.948, allocations: 274.2 kB / 1.149 GB, free: 25.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004238/3.949, allocations: 107.9 kB / 1.149 GB, free: 25.03 MB / 490.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.0003726/3.949, allocations: 237.2 kB / 1.149 GB, free: 24.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004413/3.949, allocations: 145 kB / 1.149 GB, free: 24.83 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004302/3.954, allocations: 1.263 MB / 1.15 GB, free: 24.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/3.954, allocations: 10.25 kB / 1.15 GB, free: 24.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/3.954, allocations: 2.297 kB / 1.15 GB, free: 24.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/3.954, allocations: 3.938 kB / 1.15 GB, free: 24.71 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002579/3.956, allocations: 0.9834 MB / 1.151 GB, free: 24.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/3.956, allocations: 2.875 kB / 1.151 GB, free: 24.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/3.958, allocations: 198.4 kB / 1.152 GB, free: 24.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005352/3.959, allocations: 57.62 kB / 1.152 GB, free: 24.48 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.209e-05/3.959, allocations: 23.69 kB / 1.152 GB, free: 24.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/3.96, allocations: 1.752 MB / 1.153 GB, free: 22.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/3.96, allocations: 0 / 1.153 GB, free: 22.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/3.962, allocations: 0.7901 MB / 1.154 GB, free: 22.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007723/3.963, allocations: 258.3 kB / 1.154 GB, free: 22.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003814/3.963, allocations: 13.91 kB / 1.154 GB, free: 22.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/3.964, allocations: 58.64 kB / 1.154 GB, free: 22.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/3.965, allocations: 47.7 kB / 1.155 GB, free: 22.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/3.965, allocations: 37.31 kB / 1.155 GB, free: 22.36 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001597/3.966, allocations: 0.8201 MB / 1.155 GB, free: 22.24 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.31e-07/3.966, allocations: 0 / 1.155 GB, free: 22.24 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004378/3.971, allocations: 0.8093 MB / 1.156 GB, free: 22.09 MB / 490.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.005571/3.976, allocations: 2.379 MB / 1.158 GB, free: 21.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007638/3.984, allocations: 1.085 MB / 1.16 GB, free: 21.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/3.984, allocations: 1.812 kB / 1.16 GB, free: 21.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001594/3.986, allocations: 358.5 kB / 1.16 GB, free: 21.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00499/3.991, allocations: 0.5391 MB / 1.16 GB, free: 21.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008763/4, allocations: 2.469 MB / 1.163 GB, free: 20.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007905/4, allocations: 1.268 MB / 1.164 GB, free: 19.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/4.002, allocations: 0.6181 MB / 1.165 GB, free: 19.66 MB / 490.7 MB Notification: Performance of SimCode: time 1.312e-06/4.002, allocations: 0 / 1.165 GB, free: 19.66 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.635/7.636, allocations: 54.36 MB / 1.218 GB, free: 16.58 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases_res.mat does not exist to compare? outputFormat=mat