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.995/1.995, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.733e-05/2.744e-05, allocations: 4 kB / 267.6 MB, free: 5.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1497, allocations: 48.7 MB / 316.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.932/2.081, allocations: 0.6075 GB / 0.9164 GB, free: 49.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/2.082, allocations: 83.2 kB / 0.9164 GB, free: 49.85 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553/3.634, allocations: 278.5 MB / 1.188 GB, free: 67.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.513e-06/3.634, allocations: 0 / 1.188 GB, free: 67.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.222e-05/3.635, allocations: 15.59 kB / 1.188 GB, free: 67.61 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.004024/3.639, allocations: 1.237 MB / 1.19 GB, free: 66.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/3.639, allocations: 11.16 kB / 1.19 GB, free: 66.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001742/3.64, allocations: 152.6 kB / 1.19 GB, free: 66.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/3.642, allocations: 0.5247 MB / 1.19 GB, free: 66.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/3.642, allocations: 12.56 kB / 1.19 GB, free: 66.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.539e-05/3.642, allocations: 27.64 kB / 1.19 GB, free: 66.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001001/3.643, allocations: 433.1 kB / 1.191 GB, free: 66.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/3.644, allocations: 0.5329 MB / 1.191 GB, free: 66.49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/3.644, allocations: 4.703 kB / 1.191 GB, free: 66.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.569e-05/3.644, allocations: 3.781 kB / 1.191 GB, free: 66.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/3.644, allocations: 11.75 kB / 1.191 GB, free: 66.48 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.003709/3.648, allocations: 2.551 MB / 1.194 GB, free: 64.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/3.648, allocations: 222.2 kB / 1.194 GB, free: 64.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/3.649, allocations: 124.3 kB / 1.194 GB, free: 64.81 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004204/3.649, allocations: 322.8 kB / 1.194 GB, free: 64.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/3.649, allocations: 44.11 kB / 1.195 GB, free: 64.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 3.166e-06/3.649, allocations: 3.125 kB / 1.195 GB, free: 64.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.003861/3.653, allocations: 0.757 MB / 1.195 GB, free: 64.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/3.653, allocations: 161.3 kB / 1.195 GB, free: 64.22 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005759/3.654, allocations: 394.5 kB / 1.196 GB, free: 64.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.815e-05/3.654, allocations: 29.61 kB / 1.196 GB, free: 64.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/3.654, allocations: 366 kB / 1.196 GB, free: 63.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/3.654, allocations: 119.3 kB / 1.196 GB, free: 63.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/3.654, allocations: 0 / 1.196 GB, free: 63.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.854e-05/3.654, allocations: 323.5 kB / 1.197 GB, free: 63.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/3.654, allocations: 126.2 kB / 1.197 GB, free: 63.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003997/3.655, allocations: 346 kB / 1.197 GB, free: 63.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003282/3.658, allocations: 0.6004 MB / 1.198 GB, free: 63.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/3.658, allocations: 2.5 kB / 1.198 GB, free: 63.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.004021/3.662, allocations: 0.9366 MB / 1.199 GB, free: 63.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/3.662, allocations: 11.7 kB / 1.199 GB, free: 63.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/3.662, allocations: 3.75 kB / 1.199 GB, free: 63.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002774/3.663, allocations: 54.12 kB / 1.199 GB, free: 63.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006962/3.663, allocations: 129 kB / 1.199 GB, free: 63.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006294/3.664, allocations: 0.6169 MB / 1.199 GB, free: 62.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007178/3.665, allocations: 60.56 kB / 1.199 GB, free: 62.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/3.665, allocations: 58.06 kB / 1.199 GB, free: 62.55 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.0001634/3.665, allocations: 123.9 kB / 1.2 GB, free: 62.43 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003715/3.669, allocations: 0.7675 MB / 1.2 GB, free: 62.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/3.669, allocations: 57.58 kB / 1.2 GB, free: 62.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002412/3.671, allocations: 0.601 MB / 1.201 GB, free: 62.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/3.671, allocations: 0 / 1.201 GB, free: 62.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/3.671, allocations: 3.75 kB / 1.201 GB, free: 62.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/3.671, allocations: 7.859 kB / 1.201 GB, free: 62.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002567/3.674, allocations: 1.079 MB / 1.202 GB, free: 61.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/3.674, allocations: 3.125 kB / 1.202 GB, free: 61.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003313/3.674, allocations: 53.05 kB / 1.202 GB, free: 61.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001949/3.675, allocations: 52.27 kB / 1.202 GB, free: 61.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/3.675, allocations: 7.375 kB / 1.202 GB, free: 61.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005499/3.675, allocations: 0.5988 MB / 1.203 GB, free: 61.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/3.675, allocations: 7.312 kB / 1.203 GB, free: 61.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/3.677, allocations: 0.6345 MB / 1.203 GB, free: 60.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003148/3.677, allocations: 182.2 kB / 1.204 GB, free: 60.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/3.677, allocations: 7.875 kB / 1.204 GB, free: 60.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000487/3.678, allocations: 21.59 kB / 1.204 GB, free: 60.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/3.678, allocations: 26.61 kB / 1.204 GB, free: 60.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/3.678, allocations: 15.09 kB / 1.204 GB, free: 60.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004684/3.678, allocations: 319.6 kB / 1.204 GB, free: 60.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/3.678, allocations: 2.875 kB / 1.204 GB, free: 60.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002123/3.681, allocations: 465 kB / 1.204 GB, free: 60.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.005259/3.686, allocations: 3.136 MB / 1.207 GB, free: 58.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009975/3.687, allocations: 332.5 kB / 1.208 GB, free: 58.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/3.687, allocations: 0 / 1.208 GB, free: 58.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003223/3.687, allocations: 121.7 kB / 1.208 GB, free: 58.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/3.69, allocations: 259.6 kB / 1.208 GB, free: 58.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/3.701, allocations: 2.637 MB / 1.211 GB, free: 58.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/3.701, allocations: 0.8758 MB / 1.211 GB, free: 57.67 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007063/3.702, allocations: 241.9 kB / 1.212 GB, free: 57.67 MB / 426.7 MB Notification: Performance of SimCode: time 1.223e-06/3.702, allocations: 0 / 1.212 GB, free: 57.67 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.024/6.725, allocations: 22.2 MB / 1.233 GB, free: 53.37 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