Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.496/2.496, allocations: 235 MB / 247.6 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.252e-05/4.266e-05, allocations: 4 kB / 305 MB, free: 5.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.4341, allocations: 54.85 MB / 359.9 MB, free: 2.234 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.918/2.352, allocations: 0.6147 GB / 0.9662 GB, free: 114.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/2.352, allocations: 87.69 kB / 0.9662 GB, free: 114.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.33/3.682, allocations: 281.7 MB / 1.241 GB, free: 35.92 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.685e-06/3.682, allocations: 0 / 1.241 GB, free: 35.92 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001038/3.683, allocations: 23.92 kB / 1.241 GB, free: 35.89 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.004273/3.687, allocations: 1.238 MB / 1.243 GB, free: 34.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/3.687, allocations: 8.031 kB / 1.243 GB, free: 34.61 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000194/3.687, allocations: 90.45 kB / 1.243 GB, free: 34.51 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001764/3.689, allocations: 151.1 kB / 1.243 GB, free: 34.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/3.691, allocations: 0.5234 MB / 1.243 GB, free: 33.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.223e-05/3.691, allocations: 29 kB / 1.243 GB, free: 33.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/3.691, allocations: 48 kB / 1.243 GB, free: 33.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/3.692, allocations: 0.6133 MB / 1.244 GB, free: 33.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/3.692, allocations: 4 kB / 1.244 GB, free: 33.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.777e-05/3.693, allocations: 27.95 kB / 1.244 GB, free: 33.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/3.693, allocations: 12 kB / 1.244 GB, free: 33.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/3.694, allocations: 477.7 kB / 1.244 GB, free: 32.54 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004073/3.698, allocations: 2.563 MB / 1.247 GB, free: 29.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000907/3.699, allocations: 282.9 kB / 1.247 GB, free: 29.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003556/3.699, allocations: 156.8 kB / 1.247 GB, free: 29.35 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004397/3.7, allocations: 322.2 kB / 1.248 GB, free: 28.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/3.7, allocations: 38.56 kB / 1.248 GB, free: 28.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 3.697e-06/3.7, allocations: 3.938 kB / 1.248 GB, free: 28.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.001524/3.701, allocations: 433.5 kB / 1.248 GB, free: 28.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/3.701, allocations: 166.2 kB / 1.248 GB, free: 28.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000649/3.702, allocations: 387 kB / 1.249 GB, free: 27.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.934e-05/3.702, allocations: 33.7 kB / 1.249 GB, free: 27.88 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/3.702, allocations: 361.7 kB / 1.249 GB, free: 27.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/3.703, allocations: 130.2 kB / 1.249 GB, free: 27.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/3.703, allocations: 12 kB / 1.249 GB, free: 27.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.281e-05/3.703, allocations: 330.8 kB / 1.25 GB, free: 27.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/3.703, allocations: 137.1 kB / 1.25 GB, free: 26.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000457/3.704, allocations: 349.6 kB / 1.25 GB, free: 26.46 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004588/3.704, allocations: 195.9 kB / 1.25 GB, free: 26.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/3.704, allocations: 0 / 1.25 GB, free: 26.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00134/3.705, allocations: 0.5334 MB / 1.251 GB, free: 25.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/3.705, allocations: 12 kB / 1.251 GB, free: 25.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/3.705, allocations: 8 kB / 1.251 GB, free: 25.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002283/3.708, allocations: 236.6 kB / 1.251 GB, free: 25.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007855/3.709, allocations: 131.8 kB / 1.251 GB, free: 25.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005213/3.709, allocations: 0.5953 MB / 1.252 GB, free: 24.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007723/3.71, allocations: 71.48 kB / 1.252 GB, free: 24.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/3.71, allocations: 55.98 kB / 1.252 GB, free: 24.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001782/3.71, allocations: 132.8 kB / 1.252 GB, free: 24.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/3.71, allocations: 55.38 kB / 1.252 GB, free: 24.41 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002343/3.713, allocations: 0.6624 MB / 1.253 GB, free: 23.73 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/3.713, allocations: 4 kB / 1.253 GB, free: 23.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/3.713, allocations: 0 / 1.253 GB, free: 23.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/3.713, allocations: 3.984 kB / 1.253 GB, free: 23.72 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002863/3.716, allocations: 1.473 MB / 1.254 GB, free: 22.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/3.716, allocations: 8.312 kB / 1.254 GB, free: 22.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/3.716, allocations: 67.91 kB / 1.254 GB, free: 22.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00217/3.718, allocations: 244.5 kB / 1.254 GB, free: 21.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/3.719, allocations: 12 kB / 1.254 GB, free: 21.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004952/3.719, allocations: 0.5797 MB / 1.255 GB, free: 21.17 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/3.719, allocations: 4 kB / 1.255 GB, free: 21.17 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/3.72, allocations: 0.6771 MB / 1.256 GB, free: 20.38 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002515/3.721, allocations: 136.4 kB / 1.256 GB, free: 20.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/3.721, allocations: 15.95 kB / 1.256 GB, free: 20.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005735/3.721, allocations: 27.89 kB / 1.256 GB, free: 20.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/3.722, allocations: 39.89 kB / 1.256 GB, free: 20.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.36e-05/3.722, allocations: 31.98 kB / 1.256 GB, free: 20.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005333/3.722, allocations: 309.6 kB / 1.256 GB, free: 19.81 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/3.722, allocations: 0 / 1.256 GB, free: 19.81 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002497/3.725, allocations: 0.4915 MB / 1.257 GB, free: 19.32 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004722/3.729, allocations: 3.191 MB / 1.26 GB, free: 16.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001242/3.731, allocations: 385.7 kB / 1.26 GB, free: 15.67 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/3.731, allocations: 0 / 1.26 GB, free: 15.67 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004467/3.731, allocations: 184.2 kB / 1.26 GB, free: 15.49 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/3.734, allocations: 285.3 kB / 1.261 GB, free: 15.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/3.744, allocations: 2.369 MB / 1.263 GB, free: 12.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/3.745, allocations: 0.8791 MB / 1.264 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007126/3.746, allocations: 247.3 kB / 1.264 GB, free: 11.62 MB / 490.7 MB Notification: Performance of SimCode: time 1.313e-06/3.746, allocations: 0 / 1.264 GB, free: 11.62 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.721/7.466, allocations: 22.15 MB / 1.286 GB, free: 77.62 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.Bend_res.mat does not exist to compare? outputFormat=mat