Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.317/2.317, allocations: 235.1 MB / 242.2 MB, free: 15.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.395e-05/3.409e-05, allocations: 4 kB / 299.5 MB, free: 6.504 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3957, allocations: 54.85 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.772/2.168, allocations: 0.613 GB / 0.959 GB, free: 96.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004354/2.168, allocations: 93.06 kB / 0.9591 GB, free: 96.65 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.156/3.324, allocations: 239.9 MB / 1.193 GB, free: 62.49 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.195e-06/3.324, allocations: 0 / 1.193 GB, free: 62.49 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.243e-05/3.324, allocations: 19.98 kB / 1.193 GB, free: 62.47 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.002802/3.327, allocations: 0.9558 MB / 1.194 GB, free: 61.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/3.327, allocations: 12.03 kB / 1.194 GB, free: 61.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/3.329, allocations: 135.2 kB / 1.194 GB, free: 61.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/3.33, allocations: 0.5315 MB / 1.195 GB, free: 60.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/3.33, allocations: 15.95 kB / 1.195 GB, free: 60.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.399e-05/3.33, allocations: 28 kB / 1.195 GB, free: 60.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009405/3.331, allocations: 390.5 kB / 1.195 GB, free: 60.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009792/3.332, allocations: 491.7 kB / 1.196 GB, free: 59.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/3.332, allocations: 7.875 kB / 1.196 GB, free: 59.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-05/3.333, allocations: 4 kB / 1.196 GB, free: 59.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/3.333, allocations: 8 kB / 1.196 GB, free: 59.78 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.003697/3.336, allocations: 2.565 MB / 1.198 GB, free: 57.01 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005123/3.337, allocations: 234.7 kB / 1.199 GB, free: 56.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/3.337, allocations: 128.8 kB / 1.199 GB, free: 56.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003978/3.337, allocations: 321.6 kB / 1.199 GB, free: 56.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/3.338, allocations: 42.52 kB / 1.199 GB, free: 56.22 MB / 490.7 MB Notification: Performance of pre-optimization done (n=30): time 3.216e-06/3.338, allocations: 0 / 1.199 GB, free: 56.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=30): time 0.005304/3.343, allocations: 0.7673 MB / 1.2 GB, free: 55.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/3.343, allocations: 132.5 kB / 1.2 GB, free: 55.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007568/3.344, allocations: 377.1 kB / 1.2 GB, free: 54.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.745e-05/3.344, allocations: 25.7 kB / 1.2 GB, free: 54.88 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000246/3.344, allocations: 303.3 kB / 1.201 GB, free: 54.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/3.344, allocations: 110.4 kB / 1.201 GB, free: 54.46 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/3.344, allocations: 4 kB / 1.201 GB, free: 54.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/3.344, allocations: 350.8 kB / 1.201 GB, free: 54.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004541/3.345, allocations: 165.1 kB / 1.201 GB, free: 53.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005575/3.345, allocations: 333.8 kB / 1.202 GB, free: 53.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005028/3.351, allocations: 0.6398 MB / 1.202 GB, free: 52.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/3.351, allocations: 0 / 1.202 GB, free: 52.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.006866/3.357, allocations: 1.017 MB / 1.203 GB, free: 51.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/3.358, allocations: 7.953 kB / 1.203 GB, free: 51.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/3.358, allocations: 8 kB / 1.203 GB, free: 51.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003565/3.358, allocations: 48.83 kB / 1.203 GB, free: 51.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/3.359, allocations: 156.1 kB / 1.203 GB, free: 51.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008328/3.368, allocations: 22.7 MB / 1.226 GB, free: 27.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/3.369, allocations: 59.5 kB / 1.226 GB, free: 27.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/3.369, allocations: 56.05 kB / 1.226 GB, free: 27.42 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.0003915/3.369, allocations: 156.7 kB / 1.226 GB, free: 27.26 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005599/3.375, allocations: 0.7708 MB / 1.227 GB, free: 26.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/3.375, allocations: 47.44 kB / 1.227 GB, free: 26.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003439/3.379, allocations: 0.6036 MB / 1.227 GB, free: 25.81 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/3.379, allocations: 4 kB / 1.227 GB, free: 25.81 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/3.379, allocations: 3.953 kB / 1.227 GB, free: 25.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/3.379, allocations: 7.984 kB / 1.227 GB, free: 25.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003606/3.382, allocations: 1.069 MB / 1.228 GB, free: 24.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/3.382, allocations: 224 / 1.228 GB, free: 24.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004907/3.383, allocations: 63.86 kB / 1.228 GB, free: 24.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002696/3.383, allocations: 44.83 kB / 1.228 GB, free: 24.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/3.383, allocations: 4 kB / 1.228 GB, free: 24.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008553/3.384, allocations: 0.6147 MB / 1.229 GB, free: 23.87 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/3.384, allocations: 0 / 1.229 GB, free: 23.87 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0024/3.387, allocations: 0.6069 MB / 1.23 GB, free: 23.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002994/3.387, allocations: 148.4 kB / 1.23 GB, free: 23.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/3.387, allocations: 4 kB / 1.23 GB, free: 23.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007663/3.388, allocations: 27.97 kB / 1.23 GB, free: 22.98 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/3.388, allocations: 27.92 kB / 1.23 GB, free: 22.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.294e-05/3.388, allocations: 12 kB / 1.23 GB, free: 22.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006432/3.389, allocations: 306.9 kB / 1.23 GB, free: 22.65 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.11e-07/3.389, allocations: 4 kB / 1.23 GB, free: 22.64 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00355/3.392, allocations: 447.2 kB / 1.23 GB, free: 22.21 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.007219/3.4, allocations: 2.91 MB / 1.233 GB, free: 19.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001446/3.401, allocations: 355.7 kB / 1.234 GB, free: 18.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/3.401, allocations: 4 kB / 1.234 GB, free: 18.87 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004423/3.402, allocations: 125.5 kB / 1.234 GB, free: 18.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/3.404, allocations: 225.7 kB / 1.234 GB, free: 18.53 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/3.418, allocations: 2.465 MB / 1.236 GB, free: 16.01 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/3.419, allocations: 0.8667 MB / 1.237 GB, free: 15.11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001925/3.421, allocations: 176.3 kB / 1.237 GB, free: 14.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006833/3.422, allocations: 203.4 kB / 1.238 GB, free: 14.73 MB / 490.7 MB Notification: Performance of SimCode: time 1.383e-06/3.422, allocations: 0 / 1.238 GB, free: 14.73 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4083/3.83, allocations: 24.07 MB / 1.261 GB, free: 99.07 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002808/3.83, allocations: 197.3 kB / 1.261 GB, free: 98.87 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.676/7.507, allocations: 0 / 1.261 GB, free: 98.87 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat does not exist to compare? outputFormat=mat