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 2.073/2.073, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.17e-05/4.187e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.037/2.143, allocations: 0.6079 GB / 0.9222 GB, free: 53.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003627/2.143, allocations: 88.14 kB / 0.9223 GB, free: 53.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.568/3.711, allocations: 281.6 MB / 1.197 GB, free: 63.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.505e-06/3.711, allocations: 0 / 1.197 GB, free: 63.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.195e-05/3.711, allocations: 17.94 kB / 1.197 GB, free: 63.66 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.004027/3.715, allocations: 1.235 MB / 1.198 GB, free: 62.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/3.715, allocations: 10.5 kB / 1.198 GB, free: 62.98 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/3.715, allocations: 86.88 kB / 1.199 GB, free: 62.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/3.717, allocations: 145 kB / 1.199 GB, free: 62.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/3.718, allocations: 0.5325 MB / 1.199 GB, free: 62.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/3.718, allocations: 35.03 kB / 1.199 GB, free: 62.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/3.718, allocations: 41.59 kB / 1.199 GB, free: 62.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/3.72, allocations: 0.6224 MB / 1.2 GB, free: 62.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/3.72, allocations: 0 / 1.2 GB, free: 62.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.633e-05/3.72, allocations: 23.28 kB / 1.2 GB, free: 62.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/3.72, allocations: 15 kB / 1.2 GB, free: 62.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/3.721, allocations: 479.1 kB / 1.2 GB, free: 62.47 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.003753/3.725, allocations: 2.561 MB / 1.203 GB, free: 60.81 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008455/3.726, allocations: 286.8 kB / 1.203 GB, free: 60.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/3.726, allocations: 164.5 kB / 1.203 GB, free: 60.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000439/3.727, allocations: 329.3 kB / 1.204 GB, free: 60.49 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/3.727, allocations: 38.31 kB / 1.204 GB, free: 60.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 4.288e-06/3.727, allocations: 0 / 1.204 GB, free: 60.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.001485/3.728, allocations: 454.7 kB / 1.204 GB, free: 60.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/3.728, allocations: 158.6 kB / 1.204 GB, free: 60.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005972/3.729, allocations: 396.2 kB / 1.205 GB, free: 60.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.61e-05/3.729, allocations: 31.52 kB / 1.205 GB, free: 60.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/3.729, allocations: 363.6 kB / 1.205 GB, free: 59.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/3.729, allocations: 126 kB / 1.205 GB, free: 59.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/3.729, allocations: 7.688 kB / 1.205 GB, free: 59.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.579e-05/3.73, allocations: 332.2 kB / 1.205 GB, free: 59.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/3.73, allocations: 138.2 kB / 1.206 GB, free: 59.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004703/3.73, allocations: 350.8 kB / 1.206 GB, free: 59.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/3.731, allocations: 190.1 kB / 1.206 GB, free: 59.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/3.731, allocations: 6.375 kB / 1.206 GB, free: 59.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001343/3.732, allocations: 0.5537 MB / 1.207 GB, free: 59.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/3.732, allocations: 13.69 kB / 1.207 GB, free: 59.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/3.732, allocations: 3.719 kB / 1.207 GB, free: 59.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002148/3.734, allocations: 239.9 kB / 1.207 GB, free: 59.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000737/3.735, allocations: 135 kB / 1.207 GB, free: 59.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004931/3.736, allocations: 0.5909 MB / 1.208 GB, free: 58.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006957/3.736, allocations: 69.89 kB / 1.208 GB, free: 58.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/3.737, allocations: 56.2 kB / 1.208 GB, free: 58.5 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.0001839/3.737, allocations: 136.7 kB / 1.208 GB, free: 58.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/3.737, allocations: 55.27 kB / 1.208 GB, free: 58.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/3.739, allocations: 0.652 MB / 1.209 GB, free: 58.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/3.739, allocations: 3.875 kB / 1.209 GB, free: 58.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/3.739, allocations: 0 / 1.209 GB, free: 58.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/3.739, allocations: 5.641 kB / 1.209 GB, free: 58.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/3.742, allocations: 1.475 MB / 1.21 GB, free: 57.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/3.742, allocations: 7.562 kB / 1.21 GB, free: 57.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/3.742, allocations: 74.16 kB / 1.21 GB, free: 57.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00207/3.745, allocations: 229.6 kB / 1.21 GB, free: 57.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.013e-05/3.745, allocations: 20.89 kB / 1.21 GB, free: 57.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004345/3.745, allocations: 0.5803 MB / 1.211 GB, free: 57.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/3.745, allocations: 7.875 kB / 1.211 GB, free: 57.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/3.746, allocations: 0.6738 MB / 1.212 GB, free: 56.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003404/3.747, allocations: 189.9 kB / 1.212 GB, free: 56.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/3.747, allocations: 14.03 kB / 1.212 GB, free: 56.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005315/3.747, allocations: 29.58 kB / 1.212 GB, free: 56.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/3.747, allocations: 33.72 kB / 1.212 GB, free: 56.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-05/3.747, allocations: 33.62 kB / 1.212 GB, free: 56.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004822/3.748, allocations: 315.7 kB / 1.212 GB, free: 56.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.61e-07/3.748, allocations: 0 / 1.212 GB, free: 56.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002268/3.75, allocations: 497.5 kB / 1.213 GB, free: 56.3 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.004762/3.755, allocations: 3.176 MB / 1.216 GB, free: 54.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001245/3.756, allocations: 401.9 kB / 1.216 GB, free: 54.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/3.756, allocations: 3.844 kB / 1.216 GB, free: 54.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004541/3.757, allocations: 186.8 kB / 1.216 GB, free: 54.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/3.759, allocations: 279.8 kB / 1.217 GB, free: 54.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/3.77, allocations: 2.39 MB / 1.219 GB, free: 53.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/3.77, allocations: 0.8733 MB / 1.22 GB, free: 53.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007211/3.771, allocations: 241 kB / 1.22 GB, free: 53.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/3.771, allocations: 3.031 kB / 1.22 GB, free: 53.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.084/6.855, allocations: 22.11 MB / 1.242 GB, free: 48.11 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