Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.253/2.253, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.062e-05/2.076e-05, allocations: 0 / 267.6 MB, free: 5.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1159, allocations: 48.69 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.045/2.161, allocations: 0.6064 GB / 0.9153 GB, free: 51.08 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/2.162, allocations: 91 kB / 0.9153 GB, free: 51.03 MB / 426.7 MB Error: Variable fitting1.geometry in package ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend is not constant. Error: Variable fitting2.geometry in package ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend is not constant. Notification: Performance of FrontEnd - DAE generated: time 1.508/3.67, allocations: 239.8 MB / 1.149 GB, free: 72.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.663e-06/3.67, allocations: 0 / 1.149 GB, free: 72.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.171e-05/3.67, allocations: 17.42 kB / 1.149 GB, free: 72.48 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002919/3.673, allocations: 0.9639 MB / 1.15 GB, free: 72.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/3.673, allocations: 9.5 kB / 1.15 GB, free: 72.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/3.674, allocations: 133.1 kB / 1.151 GB, free: 72.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/3.676, allocations: 0.5298 MB / 1.151 GB, free: 71.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/3.676, allocations: 16.28 kB / 1.151 GB, free: 71.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.708e-05/3.676, allocations: 22.91 kB / 1.151 GB, free: 71.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001058/3.677, allocations: 397.5 kB / 1.152 GB, free: 71.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/3.678, allocations: 499.6 kB / 1.152 GB, free: 71.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/3.678, allocations: 5.062 kB / 1.152 GB, free: 71.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.513e-05/3.678, allocations: 1.281 kB / 1.152 GB, free: 71.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/3.678, allocations: 11.94 kB / 1.152 GB, free: 71.71 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.003962/3.682, allocations: 2.564 MB / 1.155 GB, free: 70 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005494/3.683, allocations: 225 kB / 1.155 GB, free: 69.97 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/3.683, allocations: 132.5 kB / 1.155 GB, free: 69.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000443/3.683, allocations: 326.7 kB / 1.155 GB, free: 69.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/3.683, allocations: 41.03 kB / 1.155 GB, free: 69.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 3.497e-06/3.683, allocations: 2.625 kB / 1.155 GB, free: 69.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.003983/3.687, allocations: 0.7607 MB / 1.156 GB, free: 69.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/3.688, allocations: 133.8 kB / 1.156 GB, free: 69.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006106/3.688, allocations: 378.7 kB / 1.156 GB, free: 69.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/3.688, allocations: 25.7 kB / 1.156 GB, free: 69.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/3.688, allocations: 348.1 kB / 1.157 GB, free: 69.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.879e-05/3.689, allocations: 105.7 kB / 1.157 GB, free: 69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/3.689, allocations: 0 / 1.157 GB, free: 69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.116e-05/3.689, allocations: 331.5 kB / 1.157 GB, free: 68.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003316/3.689, allocations: 161 kB / 1.157 GB, free: 68.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004311/3.689, allocations: 334.2 kB / 1.158 GB, free: 68.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003588/3.693, allocations: 0.6395 MB / 1.158 GB, free: 68.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/3.693, allocations: 5.781 kB / 1.158 GB, free: 68.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.004645/3.698, allocations: 0.9944 MB / 1.159 GB, free: 68.44 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/3.698, allocations: 5.875 kB / 1.159 GB, free: 68.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/3.698, allocations: 5.688 kB / 1.159 GB, free: 68.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002996/3.698, allocations: 52.97 kB / 1.159 GB, free: 68.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009372/3.699, allocations: 153.8 kB / 1.159 GB, free: 68.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007596/3.707, allocations: 22.69 MB / 1.182 GB, free: 45.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009166/3.708, allocations: 63.64 kB / 1.182 GB, free: 45.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/3.708, allocations: 56.19 kB / 1.182 GB, free: 45.14 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.K:VARIABLE(unit = "m" ) = fitting1.geometry.K "Absolute roughness, with a default for a smooth steel pipe" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.delta:VARIABLE(unit = "rad" ) = fitting1.geometry.delta "Angle of turning" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.R_0:VARIABLE(min = 0.0 unit = "m" ) = fitting1.geometry.R_0 "Curvature radius" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.d_hyd:VARIABLE(min = 0.0 unit = "m" ) = fitting1.geometry.d_hyd "Hydraulic diameter" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.K:VARIABLE(unit = "m" ) = fitting2.geometry.K "Absolute roughness, with a default for a smooth steel pipe" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.delta:VARIABLE(unit = "rad" ) = fitting2.geometry.delta "Angle of turning" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.R_0:VARIABLE(min = 0.0 unit = "m" ) = fitting2.geometry.R_0 "Curvature radius" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.d_hyd:VARIABLE(min = 0.0 unit = "m" ) = fitting2.geometry.d_hyd "Hydraulic diameter" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * 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: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 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.000327/3.708, allocations: 144.1 kB / 1.182 GB, free: 45.03 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003808/3.712, allocations: 0.7778 MB / 1.183 GB, free: 44.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/3.712, allocations: 49.06 kB / 1.183 GB, free: 44.94 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/3.715, allocations: 0.6043 MB / 1.183 GB, free: 44.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/3.715, allocations: 3.812 kB / 1.183 GB, free: 44.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/3.715, allocations: 3.938 kB / 1.183 GB, free: 44.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/3.715, allocations: 0 / 1.183 GB, free: 44.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002619/3.717, allocations: 1.08 MB / 1.184 GB, free: 44.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/3.717, allocations: 3.875 kB / 1.184 GB, free: 44.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003524/3.718, allocations: 53.25 kB / 1.184 GB, free: 44.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002032/3.718, allocations: 50.17 kB / 1.184 GB, free: 44.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/3.718, allocations: 3.812 kB / 1.184 GB, free: 44.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005897/3.719, allocations: 0.6104 MB / 1.185 GB, free: 43.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/3.719, allocations: 3.469 kB / 1.185 GB, free: 43.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/3.72, allocations: 0.608 MB / 1.186 GB, free: 43.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002931/3.721, allocations: 157.2 kB / 1.186 GB, free: 43.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/3.721, allocations: 3.094 kB / 1.186 GB, free: 43.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005345/3.721, allocations: 22.77 kB / 1.186 GB, free: 43.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.57e-05/3.721, allocations: 25.58 kB / 1.186 GB, free: 43.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/3.721, allocations: 12.92 kB / 1.186 GB, free: 43.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004926/3.722, allocations: 314 kB / 1.186 GB, free: 43.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.3e-07/3.722, allocations: 0 / 1.186 GB, free: 43.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002605/3.725, allocations: 441.6 kB / 1.187 GB, free: 43.17 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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.005296/3.73, allocations: 2.93 MB / 1.189 GB, free: 41.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001111/3.731, allocations: 359.5 kB / 1.19 GB, free: 41.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/3.731, allocations: 0 / 1.19 GB, free: 41.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003132/3.731, allocations: 121.6 kB / 1.19 GB, free: 41.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/3.733, allocations: 215.6 kB / 1.19 GB, free: 41.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/3.744, allocations: 2.49 MB / 1.193 GB, free: 41.28 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/3.745, allocations: 0.8612 MB / 1.193 GB, free: 40.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007102/3.746, allocations: 231.3 kB / 1.194 GB, free: 40.57 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/3.746, allocations: 0 / 1.194 GB, free: 40.57 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.349/7.095, allocations: 29.07 MB / 1.222 GB, free: 39.22 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat does not exist to compare? outputFormat=mat