Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.972/1.972, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.205e-05/2.221e-05, allocations: 0 / 267.6 MB, free: 4.934 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1071, allocations: 48.7 MB / 316.3 MB, free: 4.137 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.073/2.18, allocations: 0.6055 GB / 0.9144 GB, free: 52.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/2.181, allocations: 89.64 kB / 0.9145 GB, free: 52.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.402/3.582, allocations: 234.7 MB / 1.144 GB, free: 71.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.833e-06/3.582, allocations: 2.25 kB / 1.144 GB, free: 71.03 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.589e-05/3.582, allocations: 14.73 kB / 1.144 GB, free: 71.03 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.002926/3.585, allocations: 0.9521 MB / 1.145 GB, free: 70.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/3.585, allocations: 10.59 kB / 1.145 GB, free: 70.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/3.587, allocations: 141.7 kB / 1.145 GB, free: 70.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/3.588, allocations: 0.5185 MB / 1.145 GB, free: 70.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/3.588, allocations: 16.95 kB / 1.145 GB, free: 70.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.131e-05/3.588, allocations: 23.19 kB / 1.145 GB, free: 70.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001026/3.589, allocations: 390 kB / 1.146 GB, free: 70.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/3.59, allocations: 490.1 kB / 1.146 GB, free: 70.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/3.59, allocations: 3.094 kB / 1.146 GB, free: 70.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.595e-05/3.591, allocations: 1.562 kB / 1.146 GB, free: 70.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/3.591, allocations: 14.42 kB / 1.146 GB, free: 70.26 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.003804/3.594, allocations: 2.555 MB / 1.149 GB, free: 68.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005637/3.595, allocations: 233.3 kB / 1.149 GB, free: 68.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/3.595, allocations: 128.8 kB / 1.149 GB, free: 68.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004537/3.596, allocations: 327.4 kB / 1.149 GB, free: 68.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/3.596, allocations: 34 kB / 1.149 GB, free: 68.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 2.855e-06/3.596, allocations: 0 / 1.149 GB, free: 68.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.004126/3.6, allocations: 0.7556 MB / 1.15 GB, free: 68.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/3.6, allocations: 132.8 kB / 1.15 GB, free: 67.97 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006046/3.601, allocations: 367.6 kB / 1.151 GB, free: 67.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/3.601, allocations: 26.48 kB / 1.151 GB, free: 67.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/3.601, allocations: 300.3 kB / 1.151 GB, free: 67.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/3.601, allocations: 108.7 kB / 1.151 GB, free: 67.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/3.601, allocations: 3.219 kB / 1.151 GB, free: 67.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/3.601, allocations: 354.3 kB / 1.151 GB, free: 67.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003393/3.602, allocations: 140.1 kB / 1.152 GB, free: 67.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004395/3.602, allocations: 312.4 kB / 1.152 GB, free: 67.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003578/3.606, allocations: 0.6296 MB / 1.152 GB, free: 67.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/3.606, allocations: 1.156 kB / 1.152 GB, free: 67.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.004629/3.61, allocations: 0.972 MB / 1.153 GB, free: 67.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/3.61, allocations: 7.562 kB / 1.153 GB, free: 67.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/3.61, allocations: 5.125 kB / 1.153 GB, free: 67.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003009/3.611, allocations: 49.69 kB / 1.153 GB, free: 67.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009281/3.612, allocations: 145.8 kB / 1.154 GB, free: 67.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005536/3.617, allocations: 17.16 MB / 1.17 GB, free: 49.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008869/3.618, allocations: 62.39 kB / 1.17 GB, free: 49.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/3.618, allocations: 50.02 kB / 1.17 GB, free: 49.43 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.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.0003003/3.619, allocations: 148.3 kB / 1.171 GB, free: 49.32 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003957/3.623, allocations: 0.7671 MB / 1.171 GB, free: 49.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/3.623, allocations: 46.66 kB / 1.171 GB, free: 49.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/3.625, allocations: 0.6026 MB / 1.172 GB, free: 49.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/3.625, allocations: 7.016 kB / 1.172 GB, free: 49.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/3.625, allocations: 3.375 kB / 1.172 GB, free: 49.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/3.625, allocations: 1.656 kB / 1.172 GB, free: 49.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002744/3.628, allocations: 1.068 MB / 1.173 GB, free: 48.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/3.628, allocations: 1.188 kB / 1.173 GB, free: 48.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/3.628, allocations: 53.72 kB / 1.173 GB, free: 48.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002117/3.629, allocations: 44.17 kB / 1.173 GB, free: 48.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/3.629, allocations: 5.344 kB / 1.173 GB, free: 48.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005883/3.629, allocations: 0.6018 MB / 1.174 GB, free: 48.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/3.629, allocations: 2.781 kB / 1.174 GB, free: 48.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/3.631, allocations: 0.6038 MB / 1.174 GB, free: 47.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002727/3.631, allocations: 146.2 kB / 1.174 GB, free: 47.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/3.631, allocations: 4.5 kB / 1.174 GB, free: 47.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/3.632, allocations: 27.03 kB / 1.174 GB, free: 47.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.919e-05/3.632, allocations: 29.42 kB / 1.175 GB, free: 47.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/3.632, allocations: 16.86 kB / 1.175 GB, free: 47.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004864/3.633, allocations: 293.2 kB / 1.175 GB, free: 47.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/3.633, allocations: 0 / 1.175 GB, free: 47.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002412/3.635, allocations: 454.1 kB / 1.175 GB, free: 47.49 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.005302/3.64, allocations: 2.904 MB / 1.178 GB, free: 46.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001117/3.642, allocations: 336.7 kB / 1.178 GB, free: 46.01 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/3.642, allocations: 0 / 1.178 GB, free: 46.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003057/3.642, allocations: 118.2 kB / 1.179 GB, free: 46.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/3.644, allocations: 217 kB / 1.179 GB, free: 46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/3.655, allocations: 2.452 MB / 1.181 GB, free: 45.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/3.655, allocations: 0.8607 MB / 1.182 GB, free: 44.94 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001382/3.656, allocations: 188.5 kB / 1.182 GB, free: 44.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000469/3.657, allocations: 198.2 kB / 1.182 GB, free: 44.91 MB / 426.7 MB Notification: Performance of SimCode: time 1.272e-06/3.657, allocations: 0 / 1.182 GB, free: 44.91 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09844/3.755, allocations: 23.95 MB / 1.206 GB, free: 43.71 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002606/3.756, allocations: 193.7 kB / 1.206 GB, free: 43.52 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.454/7.21, allocations: 0 / 1.206 GB, free: 43.52 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat does not exist to compare? outputFormat=mat