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.697/2.697, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.729e-05/2.74e-05, allocations: 4 kB / 299.6 MB, free: 192 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4066, allocations: 54.85 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.06/2.467, allocations: 0.613 GB / 0.9591 GB, free: 61.49 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/2.467, allocations: 90.88 kB / 0.9592 GB, free: 61.44 MB / 490.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.434/3.902, allocations: 240.4 MB / 1.194 GB, free: 27.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.883e-06/3.902, allocations: 0 / 1.194 GB, free: 27.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.454e-05/3.902, allocations: 20 kB / 1.194 GB, free: 27.27 MB / 490.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.003169/3.905, allocations: 0.9558 MB / 1.195 GB, free: 26.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/3.905, allocations: 15.97 kB / 1.195 GB, free: 26.25 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001552/3.905, allocations: 62.52 kB / 1.195 GB, free: 26.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/3.907, allocations: 139.2 kB / 1.195 GB, free: 26.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/3.909, allocations: 0.5354 MB / 1.196 GB, free: 25.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/3.909, allocations: 17.31 kB / 1.196 GB, free: 25.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/3.909, allocations: 24 kB / 1.196 GB, free: 25.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001129/3.91, allocations: 386.5 kB / 1.196 GB, free: 25.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/3.911, allocations: 0.4918 MB / 1.197 GB, free: 24.51 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/3.912, allocations: 3.938 kB / 1.197 GB, free: 24.51 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.525e-05/3.912, allocations: 4 kB / 1.197 GB, free: 24.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/3.912, allocations: 12 kB / 1.197 GB, free: 24.49 MB / 490.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.004281/3.916, allocations: 2.557 MB / 1.199 GB, free: 21.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005882/3.917, allocations: 234.7 kB / 1.199 GB, free: 21.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003096/3.917, allocations: 128.8 kB / 1.199 GB, free: 21.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004747/3.917, allocations: 325.5 kB / 1.2 GB, free: 20.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/3.917, allocations: 35.06 kB / 1.2 GB, free: 20.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=30): time 4.659e-06/3.917, allocations: 4 kB / 1.2 GB, free: 20.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=30): time 0.004988/3.922, allocations: 0.7707 MB / 1.2 GB, free: 20.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/3.923, allocations: 132.5 kB / 1.201 GB, free: 20 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000663/3.923, allocations: 377.1 kB / 1.201 GB, free: 19.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.624e-05/3.923, allocations: 25.7 kB / 1.201 GB, free: 19.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/3.924, allocations: 307.2 kB / 1.201 GB, free: 19.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/3.924, allocations: 102.5 kB / 1.201 GB, free: 19.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/3.924, allocations: 0 / 1.201 GB, free: 19.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/3.924, allocations: 358.8 kB / 1.202 GB, free: 18.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/3.924, allocations: 161.1 kB / 1.202 GB, free: 18.67 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005092/3.925, allocations: 337.8 kB / 1.202 GB, free: 18.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004541/3.929, allocations: 0.6437 MB / 1.203 GB, free: 17.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/3.929, allocations: 0 / 1.203 GB, free: 17.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.005634/3.935, allocations: 1.017 MB / 1.204 GB, free: 16.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/3.935, allocations: 8 kB / 1.204 GB, free: 16.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/3.935, allocations: 7.938 kB / 1.204 GB, free: 16.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003458/3.936, allocations: 52.83 kB / 1.204 GB, free: 16.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/3.937, allocations: 151.8 kB / 1.204 GB, free: 16.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4244/4.361, allocations: 22.68 MB / 1.226 GB, free: 93.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/4.362, allocations: 64.72 kB / 1.226 GB, free: 93.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000224/4.363, allocations: 57.17 kB / 1.226 GB, free: 93.13 MB / 490.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.0004602/4.363, allocations: 158.1 kB / 1.226 GB, free: 93.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/4.363, allocations: 49.39 kB / 1.226 GB, free: 93.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003604/4.367, allocations: 0.6052 MB / 1.227 GB, free: 92.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/4.367, allocations: 3.766 kB / 1.227 GB, free: 92.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/4.367, allocations: 0.5938 kB / 1.227 GB, free: 92.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/4.367, allocations: 5.328 kB / 1.227 GB, free: 92.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003627/4.371, allocations: 1.073 MB / 1.228 GB, free: 92.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/4.371, allocations: 2.719 kB / 1.228 GB, free: 92.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004493/4.371, allocations: 49.05 kB / 1.228 GB, free: 92.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002586/4.372, allocations: 51.17 kB / 1.228 GB, free: 92.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/4.372, allocations: 6.766 kB / 1.228 GB, free: 92.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007179/4.372, allocations: 0.6094 MB / 1.229 GB, free: 91.89 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/4.372, allocations: 2.922 kB / 1.229 GB, free: 91.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/4.374, allocations: 0.6114 MB / 1.229 GB, free: 91.56 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/4.375, allocations: 146.4 kB / 1.23 GB, free: 91.44 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/4.375, allocations: 7.812 kB / 1.23 GB, free: 91.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006269/4.375, allocations: 25.19 kB / 1.23 GB, free: 91.44 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/4.376, allocations: 23.27 kB / 1.23 GB, free: 91.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.353e-05/4.376, allocations: 15.11 kB / 1.23 GB, free: 91.44 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006362/4.376, allocations: 312.4 kB / 1.23 GB, free: 91.35 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.21e-07/4.376, allocations: 3.656 kB / 1.23 GB, free: 91.35 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002828/4.379, allocations: 444.2 kB / 1.23 GB, free: 91.34 MB / 490.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.006634/4.386, allocations: 2.932 MB / 1.233 GB, free: 89.94 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0013/4.387, allocations: 358.7 kB / 1.234 GB, free: 89.94 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/4.387, allocations: 0 / 1.234 GB, free: 89.94 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003607/4.388, allocations: 115.4 kB / 1.234 GB, free: 89.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002279/4.39, allocations: 219 kB / 1.234 GB, free: 89.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/4.402, allocations: 2.465 MB / 1.236 GB, free: 89.65 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/4.403, allocations: 0.8686 MB / 1.237 GB, free: 88.95 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00161/4.404, allocations: 181.6 kB / 1.237 GB, free: 88.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005529/4.405, allocations: 200.9 kB / 1.238 GB, free: 88.92 MB / 490.7 MB Notification: Performance of SimCode: time 1.393e-06/4.405, allocations: 0 / 1.238 GB, free: 88.92 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1027/4.508, allocations: 24.45 MB / 1.261 GB, free: 88.06 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002954/4.508, allocations: 199.8 kB / 1.262 GB, free: 87.79 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.534/9.043, allocations: 0 / 1.262 GB, free: 87.79 MB / 490.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