Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.925/1.925, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.452e-05/2.451e-05, allocations: 0 / 267.6 MB, free: 4.934 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1086, allocations: 48.7 MB / 316.3 MB, free: 4.133 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.959/2.068, allocations: 0.6063 GB / 0.9153 GB, free: 51.64 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/2.068, allocations: 87.83 kB / 0.9153 GB, free: 51.59 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.413/3.481, allocations: 239.8 MB / 1.149 GB, free: 70.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.673e-06/3.481, allocations: 1.688 kB / 1.149 GB, free: 70.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.38e-05/3.481, allocations: 17.88 kB / 1.15 GB, free: 70.36 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.002751/3.484, allocations: 0.9552 MB / 1.15 GB, free: 69.99 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/3.484, allocations: 13.34 kB / 1.15 GB, free: 69.99 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/3.486, allocations: 136.5 kB / 1.151 GB, free: 69.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/3.487, allocations: 0.5284 MB / 1.151 GB, free: 69.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/3.487, allocations: 16.31 kB / 1.151 GB, free: 69.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-05/3.487, allocations: 23.25 kB / 1.151 GB, free: 69.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009909/3.488, allocations: 393.4 kB / 1.152 GB, free: 69.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/3.489, allocations: 0.4924 MB / 1.152 GB, free: 69.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/3.489, allocations: 7.219 kB / 1.152 GB, free: 69.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.517e-05/3.489, allocations: 1 kB / 1.152 GB, free: 69.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/3.489, allocations: 11.28 kB / 1.152 GB, free: 69.59 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.003569/3.493, allocations: 2.566 MB / 1.155 GB, free: 67.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005055/3.493, allocations: 232.1 kB / 1.155 GB, free: 67.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/3.494, allocations: 129.1 kB / 1.155 GB, free: 67.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003975/3.494, allocations: 321.2 kB / 1.155 GB, free: 67.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/3.494, allocations: 37.34 kB / 1.155 GB, free: 67.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 2.635e-06/3.494, allocations: 3.938 kB / 1.155 GB, free: 67.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.003879/3.498, allocations: 0.7588 MB / 1.156 GB, free: 67.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/3.498, allocations: 134.1 kB / 1.156 GB, free: 67.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005405/3.499, allocations: 380 kB / 1.156 GB, free: 67.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/3.499, allocations: 25.7 kB / 1.156 GB, free: 67.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/3.499, allocations: 306.9 kB / 1.157 GB, free: 66.99 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.086e-05/3.499, allocations: 107.2 kB / 1.157 GB, free: 66.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/3.499, allocations: 0 / 1.157 GB, free: 66.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.803e-05/3.499, allocations: 355.3 kB / 1.157 GB, free: 66.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/3.499, allocations: 157.5 kB / 1.157 GB, free: 66.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004544/3.5, allocations: 334 kB / 1.158 GB, free: 66.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003597/3.504, allocations: 0.6379 MB / 1.158 GB, free: 66.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/3.504, allocations: 3.781 kB / 1.158 GB, free: 66.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00441/3.508, allocations: 1.016 MB / 1.159 GB, free: 66.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/3.508, allocations: 6.938 kB / 1.159 GB, free: 66.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/3.508, allocations: 5.312 kB / 1.159 GB, free: 66.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002814/3.508, allocations: 53.31 kB / 1.159 GB, free: 66.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009174/3.509, allocations: 154.5 kB / 1.159 GB, free: 66.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006617/3.516, allocations: 22.71 MB / 1.182 GB, free: 43.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008813/3.517, allocations: 60.31 kB / 1.182 GB, free: 43.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/3.517, allocations: 51.28 kB / 1.182 GB, free: 43.05 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.0003065/3.517, allocations: 158.4 kB / 1.182 GB, free: 42.95 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003684/3.521, allocations: 0.7749 MB / 1.183 GB, free: 42.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/3.521, allocations: 47.06 kB / 1.183 GB, free: 42.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/3.524, allocations: 0.6077 MB / 1.183 GB, free: 42.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/3.524, allocations: 3.312 kB / 1.183 GB, free: 42.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/3.524, allocations: 0 / 1.183 GB, free: 42.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/3.524, allocations: 0 / 1.183 GB, free: 42.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002472/3.526, allocations: 1.076 MB / 1.184 GB, free: 42.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/3.526, allocations: 3.656 kB / 1.184 GB, free: 42.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003549/3.526, allocations: 49.92 kB / 1.184 GB, free: 42.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002012/3.527, allocations: 50.77 kB / 1.184 GB, free: 42.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/3.527, allocations: 6.719 kB / 1.184 GB, free: 42.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005565/3.527, allocations: 0.6115 MB / 1.185 GB, free: 41.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/3.527, allocations: 3.438 kB / 1.185 GB, free: 41.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/3.529, allocations: 0.6092 MB / 1.186 GB, free: 41.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/3.529, allocations: 144.2 kB / 1.186 GB, free: 41.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/3.529, allocations: 3.094 kB / 1.186 GB, free: 41.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005332/3.53, allocations: 27.22 kB / 1.186 GB, free: 41.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.045e-05/3.53, allocations: 28.17 kB / 1.186 GB, free: 41.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/3.53, allocations: 17.81 kB / 1.186 GB, free: 41.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004263/3.53, allocations: 313 kB / 1.186 GB, free: 41.15 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/3.53, allocations: 0 / 1.186 GB, free: 41.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002413/3.533, allocations: 447.3 kB / 1.187 GB, free: 41.09 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.004997/3.538, allocations: 2.911 MB / 1.189 GB, free: 39.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001062/3.539, allocations: 358.9 kB / 1.19 GB, free: 39.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/3.539, allocations: 3.938 kB / 1.19 GB, free: 39.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003101/3.539, allocations: 122 kB / 1.19 GB, free: 39.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/3.541, allocations: 223.4 kB / 1.19 GB, free: 39.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/3.552, allocations: 2.452 MB / 1.193 GB, free: 39.24 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/3.552, allocations: 0.8638 MB / 1.193 GB, free: 38.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001377/3.554, allocations: 196.6 kB / 1.194 GB, free: 38.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004792/3.554, allocations: 199 kB / 1.194 GB, free: 38.51 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/3.554, allocations: 2.156 kB / 1.194 GB, free: 38.51 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08375/3.638, allocations: 24.07 MB / 1.217 GB, free: 37.16 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/3.638, allocations: 195.3 kB / 1.217 GB, free: 36.96 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.562/7.201, allocations: 3.828 kB / 1.217 GB, free: 36.96 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat does not exist to compare? outputFormat=mat