Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.41/2.41, allocations: 235.2 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.36e-05/2.363e-05, allocations: 0 / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3922, allocations: 54.86 MB / 354.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.788/2.18, allocations: 0.613 GB / 0.9591 GB, free: 17.84 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/2.181, allocations: 94.5 kB / 0.9592 GB, free: 17.79 MB / 474.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.499/3.68, allocations: 239.8 MB / 1.193 GB, free: 92.79 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.146e-06/3.68, allocations: 0 / 1.193 GB, free: 92.79 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.846e-05/3.68, allocations: 18.7 kB / 1.193 GB, free: 92.79 MB / 474.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.002737/3.683, allocations: 0.9599 MB / 1.194 GB, free: 92.39 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/3.683, allocations: 7.906 kB / 1.194 GB, free: 92.39 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/3.684, allocations: 142.4 kB / 1.195 GB, free: 92.36 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/3.686, allocations: 0.5407 MB / 1.195 GB, free: 92.12 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/3.686, allocations: 10.78 kB / 1.195 GB, free: 92.12 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.298e-05/3.686, allocations: 22.78 kB / 1.195 GB, free: 92.12 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009366/3.687, allocations: 394 kB / 1.195 GB, free: 92.12 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009998/3.688, allocations: 493.3 kB / 1.196 GB, free: 91.98 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-05/3.688, allocations: 3.969 kB / 1.196 GB, free: 91.98 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.153e-05/3.688, allocations: 0 / 1.196 GB, free: 91.98 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/3.688, allocations: 12.5 kB / 1.196 GB, free: 91.98 MB / 474.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.003504/3.691, allocations: 2.555 MB / 1.198 GB, free: 90.25 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005039/3.692, allocations: 246.5 kB / 1.199 GB, free: 90.22 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/3.692, allocations: 129.8 kB / 1.199 GB, free: 90.21 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004006/3.693, allocations: 320.8 kB / 1.199 GB, free: 89.93 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/3.693, allocations: 39.44 kB / 1.199 GB, free: 89.89 MB / 474.7 MB Notification: Performance of pre-optimization done (n=30): time 2.976e-06/3.693, allocations: 0 / 1.199 GB, free: 89.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=30): time 0.003984/3.697, allocations: 0.766 MB / 1.2 GB, free: 89.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/3.697, allocations: 132.5 kB / 1.2 GB, free: 89.67 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000563/3.697, allocations: 383.7 kB / 1.2 GB, free: 89.56 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/3.697, allocations: 25.7 kB / 1.2 GB, free: 89.53 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/3.698, allocations: 308.3 kB / 1.201 GB, free: 89.38 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.132e-05/3.698, allocations: 100.9 kB / 1.201 GB, free: 89.32 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/3.698, allocations: 0 / 1.201 GB, free: 89.32 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.886e-05/3.698, allocations: 361.3 kB / 1.201 GB, free: 89.01 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/3.698, allocations: 159.8 kB / 1.201 GB, free: 89.01 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004387/3.699, allocations: 329.1 kB / 1.202 GB, free: 88.81 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003635/3.702, allocations: 0.6474 MB / 1.202 GB, free: 88.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/3.702, allocations: 3.5 kB / 1.202 GB, free: 88.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.004548/3.707, allocations: 1.017 MB / 1.203 GB, free: 88.73 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/3.707, allocations: 6.562 kB / 1.203 GB, free: 88.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/3.707, allocations: 8.469 kB / 1.203 GB, free: 88.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002857/3.707, allocations: 46.34 kB / 1.203 GB, free: 88.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009627/3.708, allocations: 153.3 kB / 1.203 GB, free: 88.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006633/3.715, allocations: 22.7 MB / 1.226 GB, free: 65.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008648/3.716, allocations: 63.94 kB / 1.226 GB, free: 65.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/3.716, allocations: 50.2 kB / 1.226 GB, free: 65.43 MB / 474.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.0003074/3.716, allocations: 154.2 kB / 1.226 GB, free: 65.32 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003813/3.72, allocations: 0.768 MB / 1.227 GB, free: 65.26 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/3.72, allocations: 54.77 kB / 1.227 GB, free: 65.23 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/3.723, allocations: 0.6038 MB / 1.227 GB, free: 65.13 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/3.723, allocations: 3.656 kB / 1.227 GB, free: 65.13 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/3.723, allocations: 0 / 1.227 GB, free: 65.13 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/3.723, allocations: 0 / 1.227 GB, free: 65.13 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/3.725, allocations: 1.077 MB / 1.228 GB, free: 64.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/3.725, allocations: 0 / 1.228 GB, free: 64.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/3.726, allocations: 54.94 kB / 1.228 GB, free: 64.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002195/3.726, allocations: 53.75 kB / 1.228 GB, free: 64.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/3.726, allocations: 7.406 kB / 1.228 GB, free: 64.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006409/3.727, allocations: 0.6118 MB / 1.229 GB, free: 64.08 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/3.727, allocations: 3.812 kB / 1.229 GB, free: 64.08 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/3.729, allocations: 0.6084 MB / 1.23 GB, free: 63.74 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/3.729, allocations: 142.9 kB / 1.23 GB, free: 63.62 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/3.729, allocations: 7.859 kB / 1.23 GB, free: 63.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005997/3.73, allocations: 20.7 kB / 1.23 GB, free: 63.62 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.327e-05/3.73, allocations: 28.33 kB / 1.23 GB, free: 63.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.192e-05/3.73, allocations: 15.31 kB / 1.23 GB, free: 63.62 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004885/3.73, allocations: 308.1 kB / 1.23 GB, free: 63.53 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.076e-06/3.73, allocations: 2.625 kB / 1.23 GB, free: 63.53 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002604/3.733, allocations: 451.3 kB / 1.231 GB, free: 63.46 MB / 474.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.00534/3.738, allocations: 2.916 MB / 1.233 GB, free: 61.98 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001146/3.739, allocations: 355.2 kB / 1.234 GB, free: 61.98 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/3.739, allocations: 0 / 1.234 GB, free: 61.98 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003382/3.74, allocations: 118.9 kB / 1.234 GB, free: 61.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/3.742, allocations: 232 kB / 1.234 GB, free: 61.97 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/3.754, allocations: 2.454 MB / 1.236 GB, free: 61.61 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/3.754, allocations: 0.8677 MB / 1.237 GB, free: 60.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001485/3.756, allocations: 192.3 kB / 1.238 GB, free: 60.88 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005064/3.756, allocations: 200.1 kB / 1.238 GB, free: 60.87 MB / 474.7 MB Notification: Performance of SimCode: time 1.874e-06/3.756, allocations: 0 / 1.238 GB, free: 60.87 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09038/3.846, allocations: 24.09 MB / 1.261 GB, free: 59.55 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003577/3.847, allocations: 199.9 kB / 1.261 GB, free: 59.28 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.768/7.615, allocations: 0 / 1.261 GB, free: 59.28 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat does not exist to compare? outputFormat=mat