Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.987/1.987, allocations: 209.4 MB / 216.9 MB, free: 6.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.761e-05/2.78e-05, allocations: 2.109 kB / 267.6 MB, free: 5.336 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 48.7 MB / 316.3 MB, free: 4.543 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.039/2.156, allocations: 0.6055 GB / 0.9144 GB, free: 52.22 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/2.157, allocations: 87.77 kB / 0.9145 GB, free: 52.17 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.475/3.631, allocations: 234.7 MB / 1.144 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.624e-06/3.631, allocations: 1.094 kB / 1.144 GB, free: 71.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.891e-05/3.631, allocations: 16.73 kB / 1.144 GB, free: 71.04 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.002737/3.634, allocations: 0.9602 MB / 1.145 GB, free: 70.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/3.634, allocations: 9.312 kB / 1.145 GB, free: 70.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/3.636, allocations: 138.8 kB / 1.145 GB, free: 70.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/3.637, allocations: 0.5171 MB / 1.145 GB, free: 70.42 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.311e-05/3.637, allocations: 19.67 kB / 1.145 GB, free: 70.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.641e-05/3.637, allocations: 27.84 kB / 1.145 GB, free: 70.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001043/3.638, allocations: 385.4 kB / 1.146 GB, free: 70.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/3.64, allocations: 494.5 kB / 1.146 GB, free: 70.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/3.64, allocations: 0.6562 kB / 1.146 GB, free: 70.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.713e-05/3.64, allocations: 2.625 kB / 1.146 GB, free: 70.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.858e-05/3.64, allocations: 14.17 kB / 1.146 GB, free: 70.27 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.003868/3.644, allocations: 2.559 MB / 1.149 GB, free: 68.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005798/3.644, allocations: 229.9 kB / 1.149 GB, free: 68.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/3.644, allocations: 131.3 kB / 1.149 GB, free: 68.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004783/3.645, allocations: 319.7 kB / 1.149 GB, free: 68.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/3.645, allocations: 38.69 kB / 1.149 GB, free: 68.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 3.297e-06/3.645, allocations: 0 / 1.149 GB, free: 68.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.004185/3.649, allocations: 0.7505 MB / 1.15 GB, free: 68.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/3.649, allocations: 139.8 kB / 1.15 GB, free: 67.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006432/3.65, allocations: 362.5 kB / 1.151 GB, free: 67.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.931e-05/3.65, allocations: 29.86 kB / 1.151 GB, free: 67.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/3.65, allocations: 345.4 kB / 1.151 GB, free: 67.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/3.65, allocations: 104.3 kB / 1.151 GB, free: 67.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/3.65, allocations: 3.812 kB / 1.151 GB, free: 67.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.079e-05/3.651, allocations: 330 kB / 1.151 GB, free: 67.26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/3.651, allocations: 142.8 kB / 1.152 GB, free: 67.26 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004571/3.651, allocations: 310.2 kB / 1.152 GB, free: 67.06 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003662/3.655, allocations: 0.6316 MB / 1.152 GB, free: 67.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/3.655, allocations: 1.594 kB / 1.152 GB, free: 67.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.004594/3.66, allocations: 0.9422 MB / 1.153 GB, free: 67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/3.66, allocations: 7.938 kB / 1.153 GB, free: 67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/3.66, allocations: 9.188 kB / 1.153 GB, free: 67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003111/3.66, allocations: 47.77 kB / 1.153 GB, free: 66.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009315/3.661, allocations: 145.6 kB / 1.154 GB, free: 66.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005666/3.667, allocations: 17.16 MB / 1.17 GB, free: 49.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009351/3.668, allocations: 62.39 kB / 1.17 GB, free: 49.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/3.668, allocations: 49.91 kB / 1.17 GB, free: 49.4 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.0003121/3.668, allocations: 156.7 kB / 1.171 GB, free: 49.29 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003955/3.672, allocations: 0.7597 MB / 1.171 GB, free: 49.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/3.672, allocations: 47.06 kB / 1.171 GB, free: 49.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/3.675, allocations: 0.6051 MB / 1.172 GB, free: 49.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/3.675, allocations: 7.922 kB / 1.172 GB, free: 49.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/3.675, allocations: 0 / 1.172 GB, free: 49.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/3.675, allocations: 0 / 1.172 GB, free: 49.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002695/3.678, allocations: 1.07 MB / 1.173 GB, free: 48.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/3.678, allocations: 3.969 kB / 1.173 GB, free: 48.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003673/3.678, allocations: 51.45 kB / 1.173 GB, free: 48.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002221/3.678, allocations: 52.05 kB / 1.173 GB, free: 48.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/3.678, allocations: 5.344 kB / 1.173 GB, free: 48.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006125/3.679, allocations: 0.5937 MB / 1.174 GB, free: 48.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/3.679, allocations: 3.5 kB / 1.174 GB, free: 48.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/3.681, allocations: 0.6062 MB / 1.174 GB, free: 47.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002549/3.681, allocations: 142.9 kB / 1.174 GB, free: 47.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/3.681, allocations: 6.375 kB / 1.174 GB, free: 47.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005396/3.682, allocations: 26.34 kB / 1.174 GB, free: 47.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.759e-05/3.682, allocations: 28.53 kB / 1.175 GB, free: 47.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.575e-05/3.682, allocations: 16.98 kB / 1.175 GB, free: 47.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000513/3.683, allocations: 295.5 kB / 1.175 GB, free: 47.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/3.683, allocations: 3.469 kB / 1.175 GB, free: 47.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00267/3.685, allocations: 446 kB / 1.175 GB, free: 47.45 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.005563/3.691, allocations: 2.907 MB / 1.178 GB, free: 45.97 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001177/3.692, allocations: 339 kB / 1.178 GB, free: 45.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/3.692, allocations: 0 / 1.178 GB, free: 45.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000321/3.692, allocations: 115.2 kB / 1.179 GB, free: 45.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/3.694, allocations: 211.8 kB / 1.179 GB, free: 45.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/3.705, allocations: 2.472 MB / 1.181 GB, free: 45.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/3.706, allocations: 0.8661 MB / 1.182 GB, free: 44.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006595/3.706, allocations: 223.6 kB / 1.182 GB, free: 44.86 MB / 426.7 MB Notification: Performance of SimCode: time 1.232e-06/3.706, allocations: 0 / 1.182 GB, free: 44.86 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.26/6.967, allocations: 26.57 MB / 1.208 GB, free: 43.67 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat does not exist to compare? outputFormat=mat