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.991/1.991, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.339e-05/2.355e-05, allocations: 4 kB / 267.6 MB, free: 5.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.107, allocations: 48.69 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.02/1.127, allocations: 326.4 MB / 0.6276 GB, free: 13.31 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/1.128, allocations: 87.02 kB / 0.6277 GB, free: 13.27 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.283/3.411, allocations: 444.4 MB / 1.062 GB, free: 36.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.344e-06/3.411, allocations: 0 / 1.062 GB, free: 36.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001621/3.411, allocations: 43.61 kB / 1.062 GB, free: 36.93 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.006457/3.417, allocations: 1.921 MB / 1.064 GB, free: 35.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.4e-05/3.417, allocations: 11.59 kB / 1.064 GB, free: 35.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/3.42, allocations: 233.7 kB / 1.064 GB, free: 35.76 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003782/3.423, allocations: 1.18 MB / 1.065 GB, free: 35.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.974e-05/3.423, allocations: 43.5 kB / 1.065 GB, free: 35.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002443/3.424, allocations: 75.22 kB / 1.065 GB, free: 35.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003395/3.427, allocations: 1.375 MB / 1.066 GB, free: 35.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00361/3.431, allocations: 1.584 MB / 1.068 GB, free: 34.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.885e-05/3.431, allocations: 7.094 kB / 1.068 GB, free: 34.81 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003246/3.431, allocations: 8.484 kB / 1.068 GB, free: 34.81 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/3.431, allocations: 39.8 kB / 1.068 GB, free: 34.81 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01475/3.446, allocations: 10.89 MB / 1.079 GB, free: 26.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/3.447, allocations: 0.5022 MB / 1.079 GB, free: 26.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005883/3.448, allocations: 287 kB / 1.079 GB, free: 26.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006343/3.454, allocations: 4.285 MB / 1.084 GB, free: 23.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/3.454, allocations: 41.88 kB / 1.084 GB, free: 23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=41): time 3.967e-06/3.454, allocations: 1.656 kB / 1.084 GB, free: 23 MB / 426.7 MB Notification: Performance of matching and sorting (n=41): time 0.006547/3.461, allocations: 0.9288 MB / 1.085 GB, free: 22.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/3.461, allocations: 369.6 kB / 1.085 GB, free: 22.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/3.463, allocations: 1.015 MB / 1.086 GB, free: 22.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001972/3.463, allocations: 25.7 kB / 1.086 GB, free: 22.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008165/3.464, allocations: 0.9809 MB / 1.087 GB, free: 21.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/3.464, allocations: 163.5 kB / 1.087 GB, free: 21.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.188e-05/3.465, allocations: 0 / 1.087 GB, free: 21.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/3.465, allocations: 372.8 kB / 1.087 GB, free: 20.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005844/3.465, allocations: 238.8 kB / 1.088 GB, free: 20.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/3.466, allocations: 1.299 MB / 1.089 GB, free: 19.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005784/3.472, allocations: 0.9447 MB / 1.09 GB, free: 19.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.642e-05/3.472, allocations: 10.88 kB / 1.09 GB, free: 19.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.008009/3.48, allocations: 1.732 MB / 1.092 GB, free: 18.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/3.48, allocations: 17.62 kB / 1.092 GB, free: 18.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.106e-05/3.48, allocations: 37.66 kB / 1.092 GB, free: 18.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.335e-05/3.481, allocations: 51.41 kB / 1.092 GB, free: 18.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007449/3.488, allocations: 0.6887 MB / 1.092 GB, free: 18.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/3.49, allocations: 1.939 MB / 1.094 GB, free: 16.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002907/3.493, allocations: 245.1 kB / 1.094 GB, free: 16.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003297/3.493, allocations: 113.1 kB / 1.095 GB, free: 16.61 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.000389/3.494, allocations: 195 kB / 1.095 GB, free: 16.43 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006157/3.5, allocations: 0.9126 MB / 1.096 GB, free: 16.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002553/3.5, allocations: 142.5 kB / 1.096 GB, free: 16.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005971/3.506, allocations: 1.449 MB / 1.097 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/3.506, allocations: 11.34 kB / 1.097 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/3.506, allocations: 0 / 1.097 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/3.506, allocations: 3.469 kB / 1.097 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/3.508, allocations: 0.8199 MB / 1.098 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/3.508, allocations: 0 / 1.098 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/3.51, allocations: 193.5 kB / 1.098 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003248/3.51, allocations: 37.08 kB / 1.098 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.229e-05/3.51, allocations: 14.53 kB / 1.098 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/3.511, allocations: 1.791 MB / 1.1 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/3.511, allocations: 3.938 kB / 1.1 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003696/3.515, allocations: 0.9606 MB / 1.101 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008707/3.516, allocations: 349.1 kB / 1.101 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004102/3.516, allocations: 3.953 kB / 1.101 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/3.518, allocations: 46.89 kB / 1.101 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/3.518, allocations: 42.5 kB / 1.101 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.934e-05/3.518, allocations: 30.28 kB / 1.101 GB, free: 12.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001359/3.519, allocations: 0.7595 MB / 1.102 GB, free: 12.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.52e-07/3.519, allocations: 0 / 1.102 GB, free: 12.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003886/3.523, allocations: 0.7602 MB / 1.103 GB, free: 12.34 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.006807/3.53, allocations: 2.53 MB / 1.105 GB, free: 11.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006938/3.537, allocations: 1.037 MB / 1.106 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/3.537, allocations: 0 / 1.106 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001477/3.539, allocations: 348.1 kB / 1.107 GB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004615/3.543, allocations: 0.5335 MB / 1.107 GB, free: 10.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007824/3.551, allocations: 2.389 MB / 1.11 GB, free: 9.664 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007735/3.552, allocations: 1.262 MB / 1.111 GB, free: 8.922 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/3.553, allocations: 0.6216 MB / 1.111 GB, free: 8.48 MB / 426.7 MB Notification: Performance of SimCode: time 9.52e-07/3.553, allocations: 0 / 1.111 GB, free: 8.48 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.864/7.417, allocations: 54.29 MB / 1.164 GB, free: 40.37 MB / 442.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