Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.435/2.435, allocations: 235.1 MB / 242.3 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.342e-05/2.344e-05, allocations: 4 kB / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3583, allocations: 54.85 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.868/2.227, allocations: 0.6121 GB / 0.9583 GB, free: 62.61 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/2.227, allocations: 88.41 kB / 0.9584 GB, free: 62.56 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.161/3.388, allocations: 234.8 MB / 1.188 GB, free: 34.01 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.542e-06/3.388, allocations: 0 / 1.188 GB, free: 34.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.483e-05/3.388, allocations: 12 kB / 1.188 GB, free: 34 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.002543/3.39, allocations: 0.9597 MB / 1.189 GB, free: 32.99 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/3.391, allocations: 8.031 kB / 1.189 GB, free: 32.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/3.392, allocations: 139.2 kB / 1.189 GB, free: 32.85 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/3.393, allocations: 0.5159 MB / 1.189 GB, free: 32.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/3.393, allocations: 19.95 kB / 1.189 GB, free: 32.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.32e-05/3.393, allocations: 20 kB / 1.189 GB, free: 32.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009235/3.394, allocations: 390.5 kB / 1.19 GB, free: 31.87 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009858/3.395, allocations: 495.6 kB / 1.19 GB, free: 31.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/3.395, allocations: 3.938 kB / 1.19 GB, free: 31.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.8e-05/3.396, allocations: 4 kB / 1.19 GB, free: 31.33 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/3.396, allocations: 11.98 kB / 1.19 GB, free: 31.32 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.003455/3.399, allocations: 2.561 MB / 1.193 GB, free: 28.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004949/3.4, allocations: 230.7 kB / 1.193 GB, free: 28.31 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/3.4, allocations: 132.8 kB / 1.193 GB, free: 28.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000391/3.4, allocations: 317.6 kB / 1.193 GB, free: 27.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/3.4, allocations: 42.52 kB / 1.193 GB, free: 27.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=30): time 2.986e-06/3.4, allocations: 0 / 1.193 GB, free: 27.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=30): time 0.003953/3.404, allocations: 0.7595 MB / 1.194 GB, free: 26.99 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/3.404, allocations: 136.5 kB / 1.194 GB, free: 26.83 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005245/3.405, allocations: 361.1 kB / 1.195 GB, free: 26.47 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/3.405, allocations: 25.7 kB / 1.195 GB, free: 26.44 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/3.405, allocations: 303.3 kB / 1.195 GB, free: 26.13 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.517e-05/3.405, allocations: 98.5 kB / 1.195 GB, free: 26.04 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/3.405, allocations: 0 / 1.195 GB, free: 26.04 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.455e-05/3.405, allocations: 358.8 kB / 1.195 GB, free: 25.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/3.406, allocations: 141.1 kB / 1.195 GB, free: 25.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004104/3.406, allocations: 323.2 kB / 1.196 GB, free: 25.15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003615/3.41, allocations: 0.6164 MB / 1.196 GB, free: 24.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/3.41, allocations: 0 / 1.196 GB, free: 24.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.004496/3.414, allocations: 0.9773 MB / 1.197 GB, free: 23.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/3.414, allocations: 16.05 kB / 1.197 GB, free: 23.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/3.414, allocations: 7.984 kB / 1.197 GB, free: 23.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000293/3.415, allocations: 48.83 kB / 1.197 GB, free: 23.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008918/3.416, allocations: 143.8 kB / 1.198 GB, free: 23.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005159/3.421, allocations: 17.17 MB / 1.214 GB, free: 5.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008612/3.422, allocations: 59.69 kB / 1.214 GB, free: 5.031 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/3.422, allocations: 51.98 kB / 1.214 GB, free: 4.98 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.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.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 (59): * 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): 6 * 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: 6 {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.000284/3.422, allocations: 146.9 kB / 1.215 GB, free: 4.832 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003965/3.426, allocations: 0.763 MB / 1.215 GB, free: 4.059 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/3.426, allocations: 51.39 kB / 1.215 GB, free: 4.008 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/3.429, allocations: 0.5997 MB / 1.216 GB, free: 3.391 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/3.429, allocations: 4 kB / 1.216 GB, free: 3.387 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/3.429, allocations: 0 / 1.216 GB, free: 3.387 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/3.429, allocations: 3.938 kB / 1.216 GB, free: 3.383 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002558/3.431, allocations: 1.062 MB / 1.217 GB, free: 2.219 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/3.431, allocations: 0 / 1.217 GB, free: 2.219 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/3.432, allocations: 59.91 kB / 1.217 GB, free: 2.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002177/3.432, allocations: 48.81 kB / 1.217 GB, free: 2.109 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/3.432, allocations: 7.984 kB / 1.217 GB, free: 2.102 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005869/3.433, allocations: 0.611 MB / 1.218 GB, free: 1.465 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/3.433, allocations: 0 / 1.218 GB, free: 1.465 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/3.434, allocations: 0.6003 MB / 1.218 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/3.434, allocations: 152.3 kB / 1.218 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/3.435, allocations: 4 kB / 1.218 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005263/3.435, allocations: 23.97 kB / 1.218 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.803e-05/3.435, allocations: 27.92 kB / 1.218 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.772e-05/3.435, allocations: 11.98 kB / 1.218 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004345/3.436, allocations: 298.9 kB / 1.219 GB, free: 264 kB / 490.7 MB Notification: Performance of sort global known variables: time 5.51e-07/3.436, allocations: 0 / 1.219 GB, free: 264 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.3577/3.793, allocations: 436.1 kB / 1.219 GB, free: 101.8 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.006259/3.8, allocations: 2.906 MB / 1.222 GB, free: 100.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001237/3.801, allocations: 333.2 kB / 1.222 GB, free: 100.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/3.801, allocations: 1.062 kB / 1.222 GB, free: 100.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003912/3.801, allocations: 116.9 kB / 1.222 GB, free: 100.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/3.804, allocations: 223 kB / 1.223 GB, free: 100.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/3.815, allocations: 2.47 MB / 1.225 GB, free: 100.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/3.816, allocations: 0.8581 MB / 1.226 GB, free: 99.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001413/3.817, allocations: 188.9 kB / 1.226 GB, free: 99.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004931/3.817, allocations: 208.6 kB / 1.226 GB, free: 99.49 MB / 490.7 MB Notification: Performance of SimCode: time 1.162e-06/3.817, allocations: 0 / 1.226 GB, free: 99.49 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08451/3.902, allocations: 23.93 MB / 1.25 GB, free: 98.74 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002894/3.902, allocations: 202 kB / 1.25 GB, free: 98.51 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.76/7.662, allocations: 0 / 1.25 GB, free: 98.51 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.EdgedBend_res.mat does not exist to compare? outputFormat=mat