Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.983/1.983, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.789e-05/3.807e-05, allocations: 8 kB / 273.2 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.12, allocations: 48.7 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2/2.12, allocations: 0.6079 GB / 0.9222 GB, free: 53.64 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003634/2.12, allocations: 87.77 kB / 0.9223 GB, free: 53.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.62/3.741, allocations: 281.6 MB / 1.197 GB, free: 63.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.284e-06/3.741, allocations: 0 / 1.197 GB, free: 63.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.042e-05/3.741, allocations: 12.84 kB / 1.197 GB, free: 63.33 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003905/3.745, allocations: 1.238 MB / 1.198 GB, free: 62.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/3.745, allocations: 7.438 kB / 1.198 GB, free: 62.64 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001467/3.745, allocations: 83.92 kB / 1.199 GB, free: 62.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/3.747, allocations: 156.2 kB / 1.199 GB, free: 62.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/3.748, allocations: 0.5359 MB / 1.199 GB, free: 62.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/3.748, allocations: 34.59 kB / 1.199 GB, free: 62.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/3.748, allocations: 40.88 kB / 1.199 GB, free: 62.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/3.75, allocations: 0.6163 MB / 1.2 GB, free: 62.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/3.75, allocations: 1.594 kB / 1.2 GB, free: 62.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.624e-05/3.75, allocations: 22.34 kB / 1.2 GB, free: 62.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/3.75, allocations: 11.09 kB / 1.2 GB, free: 62.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/3.751, allocations: 468.9 kB / 1.2 GB, free: 62.14 MB / 426.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.003616/3.755, allocations: 2.566 MB / 1.203 GB, free: 60.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008224/3.755, allocations: 290.5 kB / 1.203 GB, free: 60.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/3.756, allocations: 160.8 kB / 1.203 GB, free: 60.44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004708/3.756, allocations: 323.2 kB / 1.204 GB, free: 60.15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/3.756, allocations: 38.25 kB / 1.204 GB, free: 60.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.126e-06/3.756, allocations: 3.219 kB / 1.204 GB, free: 60.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.001463/3.758, allocations: 460 kB / 1.204 GB, free: 60.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/3.758, allocations: 157.7 kB / 1.204 GB, free: 59.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005943/3.758, allocations: 393.6 kB / 1.205 GB, free: 59.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.364e-05/3.759, allocations: 33.11 kB / 1.205 GB, free: 59.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/3.759, allocations: 358.2 kB / 1.205 GB, free: 59.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/3.759, allocations: 132.2 kB / 1.205 GB, free: 59.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/3.759, allocations: 10.47 kB / 1.205 GB, free: 59.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.556e-05/3.759, allocations: 330.3 kB / 1.205 GB, free: 59.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/3.759, allocations: 131.9 kB / 1.206 GB, free: 59.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000461/3.76, allocations: 355.8 kB / 1.206 GB, free: 58.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/3.76, allocations: 188.1 kB / 1.206 GB, free: 58.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/3.76, allocations: 0 / 1.206 GB, free: 58.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001294/3.762, allocations: 0.5371 MB / 1.207 GB, free: 58.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/3.762, allocations: 10.62 kB / 1.207 GB, free: 58.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/3.762, allocations: 7.188 kB / 1.207 GB, free: 58.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002177/3.764, allocations: 240.9 kB / 1.207 GB, free: 58.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007326/3.765, allocations: 135.7 kB / 1.207 GB, free: 58.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004899/3.765, allocations: 0.5836 MB / 1.208 GB, free: 58.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007127/3.766, allocations: 69.89 kB / 1.208 GB, free: 58.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/3.766, allocations: 58.17 kB / 1.208 GB, free: 58.16 MB / 426.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.0001762/3.766, allocations: 139.7 kB / 1.208 GB, free: 58.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/3.766, allocations: 53.27 kB / 1.208 GB, free: 58.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/3.769, allocations: 0.6496 MB / 1.209 GB, free: 57.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/3.769, allocations: 3.375 kB / 1.209 GB, free: 57.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/3.769, allocations: 2.156 kB / 1.209 GB, free: 57.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/3.769, allocations: 6.281 kB / 1.209 GB, free: 57.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/3.771, allocations: 1.472 MB / 1.21 GB, free: 57.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/3.771, allocations: 0 / 1.21 GB, free: 57.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004418/3.772, allocations: 81.14 kB / 1.21 GB, free: 57.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002066/3.774, allocations: 229.9 kB / 1.21 GB, free: 57.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.547e-05/3.774, allocations: 18.7 kB / 1.21 GB, free: 57.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004151/3.774, allocations: 0.582 MB / 1.211 GB, free: 56.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/3.774, allocations: 7.375 kB / 1.211 GB, free: 56.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/3.776, allocations: 0.6777 MB / 1.212 GB, free: 56.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003166/3.776, allocations: 186.6 kB / 1.212 GB, free: 56.15 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/3.776, allocations: 10.53 kB / 1.212 GB, free: 56.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005494/3.777, allocations: 32.78 kB / 1.212 GB, free: 56.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.777e-05/3.777, allocations: 35.67 kB / 1.212 GB, free: 56.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.665e-05/3.777, allocations: 30.94 kB / 1.212 GB, free: 56.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000477/3.777, allocations: 314.5 kB / 1.212 GB, free: 56.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/3.777, allocations: 0 / 1.212 GB, free: 56.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002374/3.78, allocations: 0.4884 MB / 1.213 GB, free: 55.96 MB / 426.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.004953/3.785, allocations: 3.187 MB / 1.216 GB, free: 54.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001317/3.786, allocations: 382.2 kB / 1.216 GB, free: 54.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/3.786, allocations: 3.938 kB / 1.216 GB, free: 54.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000457/3.787, allocations: 188.5 kB / 1.216 GB, free: 54.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/3.789, allocations: 286.4 kB / 1.217 GB, free: 54.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/3.8, allocations: 2.379 MB / 1.219 GB, free: 53.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/3.8, allocations: 0.8766 MB / 1.22 GB, free: 52.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007456/3.801, allocations: 237.6 kB / 1.22 GB, free: 52.85 MB / 426.7 MB Notification: Performance of SimCode: time 1.643e-06/3.801, allocations: 0 / 1.22 GB, free: 52.85 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.039/6.841, allocations: 22.17 MB / 1.242 GB, free: 47.67 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat does not exist to compare? outputFormat=mat